<div>Hi list,</div>
<div> </div>
<div>Attached are the implementations for groupadd, useradd and mkpasswd commands.</div>
<div> </div>
<div>Patches are as follows</div>
<div> </div>
<div>1. __lib.patch__ : this includes changes made to lib/lib.h and __lib/password.c__. </div>
<div>lib/passowrd.c is modified to share the function __update_password()__ among groupadd, useradd commands. </div>
<div>This also has the factored out code, common to both, for __passwd__ and __mkpasswd__. </div>
<div>Also has the cosmetic cleanup changes.</div>
<div> </div>
<div>2. __passwd.c.patch__ : this file is modified due to the common code factoring out and cosmetic cleanup changes.</div>
<div> </div>
<div>3. groupadd and useradd has alias for addgroup and adduser, due to the requirement constraint at my end. </div>
<div> _adduser_ does invoke the passwd utility to set the user password on creation.</div>
<div> </div>
<div>Looking forward to your comments. Add to the tree if it can be. </div>
<div> </div>
<div>regards,</div>
<div>Ashwini</div>