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

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

 



Shawn wrote:
[snip]

[root@bb197-165 network-scripts]# find -uid 500
.
[root@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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux