LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   The box is not able to determine username while I login other than root on RHEL4 (https://www.linuxquestions.org/questions/linux-general-1/the-box-is-not-able-to-determine-username-while-i-login-other-than-root-on-rhel4-465761/)

abhi_raj 07-19-2006 11:15 PM

The box is not able to determine username while I login other than root on RHEL4
 
hello all!
Iwas having a problem while loging in as non root user my box is unable to get my name when i login intxt mode it give following message:

id: ID cannot find name for user id 512
id: ID cannot find name for user id 512
id: ID cannot find name for groupid 512

[I have noname!@abhi~]$




my box is client of nis aswell as kerbros server.


plz help me to short out he problem ............
and hatsoff for all of u doing good work???????

Matir 07-19-2006 11:18 PM

Could you post the contents of /etc/nsswitch.conf ? This should have settings for kerberos and NIS.

torch_l1 07-20-2006 10:38 AM

Quote:

Originally Posted by Matir
Could you post the contents of /etc/nsswitch.conf ? This should have settings for kerberos and NIS.

Make sure you used adduser first

abhi_raj 07-20-2006 12:08 PM

#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers: files
netmasks: files
networks: files
protocols: files nis
rpc: files
services: files nis

netgroup: files nis

publickey: nisplus

automount: files nis
aliases: files nisplus



this is my /etc/nss.conf file iam still not able to login

Matir 07-20-2006 12:55 PM

You should have passwd, group, and shadow entries in there as well.


All times are GMT -5. The time now is 06:36 PM.