- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Secure OS Software for Linux
- >
- psacct process accounting misses some commands
Secure OS Software for Linux
1752691
Members
5675
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-09-2010 08:47 PM
03-09-2010 08:47 PM
psacct process accounting misses some commands
Hi
I need to enable some sort of process accounting to track what users are doing.
I am testing psacct, but it does not seem to log all commands.
for example, I just ran:
"echo hacker:x:66:666: etc" >> /etc/passwd
there is no sign of the echo command in lastcomm.
where would I expect this sort of command to show up?
Also there are some application shell scripts that also need ot be recorded. can I get these to be reported via lastcomm?
Thanks
Mark
I need to enable some sort of process accounting to track what users are doing.
I am testing psacct, but it does not seem to log all commands.
for example, I just ran:
"echo hacker:x:66:666: etc" >> /etc/passwd
there is no sign of the echo command in lastcomm.
where would I expect this sort of command to show up?
Also there are some application shell scripts that also need ot be recorded. can I get these to be reported via lastcomm?
Thanks
Mark
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 01:02 AM
03-10-2010 01:02 AM
Re: psacct process accounting misses some commands
The bash shell has several internal commands, "echo" is one of them. The shell can execute internal commands without starting a new process, so the process accounting system never sees them.
To track what happens inside the shell, you will need auditing at the system call and/or filesystem level. With such an audit subsystem properly configured, you would see an audit log message which would contain information like "at
To track what happens inside the shell, you will need auditing at the system call and/or filesystem level. With such an audit subsystem properly configured, you would see an audit log message which would contain information like "at
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP