
Amarendu
New User
Aug 9, 2012, 3:33 AM
Post #1 of 2
(1335 views)
|
Passing Password through Perl Script
|
Can't Post
|
|
I have a user named "hduser" and the password of the user is say "xyz123". Now I need a automated script for it so that I can get logged in as hduser without prompting for it's password. For example I have written a perl script as follows: #!/usr/bin/perl system ("su hduser && <xyz123>"); I need to set the user password for hduser. Please help urgently. Thanks a lot in advance.
|