The man pages for both group 5 and newgrp 1 do not include examples of how to use group passwords. Fix: eadler@freebsd.org stated that a short example similar to this would do in the newgrp man page Create the group % pw group add foo Set the group password % pw group mod foo -h 0 As a non root user switch to the group % newgrp foo Also in the group 5 man the See Also section should include a refrence to newgrp 1 How-To-Repeat: See man 1 newgrp and man 5 group
Responsible Changed From-To: freebsd-doc->joel Take.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Created attachment 228037 [details] newgrp(1) patch Add an example of creating a group, setting a group password, and switching to the new group.
group(5) has a cross-reference to newgrp(1) in the SEE ALSO section.