- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: procedures for or software to log system event...
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
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
тАО01-07-2003 10:35 AM
тАО01-07-2003 10:35 AM
procedures for or software to log system events
This could be either taking advantage of a built in feature of HP-UX or by purchasing an outside piece of software to handle it(this is probably the easier option, I would expect).
Any reccomendations or help anyone could provide on this would be greatly appreciated. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2003 10:55 AM
тАО01-07-2003 10:55 AM
Re: procedures for or software to log system events
You can turn on process accounting - something I have never done.
I believe that all users should be kept out of shell prompts. There is no valid reason for a user to be at one, unless of course your user is a developer.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2003 02:22 PM
тАО01-07-2003 02:22 PM
Re: procedures for or software to log system events
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2003 02:45 PM
тАО01-07-2003 02:45 PM
Re: procedures for or software to log system events
http://www.hmdc.harvard.edu/micah_altman/unix/sysacct.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2003 02:45 PM
тАО01-07-2003 02:45 PM
Re: procedures for or software to log system events
turn on Auditing and security via SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 08:58 AM
тАО01-22-2003 08:58 AM
Re: procedures for or software to log system events
Also, if it would hoard resources too badly, is there any 3rd party software anyone can reccomend to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 09:22 AM
тАО01-22-2003 09:22 AM
Re: procedures for or software to log system events
The easiest way is to check the logins , disable the direct logins the users can do su to rot or the oracle to get their work done , this way you can check for su log and atleast know who looged in from where and for how long.
In order to get a comprehensive report for the users you can also turn on the porcess accounting provided you ahve enough space in the root . do a man acccton , this is the file under /usr/sbin/acct ,
The process acoounting can be turned on by /usr/bin/acct/turnacct (on/off) , this will store the log under /var/adm/pacct and can be viewed using acctcom
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 02:39 PM
тАО01-22-2003 02:39 PM
Re: procedures for or software to log system events
http://www.symark.com/powerbroker.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 03:28 PM
тАО01-22-2003 03:28 PM
Re: procedures for or software to log system events
It sounds like users are making mistakes and the system is not setup for good security procedures (permission problems, duplicate root users, etc). Every POSIX (and ksh) shell command can be logged to the file: $HOME/.sh_history by adding this to the end of /etc/profile:
export HISTFILE=$HOME/.sh_history
export HISTSIZE=500
export EDITOR=vi
You can see the login history with the commands: last and lastb. These two commands look at the login history files. Couple that with the contents of each user's .sh_history, you should have a good record of activity.
As mentioned, untrained or inexperienced users should NOT be given a shell prompt but instead, write a menu program to limit the user choices (and therefore potential damage).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 03:32 PM
тАО01-22-2003 03:32 PM
Re: procedures for or software to log system events
I think that the history file is also a good option.
I have also changed the permissions of su on my systems and provided sudo for people. It's more work initially to set up, but is a better option due to auditing and granularity of control.
You may also want to look at putting something into /etc/profile like:
if [ $LOGNAME = "oracle" ] ; then
IP=`who -mR| awk '{FS="(";print $2}'|awk '{FS=")";print $1}'`
DTE=`date`
echo $DTE $IP >> /var/adm/oracle-logins.log
fi
This way it checks everyone, you get the IP address and can do what we do here which is restrict these logins to specific ip ranges or addresses.
The good thing about the log file is that you can see who is using these accounts before actually making any changes.
Hope this helps.
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 11:49 AM
тАО02-26-2003 11:49 AM