LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2006, 07:00 PM   #1
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Rep: Reputation: 15
I have no name!@********


My server is reporting the above when logging in. Any ideas why?
 
Old 12-18-2006, 07:12 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Because there's a problem with your account (maybe simply access rights to /etc/passwd).
What does "getent passwd yourusername" say?
What are the permissions of /etc/passwd ("stat -c %a /etc/passwd")?

Last edited by unSpawn; 12-18-2006 at 07:20 PM.
 
Old 12-19-2006, 12:46 AM   #3
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
I have no name!@****** ~# getent passwd root
root:x:0:0:root:/root:/sbin/bash
I have no name!@****** ~# stat -c %a /etc/passwd
644
 
Old 12-19-2006, 07:23 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
No, the "I have no name!@" part is a produced error, not your username.
For " yourusername" substitute your username, the one you log in as.
 
Old 12-19-2006, 07:35 AM   #5
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
I don't understand. You want me to put in place of yourusername the login username of the account with the problem? If so then I am as I am logging in as 'root'.
 
Old 12-19-2006, 08:24 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uh. Misread. You're right. It shows you logging in as root. How do you log in? SSH? Local? Any error preceding the "I have no name" part? Using any auth methods like LDAP? When did this error start ocurring? What changes where made before it ocurred? (Minor nit: the shell location seems wrong (should be /bin/bash by default on GNU/Linux systems) though why that is not keeping you from logging in I can't see....)
 
  


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 Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 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