owner of /etc /boot and / (related to can't su thread???)
Shawn
javajunkie at koyuru.com
Fri Jul 8 14:46:54 UTC 2005
> >
> > Please see his topic and the link he made with it to the other thread,
> > where he wrote: "I can't su to root anymore."
>
> And note that /bin/su (and similarly, /usr/bin/passwd) are setuid
> programs that need to be owned by root. If they have changed ownership,
> they won't work any more.
>
> Fix for these two specific programs:
> # chown root:root /bin/su /usr/bin/passwd
> # chmod 4755 /bin/su
> # chmod 4511 /usr/bin/passwd
ok
in general is jr:root a pretty odd combination for ownership (jr is a
regular user)
can I assume that things with that combination be changed back
I'll have to go through and find other combinations too but...
going through things
[root at bb197-165 ~]# cd /
[root at bb197-165 /]# ls -la | grep "jr"
drwxr-xr-x 23 jr root 4096 Jul 8 14:39 .
drwxr-xr-x 23 jr root 4096 Jul 8 14:39 ..
drwxr-xr-x 4 jr root 1024 Jul 8 08:28 boot
drwxr-xr-x 81 jr root 12288 Jul 8 23:29 etc
[root at bb197-165 /]# cd boot
[root at bb197-165 boot]# ls -la | grep "jr"
drwxr-xr-x 4 jr root 1024 Jul 8 08:28 .
...
-rw-r--r-- 1 jr root 1405861 Nov 3 2004 vmlinuz-2.6.9-1.667
***amost everything -- will change everything back
[root at bb197-165 boot]# cd /etc
[root at bb197-165 etc]# ls -la | grep "jr"
drwxr-xr-x 81 jr root 12288 Jul 8 23:29 .
drwxr-xr-x 23 jr root 4096 Jul 8 14:39 ..
[root at bb197-165 etc]# find -uid 500
.
./sysconfig/network-scripts
[root at bb197-165 etc]# cd ./sysconfig/network-scripts
[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
Thanks for the help so far
More information about the fedora-list
mailing list