check to make sure the home directories are being mounted by the compute nodes
via nfs. the reason you cannot log in with ssh keys is they're stored in your
homedir and the compute node isn't mounting it properly.
--Joe
________________________________
From: [EMAIL PROTECTED] on behalf of Joseph Norris
Sent: Mon 9/15/2008 12:26 PM
To: oscar-users@lists.sourceforge.net
Subject: Re: [Oscar-users] user add another question
no question is silly - just the question that is not asked. Here is
what I get when I try to log in as a test user:
[EMAIL PROTECTED] ~]$ ssh oscarnode1
[EMAIL PROTECTED]'s password:
Last login: Fri Sep 12 12:43:02 2008 from madrid.ucmerced.edu
Could not chdir to home directory /home/joseph: No such file or directory
-bash: cd: /home/joseph: No such file or directory
cannot cd to home directory /home/joseph
but this is strange because when I log in as root I can move from head
node to compute node and home has been mounted
Michael Edwards wrote:
> Silly question, when you are prompted for the password to the node,
> can you successfully log in?
>
> Something you can try. Log in as one of the new users, do "rm -rf
> .ssh" in their home directory. Then log out and back in again. You
> should get a lot of spam on the terminal when you log in and then you
> should have a .ssh directory again with dsa and rsa files in it.
>
> If not, then your installation is missing some important scripts for
> some reason.
>
> On Mon, Sep 15, 2008 at 11:59 AM, Joseph Norris <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Michael
>
> They appear to be the same with one exception. The headnode
> passwd file
> does not have this line that the compute nodes have:
>
> nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
>
>
>
>
>
> Joseph Norris wrote:
> > ok - will check - thanks.
> >
> > Michael Edwards wrote:
> >
> >> Joseph,
> >>
> >> You didn't answer my question. You need to check and see if the
> >> /etc/passwd file is the same on the head and compute nodes.
> >>
> >> The keys are probably fine if the home directories are mounted
> on the
> >> nodes.
> >> The .ssh directory should have your keys in it and is part of
> your nfs
> >> mounted home dir.
> >>
> >> If the nfs directory is not mounted, that would cause a password
> >> prompt also.
> >>
> >> Mike Edwards
> >>
> >> On Sun, Sep 14, 2008 at 9:45 PM, DongInn Kim <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> >> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] <mailto:[EMAIL
> PROTECTED]> >>> wrote:
> >>
> >> Hi John,
> >>
> >> All the nodes should have /etc/profile.d/ssh-oscar.{sh,csh}
> >> installed during the oscar installation and they should
> take care
> >> of the ssh key things.
> >>
> >> If ssh-oscar.{sh,csh} is not setup on all the nodes, there
> must be
> >> something wrong.
> >>
> >> Regards,
> >>
> >> - DongInn
> >>
> >>
> >> Joseph Norris wrote:
> >> > Does this have to do with the keys? I think that the keys
> >> should be set
> >> > up so that I do not need a password from head node to compute
> >> node. Thanks.
> >> >
> >> > Michael Edwards wrote:
> >> >> Is the sync files working? Check and see if /etc/passwd and
> >> friends
> >> >> are the head and nodes.
> >> >>
> >> >> On Fri, Sep 12, 2008 at 3:55 PM, Joseph Norris
> >> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] <mailto:[EMAIL
> PROTECTED]> >>
> >> >> <mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>>> wrote:
> >> >>
> >> >> Ok - I am confused
> >> >>
> >> >> When I log into the head node and I take root via
> sudo - I
> >> can ssh to
> >> >> any compute node without a password. However when I
> build
> >> a new user,
> >> >> do the sync of files then sign in - I get a password
> challenge
> >> >> when try
> >> >> to go to a compute node. home is being mounted on each
> >> compute node
> >> >> from the head node - not sure what is happening.
> >> >>
> >> >> thanks.
> >> >>
> >> >> --
> >> >> Joseph Norris
> >> >> Application Developer & Server Administrator
> >> >> 209-228-4576
> >> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] <mailto:[EMAIL
> PROTECTED]> >>
> >> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] <mailto:[EMAIL
> PROTECTED]> >
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] <mailto:[EMAIL
> PROTECTED]> >>>
> >> >>
> >> >>
> >> >>
> >>
> -------------------------------------------------------------------------
> >> >> This SF.Net email is sponsored by the Moblin Your Move
> >> Developer's
> >> >> challenge
> >> >> Build the coolest Linux based applications with
> Moblin SDK
> >> & win
> >> >> great prizes
> >> >> Grand prize is a trip for two to an Open Source event
> >> anywhere in
> >> >> the world
> >> >>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >> >>
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>
> >> >> _______________________________________________
> >> >> Oscar-users mailing list
> >> >> Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>
> >> <mailto:Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>>
> >> >> <mailto:Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>
> >> <mailto:Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>>>
> >> >> https://lists.sourceforge.net/lists/listinfo/oscar-users
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------
> >> >>
> >> >>
> >>
> -------------------------------------------------------------------------
> >> >> This SF.Net email is sponsored by the Moblin Your Move
> >> Developer's challenge
> >> >> Build the coolest Linux based applications with Moblin SDK &
> >> win great prizes
> >> >> Grand prize is a trip for two to an Open Source event
> anywhere
> >> in the world
> >> >>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >> >>
> >>
> ------------------------------------------------------------------------
> >> >>
> >> >> _______________________________________________
> >> >> Oscar-users mailing list
> >> >> Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>
> >> <mailto:Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>>
> >> >> https://lists.sourceforge.net/lists/listinfo/oscar-users
> >> >>
> >> >
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move
> Developer's
> >> challenge
> >> Build the coolest Linux based applications with Moblin SDK
> & win
> >> great prizes
> >> Grand prize is a trip for two to an Open Source event
> anywhere in
> >> the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >> _______________________________________________
> >> Oscar-users mailing list
> >> Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>
> >> <mailto:Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>>
> >> https://lists.sourceforge.net/lists/listinfo/oscar-users
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> >> Build the coolest Linux based applications with Moblin SDK &
> win great prizes
> >> Grand prize is a trip for two to an Open Source event anywhere
> in the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >>
> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Oscar-users mailing list
> >> Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>
> >> https://lists.sourceforge.net/lists/listinfo/oscar-users
> >>
> >>
> >
> >
>
> --
> Joseph Norris
> Application Developer & Server Administrator
> 209-228-4576
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> _______________________________________________
> Oscar-users mailing list
> Oscar-users@lists.sourceforge.net
> <mailto:Oscar-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Oscar-users mailing list
> Oscar-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>
--
Joseph Norris
Application Developer & Server Administrator
209-228-4576
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users