ºìÁªLinuxÃÅ»§
Linux°ïÖú

°ÑLinuxµÄÃÜÂë->FreeBSD database

·¢²¼Ê±¼ä:2006-08-02 16:25:28À´Ô´:ºìÁª×÷Õß:MORR
: : Èç¹ûÔÚ×° redhat ʱÓà des,
: : ÄÇÔÚ°²×° FreeBSD ʱ, Ò²×° des,
: : ÔÙ°Ñ passwd ¸ñʽÉÔ΢¸ÄÒ»ÏÂ,
: : ·Åµ½ FreeBSD, ӦûÎÊÌâ,
linux ºÍ freebsd µÄ password µµÓÐÒ»µã²»Í¬
linux µÄÉÙÁËÁ½¸öÀ¸Î»: CHANGE(Ç¿ÆÈʹÓÃÕß»»ÃÜÂëµÄʱ¼ä) EXPIRE(ÕʺÅÓÐЧÆÚÏÞ)
±¾À´ÏëÓà perl ²¹ÉÏÈ¥µÄ
µ«ááÀ´·¢ÏÖ awk ¸üºÃÓÃ˵:
"awk -F: '{ printf "%s:%s:%s:%s:%s:0:0:%s:%s:%s\n",$1,$2,$3,$4,$5,$8,$9,$10 }'
< /tmp/passwd > /etc/master.passwd"
È»ááÔÙcheckÒ»ÏÂÐÂÔì³öÀ´µÄ master.passwd ÓÐûÓÐÎÊÌâ "pwd_mkdb -c /etc/master.passwd"
ûÓдíÎóѶϢµÄ»°¾Í... "pwd_mkdb -p -d /etc /etc/master.passwd"
it`s ok now
Ï£ÍûÒÔÉϵÄÒ»µã¾­Ñé¶Ô¸Õ´Ó linux תµ½ freebsd µÄÐÂÊÖÓÐÓá£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ