Re: [SLE] Root passwd gone(an addition)
From: Chaitanya Krishna A (icymist82_at_yahoo.com)
Date: 07/30/05
- Previous message: Andre Truter: "[SLE] Problems with Firewire disk in SuSE 9.3"
- In reply to: Sandy Drobic: "Re: [SLE] Root passwd gone"
- Next in thread: Sandy Drobic: "Re: [SLE] Root passwd gone(an addition)"
- Reply: Sandy Drobic: "Re: [SLE] Root passwd gone(an addition)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Jul 2005 13:19:26 -0700 (PDT) To: Sandy Drobic <suse-linux-e@japantest.homelinux.com>
Hi,
I forgot to mention something in the last mail. After giving
# chown -R <username>: /
cd'd to / and then gave an ls, I saw that only the permissions of /dev and /bin
were changed to the <username>. Therefore,
I again gave
# chown -R root:/
and then realised that it would change the permissions of /home, etc and then I
again Ctrl-C'd.
My reply to Sunny's suggestions can be seen below.
> > 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.
>
> [...]
>
> That was thorough, I'll give you that. (^-^)
>
> > Now I am not able to login as root into my machine. I am very badly stuck
> up.
> > What can I do now?
>
> Have you tried to change ownership of some important files back? For example
> in
> /etc the files passwd, group, shadow.
> In fact, you could just boot from rescue disc, make a backup of /etc, and
> then
> as a first step do "chown root /etc /sbin"
Both /etc and /sbin are root:root set to (user:group)
> If you can then boot into the system, have a look at /etc/permissions... It
> is a
> set of files that yast keeps track of to restore proper ownership if it is
> changed. Yast -> Security and Users -> Security Settings.
I can boot into the system, but I can't do anything using Yast coz it needs the
root passwd.
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: Andre Truter: "[SLE] Problems with Firewire disk in SuSE 9.3"
- In reply to: Sandy Drobic: "Re: [SLE] Root passwd gone"
- Next in thread: Sandy Drobic: "Re: [SLE] Root passwd gone(an addition)"
- Reply: Sandy Drobic: "Re: [SLE] Root passwd gone(an addition)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|