Operating System - HP-UX
1827215 Members
2213 Online
109716 Solutions
New Discussion

Re: <username>:XXXXXXXXXXXXX,MNLL:<UID>

 
rajasekar.m
Advisor

<username>:XXXXXXXXXXXXX,MNLL:<UID>

hi,

Editing this passwd file will have no result,
Ex: 2.HCfwHVUOVn.,B1NR = here some base value as u told, but after editing base value also same result for befor editing and after editing , while using sudo logins -a -l (userid).

please give me exact solutions, how to check expiry status of user.
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: <username>:XXXXXXXXXXXXX,MNLL:<UID>

Run the command: /usr/lbin/getprpw

This will show all kinds of information for the user. Have a read through the getprpw man page (if HP-UX 11.11 or higher) for details on everything that is shown.
rajasekar.m
Advisor

Re: <username>:XXXXXXXXXXXXX,MNLL:<UID>

MY server is non-trusted one, also iam using 10.2 version.
Dennis Handly
Acclaimed Contributor

Re: <username>:XXXXXXXXXXXXX,MNLL:<UID>

You can write a program to crack the number after the ",". See passwd(4). That expiration date is:
Max weeks to expire: 13
Min weeks to reset: 3
Weeks since 1970: 1881
Password was reset on: Wed Jan 18 16:00:00 2006
Password expires on: Wed Apr 19 17:00:00 2006

If you remove ",MNLL" the user can login.