On Mon, 28 Oct 2002, Bruce Becker wrote:

> We have set up a 20 node OSCAR cluster using RedHat 7.3 and OSCAR 1.4
> (stable). There are about 10 users, of which I am one. All other users
> are able to ssh into the nodes, withouth having to enter their
> passwords, except me. It is not immediately clear what the difference is
> between them and me. Could you please direct me to a file that could be
> missing or empty, that I can check and fix. Which is the file that sshd
> (or some other daemon) reads when logging into nodes ?

There are two possibilities where this can happen (Jason/Brian -- this
seems like good FAQ fodder):

1. You added yourself (as a user) after the cluster was installed.
Although OSCAR will eventually synchronize your user information with the
rest of the cluster, there is a time delay before your information will
propogate out to the nodes.  For example, your information in /etc/passwd
will not be on oscarnode7, so if you try to ssh out there from the head
node, you'll get a password prompt (one that you won't be able to answer
correctly, I might add).

The solution is to wait for the propogation (I believe the default
propogation is once an hour), or manually force a synchronization by
invoking /opt/opium/bin/sync_users (as root).

2. Your account existed before you installed OSCAR, and you already had
SSH keys in your $HOME/.ssh directory.  OSCAR's automated system for
setting up password-less logins works something like the following: "Oh,
you don't have $HOME/.ssh?  Well let me set it up for you...".  But if it
sees that you *do* have $HOME/.ssh, it assumes that you've already got a
setup that doesn't need to be disturbed (either because OSCAR already set
it up, or because you've got something that you've already setup
manually).

The solution here is either to setup your .ssh manually for password-less
login, or, if you have nothing special in $HOME/.ssh, then remove it and
login to the OSCAR head node (you'll see OSCAR setting it up when you
login).  After that, you should be able to login to the nodes without a
password.

Hope that helps.

{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to