Interesting problem. I wonder what permissions your /etc/passwd file have ?
Do you have shadowed passwd too ?
Assuming that you are able to modify the /etc/passwd file, add a line same as
one of the user names and change the user name to root. Also change you uid:gid
to 0:0 , users will be something like 500:500 or there abouts.. change you
login dir as /root.

Or at the linux boot prompt enter linux single
and fix your password file or adduser root .

Hope that ives u some idea
Thanks
shourya


Jayanta Mukherjee wrote:

> Dear Members
>
> I am using Linux SuSe6.1 and facing some acute problem like unable to login
> as root , I can login as different user name. I have checked the etc/passwd
> file and found that root line has been not there in file.  by any means this
> has been deleted or damaged.  Is there any way to recover this w/o
> reinstalling? I donot have any  backup of that file.
> Any help will be appreciated.
> Thanks In Advance
>
> Best Regards
>
> Jayanta
>
> Jayanta Mukherjee
> Vedika Software                Ph   :91-33-2473810
> 5B Sarat Bose Road          Fax :91-33-2479474
> Calcutta-20
> India
> http://www.fact.com.sg
> http://www.allindia.com
>
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/help/faq_list.html

--
_______________________________________________________________
Shourya Sarcar
Student
Department of Computer Science and Engineering
Jadavpur University
Calcutta, India 700 032

Email   : [EMAIL PROTECTED]
Tel     : 91-033-471 0477
Address : 364/3 Netaji Subhas Chandra Bose Road
          Calcutta , India 700 047
_______________________________________________________________






--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html

Reply via email to