Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change password

Status
Not open for further replies.

shieh

MIS
Sep 17, 2002
30
0
0
US
Has anyone got a C program that changes unix
user password in noninteractive mode.

Thanks in advance.
 
There's a OSF version available for AIX 4.3.3 on the Bull site
I don't know whether it will work on other flavours. It certainly doesn't on AIX 5L

Columb Healy
Living with a seeker after the truth is infinitely preferable to living with one who thinks they've found it.
 
How would you like the program to get the raw
password data? Read from a file with encrypted contents
or read from some other data source: pipe, fifo, socket,
shared memory?

The simplest way is to use Expect:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top