Hey all, I have just finally finished a WWW based Perl program that can add/delete and change users password from a WWW based script. I have tried to make this script as secure as I can. The script can modify the /etc/passwd files.... has any one seen a script like this before?
Thx, Dan -----Original Message----- From: zentara [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 December 2001 9:17 AM To: [EMAIL PROTECTED] Subject: Re: Can I use PERL to add/remove /etc/passwd entries On Tue, 11 Dec 2001 13:24:58 -0700, [EMAIL PROTECTED] (Joshua Colson) wrote: >I'm curious to know if someone could point me in the right direction to find >out how to manipulate the /etc/passwd file and/or the /etc/shadow file. > >I know about getpwent, getpwnam, getpwuid, but these just let me recreate >the structure of the file, I want to be able to modify it. Mostly to change >the GCOS fields, and occasionally to rename a user. Someone already has made a script package to do this, if you are interested. Do a search for "userman" on http://freshmeat.net, or go to http://www.drock.de/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]