>>>>> "Matthew" == Matthew Harrison <[EMAIL PROTECTED]> writes:
Matthew> how can i make a script check whether a variable equals an existing system Matthew> username or not? the script does not run as root, it is a webpage. if (defined getpwname($possible_new_name)) { # it already exists } else { # it's new! } -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]