samba
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| samba [2009/11/12 06:31] – 172.26.0.166 | samba [2010/05/22 14:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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 | + | To use Samba a user must also have a Unix account. Create |
| + | |||
| + | Add the user: | ||
| < | < | ||
| In ''/ | In ''/ | ||
| Line 34: | Line 35: | ||
| # 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 ===== | ||
| Line 120: | Line 124: | ||
| Change the user's passwords by logging into Swat as root. | Change the user's passwords by logging into Swat as root. | ||
| + | |||
| + | ===== Standard Operating Procedure ===== | ||
| + | |||
| + | In order to access Segolip storage on the HPC a user first needs an account on the HPC (user/ | ||
| + | |||
| + | ==== In Windows: | ||
| + | |||
| + | - Click Start -> Run and type: \\hpc.ilri.cgiar.org\groupname (where " | ||
| + | - A message will appear asking for a username and password; enter the details you were given and press enter. | ||
| + | - If your account information is correct you will see a folder appear with your files inside. | ||
| + | - Your connection will remain active until the computer is shut down, restarted, or logged off. | ||
| + | |||
| + | ====On a Macintosh==== | ||
| + | |||
| + | - Click Go -> Connect to Server and type: %%smb:// | ||
| + | - A message will appear asking for a username and password; enter the details you were given and make sure Domain is ILRI, then press enter. | ||
| + | - If your account information is correct you will see a folder appear with your files inside. | ||
| + | - Your connection will remain active until the computer is shut down, restarted, or logged off. | ||
samba.1258007498.txt.gz · Last modified: (external edit)
