- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Detecting users who have "su"ed to root.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 11:29 AM
12-01-2000 11:29 AM
Detecting users who have "su"ed to root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 11:39 AM
12-01-2000 11:39 AM
Re: Detecting users who have "su"ed to root.
Under /var/adm is sulog...and it shows everyone who did a su
Now under my /var/adm/syslog/syslog.log I also see whenever anyone does a su.....So I do a little script occassionally on this or sulog to check it-example:
cat /var/adm/sulog | grep root$
It looks to see for any line ending in root.....which would mean someone su-d to root...
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 11:42 AM
12-01-2000 11:42 AM
Re: Detecting users who have "su"ed to root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 11:42 AM
12-01-2000 11:42 AM
Re: Detecting users who have "su"ed to root.
There should be a log file in /var/adm called sulog, that might help you.
HTH
Maureen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 11:49 AM
12-01-2000 11:49 AM
Re: Detecting users who have "su"ed to root.
who - what - when
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 12:09 PM
12-01-2000 12:09 PM
Re: Detecting users who have "su"ed to root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2000 09:54 AM
12-02-2000 09:54 AM
Re: Detecting users who have "su"ed to root.
You have a security situation / disaster brewing if your users can su to root ? users will quite happily type rm ?R * and forget where they are and the fact that they are su-ed to root.
If users must have root permissions to carry out certain tasks then you can set them up in restricted SAM or download and install SUDO, which will allow you to set the su commands that a user can run.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/
Basically give your users just enough and no more.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2000 10:55 AM
12-03-2000 10:55 AM
Re: Detecting users who have "su"ed to root.
echo "Here are the su to root list for yesterday" >> /tmp/sec.list
grep `date +%m/%d` /var/adm/sulog|grep -e "-root" >> /tmp/sec.list
mailx -s "su list" sysadmin2 < /tmp/sec.list
rm /tmp/sec.list
~
Rhonda