- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find the log for changing password?
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
11-08-2001 10:48 PM
11-08-2001 10:48 PM
How to find the log for changing password?
I want to know where and how to find any files that contain the changing password or any commands can do the same so that I can know which account has changed its password in the past.
Thanks very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 03:26 AM
11-09-2001 03:26 AM
Re: How to find the log for changing password?
I am come from ShenZhen China.
You can export the HISTFILE variable,monitoring user activities.
Jackie Xu.
????????????????????????????????????????????????????????????.???????????????????????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 03:36 AM
11-09-2001 03:36 AM
Re: How to find the log for changing password?
if You have global profile for each user, that sets history file in local directory you can grep all those files for passwd command.
for example:
if all your user's account are located in /home, and your history file is named .sw_history in user's home directory, You can issue the command:
find /home -name .sw_history -exec grep passwd {} \;
rgds
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 04:33 AM
11-09-2001 04:33 AM
Re: How to find the log for changing password?
Look at the /var/adm/syslog/syslog.log file
for details of password changes.
Since the file is normally huge for a busy
system, you can simply grep for what you want.
#grep
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 12:20 PM
11-09-2001 12:20 PM
Re: How to find the log for changing password?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 12:47 PM
11-09-2001 12:47 PM
Re: How to find the log for changing password?
If the system is not runinng as Trusted, it would be difficult. User history may help but it wouldn't tell you exactly when the change occurred. Also if the password was changed from root or another ID history wouldn't help a whole lot unless you looked at everyone's. The changed password is in /etc/passwd but without password aging enable there would be no fields here or elsewhere to see it was changed. I don't believe password changes are logged in /var/adm/syslog.log either, at least they aren't be default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2001 06:19 AM
11-11-2001 06:19 AM
Re: How to find the log for changing password?
(run as root - iff you are running on a trusted system)
for i in $(cut -f 1 -d : do
print "${i}:$(/usr/lbin/getprpw -m slogint ${i} | cut -f 2 -d =)"
done
dave