Here is the summary for my original question:
>
>In our system several people have root privileges. I would like to be able
>to tell, from a script, what the login account is of someone who has su's
>to root. Is there any way to do this in SunOS 4.1.3?
>
The most popular answer was that all su's are logged in /var/adm/messages
and I could extract the needed information from that log file. Several
people included some really neat scripts to do it.
There were several suggestions to check out a program called sudo.
There were a number of suggestions to not share the root account.
The simplest suggestion, from Niall O Broin, was to just use "who am i".
I've decided to give this one a try.
Many thanks to all who took the trouble to answer my question:
Michael Bauman bauman@proton.lluma.edu
Roland Bohman rolle@sparcy.stoa.mobitel.telia.se
Martin Espinoza drink@sei.com
Parks Fields parks@xdiv.lanl.gov
David Gillam gillam@dfab.sc.ti.com
Stephan Harris sweh@mpn.com
Raju Krishnamurthy @raju@peq.ecologic.net
Gary Lee rgl@xdiv.lanl.govShaun McGee
smcgee@helios.r07lab.spa.gov
Torsten Metzner tom@plato.uni-paterborn.de
Niall O Broin nobroin@esoc.esa.de
Mike Ordun mro@LANcomp.COM2
Daniel Singer des@cs.duke.edu
Keh Teh teh@chinook.phy.anl.gov
Bill Townsley billt@dat.com
----------------------------------------------------------------------------
Gary P. Carr gcarr@lanl.gov
Staff Member, AOT-6 505-667-5785
Los Alamos National Laboratory (fax) 505-665-0046
----------------------------------------------------------------------------
Status: RO
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:07 CDT