My guess is that since you're running sudo, sudo itself is asking for a password *for the nobody/apache account*, where it's set up not to ask you for a password (which is bad mojo), or you already ran sudo once and you've got a valid ticket.
Well, I don't know why my script didn't work, but I got it working another way. There is a utility called 'chpasswd' which does non-interactive password changes. You can only run it as root, obviously. I have sudo setup to blindly allow the 'apache' user access to this command, but the script which runs it will be heavily guarded.
-- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>