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