由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - anyone know how to generate encrypted passwd by crypt() ?
相关主题
[转载] 关于unix用户帐号急!!!!
how to find passwd for crypt file?Funny articles about emacs and vi. (Zhuan)
Re: anyone know how to generate encrypted passwd by crypt() ?[转载] 请教
我决定给自己的程序加密?一个痛心的问题
how to decrypt a crypted string??为什么普通用户无法登陆?
Apache中如何加入用户和口令?bad root shell?
mount question?where is user.list
No shell ?login shell and normal shell?
相关话题的讨论汇总
话题: crypt话题: encrypted话题: char话题: passwd话题: anyone
进入Unix版参与讨论
1 (共1页)
d******e
发帖数: 143
1
anyone know how to generate encrypted passwd by crypt() ?
according to the man page, crypt() takes 2 parameters:
crypt(cosnt char *key, cosnt char *salt)
the result is a 13 char string.
however, the encrypted password at /etc/shadow has this
format:
$1$abcdefrg$abcdefrg1234567890qwer
there're 8 char between the 2nd $ and the 3rd $, and another
22 char after the 3rd $.
anyone know how this encrypted password is generated? using
crypt() or else? I can't find any man page about that. no
man page fo
1 (共1页)
进入Unix版参与讨论
相关主题
login shell and normal shell?how to decrypt a crypted string??
FreeBSD下,怎么给一个用户增加groupApache中如何加入用户和口令?
owner of filemount question?
Re: Solaris2.6,忘了root口令,有普通帐号,怎么办?No shell ?
[转载] 关于unix用户帐号急!!!!
how to find passwd for crypt file?Funny articles about emacs and vi. (Zhuan)
Re: anyone know how to generate encrypted passwd by crypt() ?[转载] 请教
我决定给自己的程序加密?一个痛心的问题
相关话题的讨论汇总
话题: crypt话题: encrypted话题: char话题: passwd话题: anyone