Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2012 10:01:21 -0400 (EDT)
From:      Mark Saad <msaad@about.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/167742: Update documentation for group 5, and newgrp 1 
Message-ID:  <201205081401.q48E1LXw027628@blindness.ops.about.com>
Resent-Message-ID: <201205091620.q49GKCFO036254@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167742
>Category:       docs
>Synopsis:       Update documentation for group 5, and newgrp 1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 16:20:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mark Saad
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
About.com
>Environment:
System: FreeBSD blindness.ops.about.com 9.0-STABLE FreeBSD 9.0-STABLE #2: Tue Apr 10 11:32:01 EDT 2012 root@blindness.ops.about.com:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	The man pages for both group 5 and newgrp 1 do not include examples of how to use group passwords.
>How-To-Repeat:
	See man 1 newgrp and man 5 group
>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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205081401.q48E1LXw027628>