Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'verrrry interesting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
verrrry interesting
Authored by: macubergeek on Mar 09, '02 09:02:13AM

I find this discussion very interesting. I'm a mac guy who got immersed in Solaris at work. In Solaris use of the su command IS logged in /var/log/sulog. I'm wondering why this would be different under Macos x?



[ Reply to This | # ]
verrrry interesting
Authored by: mervTormel on Mar 09, '02 01:26:12PM

sudo, on my rig, logs to /var/log/system.log

from man sudo:
--
sudo can log both successful an unsuccessful attempts (as
well as errors) to syslog(3), a log file, or both. By
default sudo will log via syslog(3) but this is changeable
at configure time.
--

i think you may be able to recompile sudo with some switches to alter the logging mechanisms.

a sudo -L lists the kinds of things compiled into your sudo

-mt



[ Reply to This | # ]
verrrry interesting
Authored by: bakednotfried on Mar 10, '02 02:08:56PM

sure, running the su command is logged, but then you are root and nothing you do from that point on (as root) is logged.

-- mike



[ Reply to This | # ]
solaris sites
Authored by: look on Mar 10, '02 04:05:02PM

I too am a long time 'Mac Guy' with an OT request. I recently have been using more and more Solaris at work and was wondering if you could recommend any websites or publications for an individual with unix knowledge but a more Mac style leaning. Sites like this one or VersionTracker are examples of what I am looking for. Any comments would be gretly appreciated.



[ Reply to This | # ]
verrrry interesting
Authored by: soloha on Mar 16, '02 12:55:27AM

where, whether and at what level logs are sent is determined by the /etc/syslog.conf file which syslogd reads at startup. It could be different for any machine you are on. The syslog.conf man page explains how to change any of the above mentioned logging attributes.



[ Reply to This | # ]