Difference between revisions of "Nspasswd"
Jump to navigation
Jump to search
(imported from WiKit id 245) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''nspasswd does not exist nowadays.''' | |
+ | |||
+ | nsperm doesn't speak md5 hashed passwords, only unix crypt. If you need to crypt a password, try this Perl script one-liner: | ||
+ | |||
+ | $ perl -le 'print crypt("password", "..");'<br/> | ||
+ | ..UZoIyj/Hy/c | ||
+ | |||
+ | Replace "password" with the password you want to encrypt (up to 8 characters -- anything more gets truncated silently anyway). The output from the script ("..UZoIyj/Hy/c") is the crypted password that you can cut and paste into your passwd file. |
Latest revision as of 13:04, 14 December 2006
nspasswd does not exist nowadays.
nsperm doesn't speak md5 hashed passwords, only unix crypt. If you need to crypt a password, try this Perl script one-liner:
$ perl -le 'print crypt("password", "..");'
..UZoIyj/Hy/c
Replace "password" with the password you want to encrypt (up to 8 characters -- anything more gets truncated silently anyway). The output from the script ("..UZoIyj/Hy/c") is the crypted password that you can cut and paste into your passwd file.