in reply to
/usr/bin/passwd
Take a look at Brink, available from freshmeat. It's a Perl CGI script that changes users passwords from a web page, but the guts of the code would probably do what you want.
Comment on
Re: /usr/bin/passwd
Replies are listed 'Best First'.
RE: Re: /usr/bin/passwd
by
Anonymous Monk
on Aug 03, 2000 at 01:08 UTC
yah iv seen it, but I am kinda scared to trust my perl script to deal directly with the password file which contains. 100's of users.
[reply]
RE: RE: Re: /usr/bin/passwd
by
Merlin83
(Novice)
on Aug 03, 2000 at 02:41 UTC
Brink actually does all it's work on a copy of the passwd (actually shadow) file, but I guess it's still working on the file.
[reply]
In Section
Seekers of Perl Wisdom