User Tools

Site Tools


commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands [2009/08/17 07:26] – external edit 127.0.0.1commands [2010/05/22 14:19] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
 ==== Add a new user ==== ==== Add a new user ====
-On the head node... create the new user, adding him to the default "users" group+On the head nodecreate the user account
-<code>useradd -g users evilliers</code>+<code># /usr/sbin/adduser jsmith</code>
 Change the user's password: Change the user's password:
-<code>passwd evilliers</code> +<code>passwd jsmith</code> 
- +Sync the changes to disk (Rocks updates autofs and sends config files to compute nodes)
-Add new user to /etc/auto.home +<code># rocks sync users</code>
- +
-Do following to propagate users to nodes: +
-make -C /var/411 force +
-cluster-fork '411get --all' +
-cluster-fork 'service autofs reload'+
  
 +  * Rocks documentation: https://wiki.rocksclusters.org/wiki/index.php/Home_directories
commands.txt · Last modified: 2010/05/22 14:19 by 127.0.0.1