The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Shell script to find when user su'ed to root
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Shell script to find when user su'ed to root
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
03-05-2008
RTM
Hog Hunter
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
grep "\-root" /var/adm/sulog | mailx -s"users su to root"
youremail@yourdomain.com
RTM
View Public Profile
Find all posts by RTM
Find RTM's past nominations received
Find RTM's present nominations given