From: Jean Schuller <schuller () crnal4 ! in2p3 ! fr>
To: tru64-unix-managers
Subject: /usr/var/adm/syslog.dated/Day-date
Date: Tue, 05 Nov 1996 08:09:09 +0000 [thread overview]
Message-ID: <96076341621365.tru64-unix-managers.marc@archive.invalid> (raw)
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 <anaru@cns.ed.ac.uk> (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 <lucio@ifctr.mi.cnr.it>
Thomas Leitner <tom@finwds01.tu-graz.ac.at>
Daniel Clar <Daniel.Clar@supelec.fr>
boebion@celfi.phys.univ-tours.fr
Stanley Fung<sfung@mda.ca>
"WHITTAKER, Bruce" <bjw@ansto.gov.au>
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
-----------------------------------------------------------------------------
next reply other threads:[~1996-11-05 8:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-05 8:09 Jean Schuller [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-11-04 10:14 /usr/var/adm/syslog.dated/Day-date Jean Schuller
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox