Berkeley CSUA MOTD:Entry 17775
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/12/25 [General] UID:1000 Activity:popular
12/25   

2000/3/16-17 [Computer/SW/Languages/Perl] UID:17775 Activity:nil
3/14    Is there a UNIX utility that, when given pw and salt pair, will
        give me a /etc/passwd|shadow equivalent of crypt(pw,salt)?
        \_ its called perl.
          \_ something like:  perl -e 'print crypt ( "$salt", "$pw") . "\n" ;'
             \_ ("$pw", "$salt")
        \_ Can't ed do this?