[Fwd: Re: [torqueusers] Torque and NIS]
Ashley Wright
a2.wright at qut.edu.au
Wed Jul 13 19:46:14 MDT 2005
Sorry, forgot to include the list.
-------- Original Message --------
Hi Garrick,
Running that command works (I can ssh to the node). I have removed the
password.
[wright4 at node001 wright4]$ getent passwd wright4
wright4:###########:1001:100:Ashley Wright:/home/wright4:/bin/bash
Also the following lines are in /etc/nsswitch.conf:
passwd: files nis
shadow: files nis
group: files nis
I am fairly sure NIS is setup correctly.
Thanks,
Ashley
Garrick Staples wrote:
>On Thu, Jul 14, 2005 at 10:02:03AM +1000, Ashley Wright alleged:
>
>
>>Hi,
>>
>>We have a new cluster I am setting up torque on, we have just recently
>>got NIS working for user authentication. When I run a torque job I get
>>the following on the nodes:
>>
>>07/14/2005 09:01:36;0001; pbs_mom;Svr;pbs_mom;Success (0) in
>>fork_to_user, cannot find user 'wright4' in password file
>>07/14/2005 09:01:36;0001; pbs_mom;Svr;pbs_mom;Inappropriate ioctl for
>>device (25) in req_cpyfile, fork_to_user failed with rc=-15023 'cannot
>>find user 'wright4' in password file' - returning failure
>>
>>Now cause we are using NIS the /etc/passwd file is rather empty. Is it
>>possible for torque to get the information about the user from the NIS
>>database instead of /etc/passwd?
>>
>>
>
>That error message is kind of misleading. It's not really searching
>/etc/passwd, it is just doing a normal getpwnam() call which will go through
>nsswitch.
>
>Assuming Linux...
>Does 'getent passwd wright4' work on that node? If not then your machine isn't
>configured correctly. You need "nis" in the passwd line (and probably other
>lines) of /etc/nsswitch.conf. Also see 'man nsswitch.conf'.
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>torqueusers mailing list
>torqueusers at supercluster.org
>http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
--
Ashley Wright
3864 9264
a2.wright at qut.edu.au
HPC and Research Support Group
Queensland University of Technology (QUT)
More information about the torqueusers
mailing list