Advertisement
Guest User

Untitled

a guest
Jun 5th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. angel# cat pass2.pl
  2. #!/usr/bin/perl
  3.  
  4. $cmd = "/usr/sbin/pw";
  5.  
  6. $pass= "monkey1";
  7. $username= "test";
  8.  
  9. open(BLAH,"| $cmd user mod $username -h 0");
  10.  
  11. print BLAH $pass;
  12.  
  13. close BLAH;
  14. angel#
  15.  
  16.  
  17. bisognare usare pw!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement