Linux Add User
Step # 1: Add a user joe to UNIX/Linux system
If the user name is jsmith:
useradd jsmith
passwd jsmith
mkdir /home/jsmith
chown jsmith:users /home/jsmith
Step # 2: Add a user to samba
Now user jsmith has account on Linux/UNIX box. Use smbpasswd command to specifies that the username following should be added to the local smbpasswd file:
smbpasswd -a joe
smbpasswd jsmith
# smbpasswd -a joe
- Printer-friendly version
- Log in to post comments
- 2718 reads