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
> default.
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...
--j.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!