Operating System - HP-UX
1820479 Members
2627 Online
109624 Solutions
New Discussion юеВ

HP-UX 11.11i untrusted mode

 
Mrunal Nerpawar
Advisor

HP-UX 11.11i untrusted mode

Hi All,

I am trying to get the password last changed for a particular user using
logins -aox | grep command on HP-UX11.11i

In Trusted mode i get the correct value of this parameter, but in untrusted mode i get zeros. Can anyone help me on this.

Can anybody tell me how I can get the correct value of this parameter in untrusted mode?

Thanks in advance.
6 REPLIES 6
whiteknight
Honored Contributor

Re: HP-UX 11.11i untrusted mode


Hi,

If you are not using trusted, i don't think you will have this feature

How does password aging on non-trusted systems work?
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00904837-4

WK
Problem never ends, you must know how to fix it
Bill Hassell
Honored Contributor

Re: HP-UX 11.11i untrusted mode

Untrusted means there are no records or logs kept concerning password changes or previously used password. The only date you have is the password expiration and the minimum time between password changes. This is standard Unix behavior for a simple passwd file for authentication.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: HP-UX 11.11i untrusted mode

Shalom,

passwd -sa


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX 11.11i untrusted mode

Actually on an untrusted system you do have the time of the last password change if you have enabled password aging for a given user BUT you only know the time of the last password change to within 1 week because of the way in which that data are encoded. Man 4 passwd for details.
If it ain't broke, I can fix that.
Mrunal Nerpawar
Advisor

Re: HP-UX 11.11i untrusted mode

Thanks all of you.

Stephenson's comment helped me a lot and i got my issue resiolved.

Thanks again.
whiteknight
Honored Contributor

Re: HP-UX 11.11i untrusted mode

Mrunal,


please take a moment to give them credit for their assistance!

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

WK
Problem never ends, you must know how to fix it