From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621365.tru64-unix-managers.marc@archive.invalid> From: Jean Schuller Date: Tue, 05 Nov 1996 08:09:09 +0000 To: tru64-unix-managers Subject: /usr/var/adm/syslog.dated/Day-date X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621365 A great than for all the help I received so fast. My question was : every day, the system creates a directory /usr/var/adm/syslog.dated/Day-date containing the files auth.log daemon.log kern.log lpr.log mail.log syslog.log user.log but this files are automatically protected with -rw-r-----. Is there a way to allow all the users to "read only" one or more of this files without changing every day , "by hand" the mod ?? And one of the solutions (which I tried immediately and it works fine) came from Andrew Gillies (special thanks to him) who suggested : We direct the syslog information wanted (e.g. mail.debug) to a new file (e.g. /usr/public/logs/maillog) that is world readable. This is done using the syslog.conf file (e.g. adding a line like): mail.debug /usr/public/logs/maillog ok, yes, this duplicates information, and yes you have to write your own cron script to do daily/weekly cycles, but that is easy to do.. We took this approach as it was already working on our SUNs and it seemed sensible to do the DECs the same - it keeps public logs away from the system logs. -------------------------------------------------- Thanks also to : Lucio Chiappetti Thomas Leitner Daniel Clar boebion@celfi.phys.univ-tours.fr Stanley Fung "WHITTAKER, Bruce" Kyle_Amon@jabil.com ----------------------------------------------------------------------------- Jean Schuller _/_/_/_/ _/_/_/ _/_/ _/ Centre de Recherches Nucleaires _/ _/ _/ _/ _/_/ Boite Postale 28 - CR 23, Rue du Loess _/ _/_/_/_/ _/ _/ F-67037 STRASBOURG CEDEX - France _/ _/ _/ _/ _/ e-mail : schuller@crnal4.in2p3.fr _/_/_/_/ _/ _/ _/ _/ local : 0388106630 | fax : 0388106234 foreign : 33 388106630 | fax : 33 388106234 -----------------------------------------------------------------------------