Linux / UNIX Tech Support Forum
This is a discussion on [i have no name !!] within the Getting started tutorials forums, part of the Linux Getting Started category; I am having fedora Linux machine and today morning I am not able to login into the machine correctly.When I ...
|
|||||||
| Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am having fedora Linux machine and today morning I am not able to login into the machine correctly.When I login as any user it says:
[i have no name!localhost]$ and also says "user has no uid 502 user has no uid 502" Root is also not working. Any idea???????why is this displaying so?I checked the /etc/passwd file but can see the user with id 502 there? |
| Sponsored Links | ||
|
|
|
|||
|
check your /etc/passwd
"Note that the bash prompt will say I have no name! This is normal because the /etc/passwd file has not been created yet. " shamelessly stolen from the LFS guide. 6.4.*Entering the Chroot Environment your machine could be compromised or you have gone under spirits and/or ghost and the ghost scared your /etc/passwd or /etc/passwd- or /etc/shadow or /etc/shadow- files. read the first 6 sub chapters of chapter 6 this should help. ![]() ghost .... run for your life.....rm the current user. joe@desktop# userdel username (DO NOT PASS OTHER SWITCHES) joe@desktop# useradd username joe@desktop# id root uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(di sk),10(wheel),11(floppy) this is what you must see. and also if some other user has same id as "id root" get a livecd and run chkrootkit and also rkhunter and run a full fledge scan. good luck. 2007 timestamp issue, i guess by now the problem must have got killed with a reinstall, rest of those who will face it for sure? might see how to circumvent this in future. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|