Hello Randal, In your -
If ( aman eq "same person who asked in a diff forum") { print "JERK"; } Else { print "Valuable archive of answers to similar question" ; } I pass through the else block as you had earlier answered to one Joe Catanzaro though his question was strikingly similar to mine. One of the most valuable resources that I would be wasting by asking the same question in diff forums for which I've already received the answer is my own time ! Thanks for the link though...the discussion was enlightening indeed. -aman -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 20:30 To: [EMAIL PROTECTED] Subject: Re: How to su in a script if su needs a pswd ? >>>>> "Aman" == Aman Thind <[EMAIL PROTECTED]> writes: Aman> I am running a command as part of my script on a Unix box for which I need Aman> to su to a different username. Aman> This su requires a password as well. A question just like this was posted to the Perl-Beginners Yahoo mailing list. If this was you, your question was already asked and answered, and should not be re-asked in a different forum. You're wasting valuable resources. If it wasn't you, please look at the archives, located at <http://groups.yahoo.com/group/perl-beginner/messages>, and search for the subject lines similar to what you asked here. -- 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] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>