[SLE] Root passwd gone
From: Chaitanya Krishna A (icymist82_at_yahoo.com)
Date: 07/30/05
- Previous message: Mister: "[SLE] Dule boot question"
- Next in thread: Sandy Drobic: "Re: [SLE] Root passwd gone"
- Reply: Sandy Drobic: "Re: [SLE] Root passwd gone"
- Reply: Dylan: "Re: [SLE] Root passwd gone"
- Maybe reply: Chaitanya Krishna A: "Re: [SLE] Root passwd gone"
- Maybe reply: Chaitanya Krishna A: "Re: [SLE] Root passwd gone"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Jul 2005 11:51:24 -0700 (PDT) To: Suse Mailing List <suse-linux-e@suse.com>
Hi,
I wanted to change the file ownership of a directory in root, but by mistake I
gave the following command
# chown -R <username>: /
but Ctrl-C'd after a few seconds, after realising what I have done.
After this I haven't been able to login as root. So I followed the procedure at
http://www.novell.com/coolsolutions/trench/15629.html (viz. put the first CD of
SuSE, rescue system, modify the passwd and shadow files). After I logged in
again as a normal user and tried to login as root, it was still asking me for
the passwd.
Then I again went into rescue system, and then mounted /dev/sda1 where the home
is and then removed the x from the root line. Also I modified the shadow file
so that root looke like this
root::::
After this I again rebooted the system and tried to login, now when I give su,
it says the following.
$ su
su: cannot set groups: Operation not permitted
Now I am not able to login as root into my machine. I am very badly stuck up.
What can I do now?
Regards,
Chaitanya.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Mister: "[SLE] Dule boot question"
- Next in thread: Sandy Drobic: "Re: [SLE] Root passwd gone"
- Reply: Sandy Drobic: "Re: [SLE] Root passwd gone"
- Reply: Dylan: "Re: [SLE] Root passwd gone"
- Maybe reply: Chaitanya Krishna A: "Re: [SLE] Root passwd gone"
- Maybe reply: Chaitanya Krishna A: "Re: [SLE] Root passwd gone"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|