From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f7c4be6654910a3a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-06-03 09:47:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Message-ID: <3CFB9DBA.83E2A9DF@hp.com> From: Ann Majeske X-Mailer: Mozilla 4.78 [en] (X11; U; OSF1 X5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Urgent (Password Date/time) References: <3cfb1e7e_1@news.vo.lu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 03 Jun 2002 16:53:32 GMT NNTP-Posting-Host: 16.140.128.94 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1023123212 16.140.128.94 (Mon, 03 Jun 2002 09:53:32 PDT) NNTP-Posting-Date: Mon, 03 Jun 2002 09:53:32 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:7873 You can use edauth(8) to look at the user's protected password database (prpasswd or auth) entry or you can write a program to get the information with the getespwname(3) routine. >From the prpasswd man page: u_unsucchg The time in this field is a time_t value that indicates the time of the last unsuccessful password change. This field should only be set by programs that can be used to change the account password. This field is ignored if it is set in a template or in the default database. One way to translate the time_t value to a readable format is to write a program that calls the ctime(3) routine. You could also look into writing a perl script to get and translate this data.