Re: messed-up File Permissions
- From: Alex Samad <alex@xxxxxxxxxxxx>
- Date: Tue, 19 Aug 2008 07:14:42 +1000
On Sun, Aug 17, 2008 at 09:46:53PM -0500, Martin McCormick wrote:
I accidentally made all the files on my system owned byI did this about 2-3 weeks ago, although all to root (damned cold).
me and am trying to get them back to where they should be.
it was only a test machine, just going to build a new one machine
(virtual or real) and copy over the permission
a
Is there any utility that at least gets all the system
files back to proper ownership?
Most everything was owned by root and changing
everything back to that except for user files was easy but the
one thing that doesn't work from a user account is su -
Originally, auth.log reported that unix_ckpwd wasn't
happy and I got that application set back to its correct
permission, but pam_unix still complains. The libraries are set
right, but somewhere is a file with the wrong ownership and no
clue as to what it is.
The /etc/passwd and /etc/shadow files are right.
Is there either a utility that will complain or fix the
permissions?
Surely I am not the first person to do something stupid
like this.
su does work from root to a user ID but not in reverse.
Somewhat embarrassed,
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
--
"I've been talking to Vicente Fox, the new president of Mexico... I know him... to have gas and oil sent to U.S. so we'll not depend on foreign oil..."
- George W. Bush
10/03/2000
From the first Presidential debate
Attachment:
signature.asc
Description: Digital signature
- References:
- messed-up File Permissions
- From: Martin McCormick
- messed-up File Permissions
- Prev by Date: Re: State of 64bit desktop
- Next by Date: Re: Happy birthday, Debian!
- Previous by thread: Re: messed-up File Permissions
- Next by thread: Re: messed-up File Permissions
- Index(es):
Relevant Pages
|