Operating System - HP-UX
1833748 Members
2582 Online
110063 Solutions
New Discussion

Re: Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

 
Abdul Latif Curtay
New Member

Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

I have observed that the value of last successful login time stamp is different in trusted & non-trusted mode in HP-UX. I have created an account on my HP-UX 11.11 system & the time stamp values that I get in trusted mode is 1202423402 & in non-trusted mode is 1199755848. Similar behavious has also been observed on HP-UX 11.23 ia64 systems. Can some one explain me this difference.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

Well the two times are about a month apart:
1202423402
time_t value is: 02/07/08 14:30:02 PST
1199755848
time_t value is: 01/07/08 17:30:48 PST
Abdul Latif Curtay
New Member

Re: Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

Your reply did not answer my question. What I would like to know is why am I getting 2 different values for last successful login time stamp for the same user account in trusted & non-trusted mode. The value for the trusted mode, I have retrieved it from /tcb/files/auth/l/ file and in non-trusted mode I have received it from /var/adm/wtmp file. Why is there an ambiguity.
Wouter Jagers
Honored Contributor

Re: Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

Dennis' post might be a lead, though, no ? Only you can know if these dates mean anything in particular.

The system could for example have been converted to trusted mode between jan.7th and feb.7th ?

A little test could be useful, should there be a 'spare' machine around.

Good luck, let us know what you find out ;-)

Cheers,
Wout



an engineer's aim in a discussion is not to persuade, but to clarify.
Andrew Merritt_2
Honored Contributor

Re: Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

> The value for the trusted mode, I have retrieved it from /tcb/files/auth/l/ file and in non-trusted mode I have received it from /var/adm/wtmp file. Why is there an ambiguity.

I think you've answered your own question.
Once you have converted it to trusted mode, why would the untrusted mode file be updated anymore?

What's the last modification date on the /var/adm/wtmp file?

Andrew
Dennis Handly
Acclaimed Contributor

Re: Difference in last successful login time stamp value in trusted & non-trusted mode on HP-UX 11.i sys

>Andrew: why would the untrusted mode file be updated anymore?

Are the utmp* files only for untrusted?

>What's the last modification date on the /var/adm/wtmp file?

What about wtmps and wtmpx?