owner of /etc /boot and / (related to can't su thread???)

Mike McCarty mike.mccarty at sbcglobal.net
Fri Jul 8 17:17:24 UTC 2005


Shawn wrote:
[snip]

>[root at bb197-165 network-scripts]# find -uid 500
>.
>[root at bb197-165 network-scripts]# ls -la | grep "jr"
>drwxr-xr-x  2 jr root  4096 Apr  7 06:03 .
>
>***not so much changed in etc  -- will change everything back
>
>  
>
I wouldn't do it that way. At least on the grep use " jr ".
I'd start first with something like this:

# cd /
# find . -name "*" -print -exec ls -lAdF {} \;  | grep " jr " > fixit
#

I'd then edit up fixit for the parts which looked fixable like this

# grep " root " fixit > fixroot

Then I'd edit up fixroot to have

chown root <full path name here>

# grep -v " jr root " fixit > fixnoroot

This one will take more effort. You'll have to figure out what the
user names should be.

Actually, I think I might go for a re-install.

Mike

-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list