samba
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
samba [2009/11/13 07:59] – 172.26.0.166 | samba [2009/12/07 05:23] – 172.26.14.218 | ||
---|---|---|---|
Line 20: | Line 20: | ||
< | < | ||
# chmod o-rwx,g+s / | # chmod o-rwx,g+s / | ||
- | |||
===== Add users ===== | ===== Add users ===== | ||
- | Add users using useradd, then edit their account | + | Add users in two steps: |
+ | * Unix account (using '' | ||
+ | * Samba account (using swat or '' | ||
+ | |||
+ | <note important> | ||
< | < | ||
In ''/ | In ''/ | ||
Line 34: | Line 38: | ||
# id mkyalo | # id mkyalo | ||
uid=755(mkyalo) gid=755(mkyalo) groups=755(mkyalo), | uid=755(mkyalo) gid=755(mkyalo) groups=755(mkyalo), | ||
+ | Set the user's Unix and Samba passwords: | ||
+ | < | ||
+ | # smbpasswd -a mkyalo</ | ||
+ | |||
===== Sync users and groups ===== | ===== Sync users and groups ===== | ||
It is very important to synchronize the user and group information from the head node to the compute nodes. | It is very important to synchronize the user and group information from the head node to the compute nodes. | ||
< | < | ||
- | This will, among other things: | + | This will automatically: |
* Copy ''/ | * Copy ''/ | ||
* Copy ''/ | * Copy ''/ | ||
* Add NFS automount information to ''/ | * Add NFS automount information to ''/ | ||
- | This is a good thing. | ||
===== Set ACLs ===== | ===== Set ACLs ===== |
samba.txt · Last modified: 2010/05/22 14:19 by 127.0.0.1