Fix bug bin/41049: usermod -g =uid testuser does not create group as indicated by man page The NetBSD Project
Status: Closed Time to complete: 240 hrs Mentors: blymn, Julian Coleman, Julian Fagir Tags: C, system

The description of "usermod -g" in the manpage does not accord to its real behaviour. Actually, this has not been implemented, so you have the rather difficult task to write the implementation for this.
You can use code from the other tools which deal with user and group modification, maybe you will find a place where nearly the same work has already been done.

 

http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=41049 

Uploaded Work
File name/URL File size Date submitted
usermod_sw-bug_41049.diff 667 bytes November 28 2012 08:46 UTC
Comments
Vochescu Alexandru on November 26 2012 17:45 UTC Task Claimed

I would like to work on this task.

Vochescu Alexandru on November 26 2012 18:03 UTC Claim Removed

The claim on this task has been removed, someone else can claim it now.

Philip Hayes on November 26 2012 18:46 UTC Task Claimed

I would like to work on this task.

Aleksej Saushev on November 27 2012 08:26 UTC Task Assigned

This task has been assigned to Philip Hayes. You have 240 hours to complete this task, good luck!

Philip Hayes on November 28 2012 08:46 UTC Ready for review

The work on this task is ready to be reviewed.

blymn on November 28 2012 11:17 UTC review

Excellent work.. This has fixed the bug.


 


 

blymn on November 28 2012 11:18 UTC Task Closed

Congratulations, this task has been completed successfully.