LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2006, 11:15 PM   #1
abhi_raj
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
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???????
 
Old 07-19-2006, 11:18 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Could you post the contents of /etc/nsswitch.conf ? This should have settings for kerberos and NIS.
 
Old 07-20-2006, 10:38 AM   #3
torch_l1
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
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
 
Old 07-20-2006, 12:08 PM   #4
abhi_raj
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Question

#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
 
Old 07-20-2006, 12:55 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You should have passwd, group, and shadow entries in there as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant login username prophetk Linux - Newbie 1 06-21-2006 06:49 AM
a RHEL4 box crashed, about LVM jiawj Red Hat 3 02-09-2006 10:11 PM
How to login w/o username and pw liubhs02 Fedora - Installation 1 06-01-2004 09:27 AM
How to login w/o username and pw? liubhs02 Linux - Newbie 2 06-01-2004 08:26 AM
Can't login under any username BrettPower Linux - Software 6 08-20-2003 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration