Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angel# cat pass2.pl
- #!/usr/bin/perl
- $cmd = "/usr/sbin/pw";
- $pass= "monkey1";
- $username= "test";
- open(BLAH,"| $cmd user mod $username -h 0");
- print BLAH $pass;
- close BLAH;
- angel#
- bisognare usare pw!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement