Rocks: Adding a user
Jump to navigation
Jump to search
Add the User
adduser test1When you add a user, make sure to su as the user to setup the RSA ssh keys for passwordless access across the cluster.
su -l test1
# press enter twice *without* entering a password!!Sync user details across the cluster
rocks sync usersDebugging user problems
Can i access all the hosts ok without entering a password?
From the headnode, try and access all the hosts
su -l test1
rocks run host uptimeI'm getting prompted for a password?
Some thing to check if you get prompted for a password:
- Check the /etc/[passwd|group|shadow] files contain the user details?
- If these dont exist, run rocks sync config and check output to make sure 411 is syncing these files
Log in to the compute host as root and try su to the user
- If this works ok, verify the users ~/.ssh/authorized_keys is ok
If the above is ok:
- Is the /home/ directory mountable?
- Manually try mount the /export/home directory
- If this works ok, check the users home directory in /etc/passwd (It should be /home/username)