- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- log for activities
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
08-07-2006 03:40 AM
08-07-2006 03:40 AM
need your advice.
I have a SAP instance running in a server, and here's what i want to do.
I want to create a log for eveytime SAP is brought down, And in this log I want to register the time and date that this happened and log the user that did it.
Can this be done gurus ?.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 03:45 AM
08-07-2006 03:45 AM
Re: log for activities
Also, you could use SUDO to allow specific users to stop the SAP. In the sudo.log will be the commands, time stamp, and the user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 03:53 AM
08-07-2006 03:53 AM
Re: log for activities
Also, you could use SUDO to allow specific users to stop the SAP. In the sudo.log will be the commands, time stamp, and the user.
yes it does have a log, but it only logs the most recent brought down time. and not a history of them.
What is SUDO?
Let's say that user1 and user2 are the only ones allowed to stop sap, how would i go about to doing this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 03:56 AM
08-07-2006 03:56 AM
Re: log for activities
Allows certain defined users the ability to execute defined commands as superuser.
SUDO is available from HP as a depot binary file. Readily available, no charge.
When the SAP crashes, you will have a log in the SAP activity log file. When a user stops SAP, have the user use SUDO then the command will be logged in the sudoers log file with the timestamp and $LOGNAME.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 03:59 AM
08-07-2006 03:59 AM
Solutionhttp://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/
Study the documentation included with this package; everything will be explained there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 04:06 AM
08-07-2006 04:06 AM
Re: log for activities
The sudo shipped with Internet Express is a bit more reliable than the one on the porting center. The depot has needed dependencies built in.
http://software.hp.com search for Internet Express search for sudo.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 04:11 AM
08-07-2006 04:11 AM
Re: log for activities
Guys can this be done without sudo?
also lets say that I accidentally stop SAP as the root user, would this also be recorded in the sudo log ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 04:19 AM
08-07-2006 04:19 AM
Re: log for activities
Sudo is about as good a solution as you are going to find --- and if you can't trust your admins then SAP start/stop logging may be the least of your problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 05:19 AM
08-07-2006 05:19 AM
Re: log for activities
everyone was a big help
see you later