LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] quick Debian question

[ILUG] quick Debian question

Cian Cullinan cian at medialabeurope.org
Tue Apr 27 13:24:40 IST 2004


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.

reflexion at fee:/var/log$ ls -l
total 2872
-rw-r--r--    1 root     root        49425 Apr 27 13:13 XFree86.0.log
-rw-r--r--    1 root     root        29551 Apr 26 15:27 XFree86.0.log.old
-rw-r-----    1 root     adm         50941 Apr 27 13:17 auth.log
-rw-r-----    1 root     adm        150125 Apr 25 06:47 auth.log.0
-rw-r-----    1 root     adm          5834 Apr 11 06:47 auth.log.1.gz
-rw-rw-r--    1 root     utmp         3840 Apr 26 10:41 btmp
-rw-r-----    1 root     adm          1322 Apr 26 12:25 daemon.log
-rw-r-----    1 root     adm        171020 Apr 24 16:35 daemon.log.0
-rw-r-----    1 root     adm          1550 Apr 10 15:54 daemon.log.1.gz
-rw-r-----    1 root     adm         26665 Apr 27 12:50 debug
-rw-r-----    1 root     adm        150317 Apr 23 15:35 debug.0
-rw-r-----    1 root     adm          2437 Apr 10 15:54 debug.1.gz
-rw-r--r--    1 root     root        11621 Apr 26 12:25 dmesg
drwxr-s---    2 mail     adm          4096 Apr 27 06:25 exim
-rw-r--r--    1 root     root        24024 Apr  8 13:53 faillog
-rw-r--r--    1 root     root          931 Apr  8 13:59 fontconfig.log
drwxr-xr-x    2 root     root         4096 Apr  8 16:59 gdm
-rw-r--r--    1 root     root       328585 Apr  8 13:17 installer.log
-rw-r--r--    1 root     root        33375 Apr  8 13:17 installer.timings
-rw-r-----    1 root     adm        148327 Apr 27 12:50 kern.log
-rw-r-----    1 root     adm        319605 Apr 23 15:36 kern.log.0
-rw-r-----    1 root     adm         32316 Apr 10 16:49 kern.log.1.gz
drwxr-xr-x    2 root     root         4096 Apr  8 13:55 ksymoops
-rw-rw-r--    1 root     utmp       292292 Apr 27 13:16 lastlog
-rw-r--r--    1 root     root            0 Apr 25 06:47 lp-acct
-rw-r--r--    1 root     root            0 Apr 11 06:47 lp-acct.0
-rw-r--r--    1 root     root           30 Apr  8 13:15 lp-acct.1.gz
-rw-r--r--    1 root     root            0 Apr 25 06:47 lp-errs
-rw-r--r--    1 root     root            0 Apr 11 06:47 lp-errs.0
-rw-r--r--    1 root     root           30 Apr  8 13:15 lp-errs.1.gz
-rw-r-----    1 root     adm             0 Apr 25 06:47 lpr.log
-rw-r-----    1 root     adm           161 Apr 25 06:47 lpr.log.0
-rw-r-----    1 root     adm           302 Apr 11 06:47 lpr.log.1.gz
-rw-r--r--    1 root     root            0 Apr  8 13:55 mail.err
-rw-r--r--    1 root     root            0 Apr  8 13:55 mail.info
-rw-r--r--    1 root     root            0 Apr  8 13:55 mail.log
-rw-r--r--    1 root     root            0 Apr  8 13:55 mail.warn
-rw-r-----    1 root     adm        130866 Apr 27 13:05 messages
-rw-r-----    1 root     adm        194596 Apr 25 06:47 messages.0
-rw-r-----    1 root     adm         32479 Apr 11 06:47 messages.1.gz
drwxr-sr-x    2 news     news         4096 Apr  8 13:55 news
-rw-r--r--    1 root     root            0 Apr 25 06:25 scrollkeeper.log
-rw-r--r--    1 root     root            0 Apr 24 06:25 scrollkeeper.log.1
-rw-r--r--    1 root     root            0 Apr 11 06:25 scrollkeeper.log.2
-rw-r-----    1 root     adm         31717 Apr 27 13:17 syslog
-rw-r-----    1 root     adm        145256 Apr 27 06:25 syslog.0
-rw-r-----    1 root     adm          1643 Apr 26 06:25 syslog.1.gz
-rw-r-----    1 root     adm          1233 Apr 25 06:25 syslog.2.gz
-rw-r-----    1 root     adm         31557 Apr 24 06:25 syslog.3.gz
-rw-r-----    1 root     adm          4759 Apr 16 06:25 syslog.4.gz
-rw-r-----    1 root     adm          7779 Apr 15 06:25 syslog.5.gz
-rw-r-----    1 root     adm          4709 Apr 14 06:25 syslog.6.gz
-rw-r-----    1 root     adm          5145 Apr 26 15:28 user.log
-rw-r-----    1 root     adm          7987 Apr 23 19:16 user.log.0
-rw-r-----    1 root     adm          1458 Apr 10 15:54 user.log.1.gz
-rw-r--r--    1 root     root            0 Apr  8 13:55 uucp.log
-rw-rw-r--    1 root     utmp       647040 Apr 27 13:16 wtmp


Cian





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell