nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

[i have no name !!]

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 ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-27-2007, 04:12 PM
Junior Member
User
 
Join Date: Nov 2007
My distro: Debian
Posts: 7
Rep Power: 0
raina_ajeet is on a distinguished road
Default [i have no name !!]

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?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-24-2008, 05:45 PM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Default

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 set the path and also dir and et al right in the bash skel located in /etc/skel edit it. and run the recovery disk be it debian or redhat aka fedora core (ewww) and fix it.
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(sy,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.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +5.5. The time now is 02:20 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36