(remember, only reply to the bug number...:-))) > If I can .. > Now I thing it will be better prepare this kind functionality in more > common way for allow not only one encryption algorintm. > Propably in future even on libc level will be used more than two algorithms > (now DES and MD5). > Instead use --md5 and probalby in future --sha1 (--sha256), --blodish and > other better will be use --<shwitch> <algh_name>. > > I think best will be plug this under "{-c|--crypt} <algh_name>" (other > proposition ?) > > If it will be acceptable I'll try ASAP prepare patch using this new shema > for CVS shadow tree.
I think that's OK, but you'll have to keep the "--des" and "--md5" command line switches for backward compatibility. Maybe get utilities print some warning message when they are used. Something like: $ echo tintin:tintin | chpasswd --des WARNING: the --des command line switch is obsolete. Please use "--crypt des" instead. $ (and doing the work anyway...) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]