- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- finding forgotten user passwords
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-01-2000 10:01 AM
11-01-2000 10:01 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2000 10:07 AM
11-01-2000 10:07 AM
Re: finding forgotten user passwords
Login as root, and execute
passwd username
Cheers,
Kofi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2000 11:12 AM
11-01-2000 11:12 AM
Re: finding forgotten user passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 12:48 AM
11-02-2000 12:48 AM
SolutionBut to succeed this requires the user with the forgotten password to have chosen a poor password.
Simplifying, this comes near to a brute force method where entries in dictionaries are encrypted using Unix's crypt function and compared against the encrypted string in the 2nd field of /etc/passwd until a match is found.
So the success very much depends on what dictionary libs you are using (preferably those with respect to your locales, language/naming habits etc.)
If you are administering a system with many users who you suspect to lack password conscientiousness it is a good habit to run crack over your passwd or shadow file on a regular basis to sort out weak passwords.
For futher details have a look at
http://ftp.cs.umt.edu/u/wright/494/unixcrack.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 01:45 AM
11-02-2000 01:45 AM
Re: finding forgotten user passwords
if you have a trusted system in /tcb/files/auth there are the directories containing one file per user. Inside you see the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 05:59 AM
11-02-2000 05:59 AM
Re: finding forgotten user passwords
In unix there is no way to see the passwd of a user. You will have to regenerate the passwd for the user using "passwd
Pepe Jimeneze,
Even trusted systems, where you have /tcb/files/auth...filesystem,
no one can see the passwd of the user. There are separate files
per user, but they contain additional information about the user and
ENCRYPTED passwd.
a typical entry in /tcb/files/auth/?/???? will look like:
sysadm:u_name=sysadm:u_id#203:
:u_pwd=jcZTP10dOfIdE:
:u_auditid#10:
:u_auditflag#1:
:u_minchg#0:u_exp#0:u_succhg#967550177:u_pswduser=sysadm:
:u_suclog#968314244:u_suctty=ttyp4:u_unsuclog#968314240:u_unsuctty=ttyp4:
:u_lock@:chkent:
Hence the best way is to give the user a new passwd..and later ask him to change it himself.
Hope this helps...
Suhas...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 06:17 AM
11-02-2000 06:17 AM