It is currently Sat, 25 Oct 2014 09:45:16 GMT



 
Author Message
 sulog trimming
Can someone point me to a script or technique that would help me cleanup
the sulog. We have some systems that we need to cleanup the system logs.

Thanks



 Tue, 19 Mar 2002 03:00:00 GMT   
 sulog trimming
Larry Dunn wrote in comp.unix.solaris:

/var/adm/sulog is opened, appended to, and closed by su whenever
someone tries to use it.  There's no magic involved in cleaning it up,
you can just rotate it like you would any other log.  It's not done
through syslog or anything else special, so you don't need to worry
about sending SIGHUPs around.  There's nothing wrong with "cat
/dev/null > /var/adm/sulog"

There's no way to change what gets put in sulog without hacking su.
Either su uses it (the default) or it does not (comment out the SULOG
line in /etc/default/su if this is the behavior you want).

Mark



 Tue, 19 Mar 2002 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. sulog? WHAT sulog?

2. SULOG equivalent on RH Linux

3. sulog

4. /var/adm/sulog

5. named pipe of /var/adm/sulog

6. sulog

7. Strange sulog.

8. sulog (Linux)

9. limiting ps ; sulog

10. sulog check


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software