From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110726.tru64-unix-managers.marc@archive.invalid> From: ALISON.AYSON () roche ! com Date: Wed, 29 Oct 1997 22:29:00 +0000 To: tru64-unix-managers Subject: SUMMARY (kind of) : how to tell if users passwd has expired X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110726 A while back I posted the question: We have an Alpha 4100 running DU 3.2. The main application running on the Digital Unix box is Lawson which is a financial database application (using Oracle). The users connect to this application with Lawson's client software running on their NT boxes. The problem is when the users password expires on the Digital Unix box. They never see the warnings because they are never directly logged into the Unix box. One day they come in and their password is incorrect because it's expired. Right now they have set password aging to 26 weeks until a solution can be found. Because the database contains financial data the auditors are not happy about this. The application folks have asked if a script can be written which the users can run to let them know if their password is about to expire. Apparently the application has a pulldown menu to which Unix scripts can be added for the user to run. So..is there a utility that can be run to let you know when your password is about to expire? -- Alison Ayson Roche Bioscience Palo Alto, CA I got many responses almost all of which were "we have the same problem, let me know what you find out". Unfortunately I've been fighting fire after fire and have not had a chance to look into this further. A couple of people who responded had some further info/suggestions: >I am in the process of writing such a utility for my site. Since I >have Enchanged Securiy installed, my C program basically does a call >to getprpwnam and prints the expiration time. > >pr = getprpwnam(name); >expiration_time = pr->ufld.fd_schange + pr->ufld.fd_expire; >printf("Password expires at %s\n",ctime(&expiration_time)); > >I'd like to hear what you have found. Please summarize. > > >Ellen Davis >Ellen.Davis@uc.edu and... >hmm you could run weekly reports and send email to them... or force >them just to change their password every month... tell them that on >the 1st of each month they should do it. > >but are you using c2 security -.... >if so Randy Hayman might be able to >point you to a function >because in his zuausr utilities, user_report shows those dates... > > Pam Woods - axsymgr@uaa.alaska.edu So..sorry to take so long to summarize. But I still need to do some more research on this. Thanks to everyone who responded. Alison Ayson Roche Bioscience Palo Alto, CA