Operating System - HP-UX
1832978 Members
2764 Online
110048 Solutions
New Discussion

Passwd Expiration program

 
Darryl Lauderdale
Occasional Contributor

Passwd Expiration program

Hi Rainer von Bongartz

You wrote a small C program that notify users when their passwd is about to expired. I downloaded the program and sucessfully compiled on an N class 11.11 system. But I am having problem(s). I am not an application programmer. My knowledge of C is very limit.

Would like some help with the following questions:

1. The data concerning date and time of expiration of passwd is not been echo to mailx
2. The user ID is not passed to the "fprintf"

Any help or suggest would be appreciated.
Thanks

Darryl
3 REPLIES 3
Michael Schulte zur Sur
Honored Contributor

Re: Passwd Expiration program

Hi Darryl,

I was looking for the programme, but wasn´t able to file it. Could you please post it as attachment?

thanks,

Michae
Darryl Lauderdale
Occasional Contributor

Re: Passwd Expiration program

Michael;

here is the C program that was posted on the ITRC by Rainer von Bongartz. Let me know if
you are successful.

Darryl
Michael Schulte zur Sur
Honored Contributor

Re: Passwd Expiration program

Hi Darryl,

I did my best and hope, it is sufficient for you. You may compare the sources to see, where I made changes with the user and date/time.

greetings,

Michael