nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


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.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-11-2007, 04:12 PM
Junior Member
User
 
Join Date: Nov 2007
OS: Debian
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 24-03-2008, 05:45 PM
Member
User
 
Join Date: Mar 2008
OS: Debian, Slackware, LFS
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
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(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.
Reply With Quote
Reply


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 Off



All times are GMT +5.5. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38