On Sun, Aug 17, 2008 at 09:46:53PM -0500, Martin McCormick wrote: > I accidentally made all the files on my system owned by > me and am trying to get them back to where they should be. I did this about 2-3 weeks ago, although all to root (damned cold).
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 [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
--
"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
signature.asc
Description: Digital signature

