I am trying to write a script in Perl that will query the password age of my Unix users and then lock their NT account if the password age on Unix is over a certain limit. I can handle all the NT code, but I am not sure how to retrieve the information from the Unix system. Any suggestions would be welcome. I am still learning Perl so any code examples with explanations would be appreciated.
More specifically, I want to query a Solaris Unix NIS+ system and retreive a list of users and their password age from a Windows NT 4 box. I want to use this information to lock their NT accounts if their password is over a certain age on the Unix system. I have an account that allows access to this information. What would be the best method to establish a connection and then pull the information back to be processed on my NT box?
Wayne E. Oliver
System Administrator
AETC GCCS C4 Systems
DSN 487-7678
Comm: (210) 652-7678