This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
samba [2009/12/07 08:23] 172.26.14.218 |
samba [2010/05/22 17:19] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
# chmod o-rwx,g+s /export/home/segoli/ICIPE</code> | # chmod o-rwx,g+s /export/home/segoli/ICIPE</code> | ||
===== Add users ===== | ===== Add users ===== | ||
- | Add users in two steps: | + | To use Samba a user must also have a Unix account. Create the Unix account and add the user to any required groups before you attempt to create the Samba account. |
- | * Unix account (using ''useradd'') | + | |
- | * Samba account (using swat or ''smbpasswd'') | + | |
- | + | ||
- | <note important>It is important that you add the Unix account and set the password first, or else Samba will complain!</note> | + | |
+ | Add the user: | ||
<code># useradd mkyalo</code> | <code># useradd mkyalo</code> | ||
In ''/etc/passwd'', add the real name and group to the user's entry. See before and after: | In ''/etc/passwd'', add the real name and group to the user's entry. See before and after: |