- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: su without (-) where to check the log?
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
Discussions
Discussions
Forums
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
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-21-2009 07:59 PM
тАО12-21-2009 07:59 PM
su without (-) where to check the log?
How can I check the user's history log who su omitted (-)? The history is not able to capture from root and even user's history log.
Appreciate your kind response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 11:36 PM
тАО12-21-2009 11:36 PM
Re: su without (-) where to check the log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 11:54 PM
тАО12-21-2009 11:54 PM
Re: su without (-) where to check the log?
Sounds like your not set up for the basic history file. For either root or user's .profile and for Korn shell, 'export HISTFILE=.sh_history' should exist. To verify from either, 'env | grep -i his'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 12:40 AM
тАО12-22-2009 12:40 AM
Re: su without (-) where to check the log?
history file was there in the profile of root and even from the normal account, but wonder if someone just su (w/out -) and knows passwd of root, then we cannot ablel to tract down what r the cmds that user's been executed. We're implementing some security root audit from d company.
Hi Dennis,
Yeah, but I noticed the env is still somehow strange for the given values and parameters that was set there.
Is there any possible way that we can still tract who user accnt who su (w/o -) and able to get the history log of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 01:43 AM
тАО12-22-2009 01:43 AM
Re: su without (-) where to check the log?
Not by using the shell history mechanism.
You may want to look into sudo or RBAC.
Some other threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=649574
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1357406
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1342438