[ILUG] quick Debian question
jm at jmason.org
Tue Apr 27 17:53:18 IST 2004
Cian Cullinan writes:
> On Tuesday 27 April 2004 13:08, Niall O Broin wrote:
> : On Tuesday 27 April 2004, brendan.halpin at ul.ie (Brendan Halpin) wrote:
> : >Cian rather tersely gave the best solution earlier: if you're a
> : >user who needs to read logs etc., put yourself in the adm group.
> : >This seems to be used to give read access in lots of places.
> : Perhaps terse, but definitely wrong, given the original question. No
> : amount of adding yourself to groups will let you read files with
> : permissions of 600.
> Yes definitely wrong, sorry for that. Didn't stop and think about the whole
> 600 thing. In my defense on my box (Debian testing) a lot of the log files
> belong to group adm and all of the others are world readable. This was
Actually, no, you're right! The logs *are* 640, group adm, so that works
just fine. (I'd just assumed they were 600 without ls'ing them, my bad).
OK, that makes sense -- and sensible UNIXy design too.
So, to recap: I edited /etc/group, added "jm" to "adm" line, then
logged out and back in again. Works great...
More information about the ILUG