Results 1 to 10 of 10
I was just installing mplayer when I tried to change the ownership of all the files in the directory but I think I screwed it up. I did "chown -R ...
- 06-10-2005 #1Just Joined!
- Join Date
- Jan 2005
- Posts
- 11
I just did a "chown -R root:root /*" help
I was just installing mplayer when I tried to change the ownership of all the files in the directory but I think I screwed it up. I did "chown -R root:root /*" logged in as root, in the "/usr/local/share/mplayer/" directory and I think it started changing the ownership of the files throughout the system. Now I can't open anything, even the file explorer crashes. How can I fix this. Is there a way to return to the default ownership of the system, or to undo the last command or something.
Any help would be appreciated. I really don't want to reisnstall again. It would be my fifth time reinstalling in the last two weeks.
Thanks.
- 06-10-2005 #2
Yeah, you've changed the entire system's permissions.
Basically, chown -R all of the home directories back to the users, and make sure that the files in /bin, /usr/bin, etc. are all chmod 755.
Then just reset permissions accordlingly whenever you get errors.
- 06-10-2005 #3Just Joined!
- Join Date
- Jan 2005
- Posts
- 11
now I can't authenticate as root
Thanks ....

I did it and it worked, now can run programs and stuff like that but ...
I can't authenticate as root any more. I closed the console window that was opened and when I opened it again and tried authenticating as root it didn't take my password.
Have I messed up the ownership and/or the permissions of a password file or something...
- 06-10-2005 #4
Hmm...probably your /etc/pam.d/su file
- 06-10-2005 #5Just Joined!
- Join Date
- Jan 2005
- Posts
- 11
all files in the "/etc/pam.d/" are owned root:root , including the "su" file
I won't be able to change it anyway because now I can't authenticate as root anymore
Is there anyway to reset the password or anything? Reconfigure Debian or X11 maybe ...
- 06-10-2005 #6
The problem probably is the fact that they are like that. Make sure that it is:
(that is -rw-r--r--).Code:chmod 644
I assume you mean you can'tto login as root, correct?Code:su
Or can you not login to a vt as root either?
- 06-10-2005 #7Just Joined!
- Join Date
- Jan 2005
- Posts
- 11
I can't authenticate as root anywhere
- 06-10-2005 #8
What is the exact error message?
- 06-10-2005 #9Just Joined!
- Join Date
- Jan 2005
- Posts
- 11
krassi@debian:~$ su
Password:
su: Authentication failure
Sorry.
krassi@debian:~$
btw I just logged out and in again and got this too:
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
The sound server will continue, using the null output device.
in an info box
- 06-10-2005 #10Just Joined!
- Join Date
- Jan 2005
- Posts
- 11
Thanks anyway ... I will manage till tomorrow morning and I will probably reinstall.


Reply With Quote
