Difference between revisions of "Rocks: Adding a user"
Jump to navigation
Jump to search
(Created page with "== Add the User == <syntaxhighlight> </syntaxhighlight> == Sync user details across the cluster == <syntaxhighlight> </syntaxhighlight> == Debugging user problems == <syntaxhighlight> </syntaxhighlight>") |
|||
| Line 2: | Line 2: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
| + | adduser test1 | ||
| + | </syntaxhighlight> | ||
| + | When you add a user, make sure to su as the user to setup the RSA ssh keys for passwordless access across the cluster. | ||
| + | <syntaxhighlight> | ||
| + | su -l test1 | ||
| + | # press enter twice *without* entering a password!! | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Sync user details across the cluster == | == Sync user details across the cluster == | ||
| − | |||
<syntaxhighlight> | <syntaxhighlight> | ||
| − | + | rocks sync users | |
</syntaxhighlight> | </syntaxhighlight> | ||
== Debugging user problems == | == Debugging user problems == | ||
| + | === Can i access all the hosts ok without entering a password? === | ||
| + | From the headnode, try and access all the hosts | ||
<syntaxhighlight> | <syntaxhighlight> | ||
| + | su -l test1 | ||
| + | rocks run host uptime | ||
| + | </syntaxhighlight> | ||
| − | + | === I'm getting prompted for a password? === | |
| + | Some thing to check if you get prompted for a password: | ||
| + | # | ||
Revision as of 09:39, 4 October 2012
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: