Chaitanya Krishna A wrote:
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.
[...] 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" 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. Sandy -- List replies only please! Please address PMs to: news-reply (@) japantest (.) homelinux (.) com