docs/76981: [PATCH] cap_mkdb could be more prominently mentioned in login.conf(5)

Lowell Gilbert freebsd-bugs-local at be-well.ilk.org
Tue Feb 1 22:30:26 UTC 2005


>Number:         76981
>Category:       docs
>Synopsis:       [PATCH] cap_mkdb could be more prominently mentioned in login.conf(5)
>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:   Tue Feb 01 22:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lowell Gilbert
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD be-well.ilk.org 5.3-STABLE FreeBSD 5.3-STABLE #7: Sun Jan 9 17:31:34 EST 2005 root at be-well.ilk.org:/usr/src/sys/i386/compile/BE-WELL i386


	
>Description:

Users can easily miss the need to run cap_mkdb after editing /etc/login.conf.  


>How-To-Repeat:
n/a
>Fix:

Apply something like this to /usr/src/lib/libutil/login.conf.5


*** login.conf.5.ORIG   Tue Feb  1 17:13:07 2005
--- login.conf.5        Tue Feb  1 17:16:25 2005
***************
*** 74,79 ****
--- 74,86 ----
  the last name may contain upper case characters and blanks for
  readability.
  .Pp
+ The 
+ .Pa /etc/login.conf 
+ file is not referenced directly by 
+ .Xr login 1
+ so changes will not take effect until 
+ .Xr cap_mkdb 1
+ is used to compile the file into a database.
  See
  .Xr getcap 3
  for a more in-depth description of the format of a capability database.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list