Difference between revisions of "Nspasswd"

From AOLserver Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
[http://home.galileo.edu/~obonilla/software/nspasswd]
+
'''nspasswd does not exist nowadays.'''
  
However, at least Debian does not seem to have a maintained nspasswd module.
+
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.