tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* /usr/var/adm/syslog.dated/Day-date
@ 1996-11-04 10:14 Jean Schuller
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Schuller @ 1996-11-04 10:14 UTC (permalink / raw)
  To: tru64-unix-managers



Hello all,

I have a trivial question :
    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 ??

	TIA     Jean

-----------------------------------------------------------------------------
                                 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
-----------------------------------------------------------------------------


          

^ permalink raw reply	[flat|nested] 2+ messages in thread

* /usr/var/adm/syslog.dated/Day-date
@ 1996-11-05  8:09 Jean Schuller
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Schuller @ 1996-11-05  8:09 UTC (permalink / raw)
  To: tru64-unix-managers


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
-----------------------------------------------------------------------------


          

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-05  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-05  8:09 /usr/var/adm/syslog.dated/Day-date Jean Schuller
  -- strict thread matches above, loose matches on Subject: below --
1996-11-04 10:14 /usr/var/adm/syslog.dated/Day-date Jean Schuller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox