HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to capture useradd/userdel activities in s...
Operating System - HP-UX
1834277
Members
2232
Online
110066
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
Forums
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
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
10-05-2010 07:57 AM
10-05-2010 07:57 AM
how to capture useradd/userdel activities in syslog?
how to capture useradd/userdel activities in syslog?
Assuming user login as root on console directly and perform useradd/userdel there.
Thanks
David
Assuming user login as root on console directly and perform useradd/userdel there.
Thanks
David
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2010 04:58 PM
10-05-2010 04:58 PM
Re: how to capture useradd/userdel activities in syslog?
do it in sam/SMH and it is captured in the samlog and smh log
dont do it from the command line.
dont do it from the command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2010 08:09 PM
10-05-2010 08:09 PM
Re: how to capture useradd/userdel activities in syslog?
Probably you may try
user.debug and user.info
Options in syslog.conf(1M)
BR,
Kapil+
user.debug and user.info
Options in syslog.conf(1M)
BR,
Kapil+
I am in this small bowl, I wane see the real world......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2010 12:36 AM
10-06-2010 12:36 AM
Re: how to capture useradd/userdel activities in syslog?
Hi,
if a user logged in as root he always can prevent you from capture the activities.
You can write the activities in a log or history file, but root can always change such files.
But of course, you can try it.
You can configure history for root and define a big number for the history file, so you can grep history or the history file.
You also can create an alias for a command you like to capture and write the actifity in a log file before you execute the command.
HTH
V.
if a user logged in as root he always can prevent you from capture the activities.
You can write the activities in a log or history file, but root can always change such files.
But of course, you can try it.
You can configure history for root and define a big number for the history file, so you can grep history or the history file.
You also can create an alias for a command you like to capture and write the actifity in a log file before you execute the command.
HTH
V.
*** Say 'Thanks' with Kudos ***
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP