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

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



Shawn wrote:

Hello,

quite recently I mistakenly did something like chown -R jr /

and got a few error messages before I could kill the process.

Anyway, does this look odd for ownership

[jr bb497-175 root]$ ls -lat / | grep jr
drwxr-xr-x 81 jr root 12288 Jul 8 14:43 etc
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


Yes, it does.

I wonder if etc and boot shouldn't properly be owned by root?


Everything in my / directory is owned by root.

Dare I try changing them back?


I would at least try. I'd do something like ...

$ su -
# chown root /*
# ls -ld /*
# (verify ownership)
# exit
$ _

It's unlikely to make much difference, since the *group*
is still root, and anything that "logs in" as something other
than root is either going to suid to root, or will log in as
something with root priviledge, or log in as something with
the root as group.

It would just make me a little nervous, anyway.

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!


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