user name does'nt exist in password file

Discussion in 'Technical' started by sudha, May 29, 2007.

  1. sudha

    sudha New Member

    HI

    when i open a terminal it shows i have no name!@host:~$

    iam not able to view etc password or sudoers file to fix this coz
    it says user id does not exist .i cud'nt able to proceed with any of the command using sudo.

    please help.!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you log in as root?
    What's the output of
    Code:
    ls -l /etc
    ?
     
  3. sudha

    sudha New Member

    u cud not able to login as root
    i tried loggin with the sudo command
    but it says uid does not exist
    also /etc/password file exist
    but i cannot view the content in it
    coz its readonly.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What exactly did you do before this happened for the first time?
     

Share This Page