[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: messed-up File Permissions



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 debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"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


Reply to: