Bug 25845

Summary: Improvement for /etc/security
Product: Base System Reporter: Udo Schweigert <ust>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Udo Schweigert 2001-03-16 07:20:01 UTC
/etc/security gives a list of uid 0 accounts. When looking into 
/etc/master.passwd it does not ignore comments. Thus a comment like this:

# $Ust: hosts/merkur/master.passwd,v 1.2 2001/01/30 15:00:13 ust Exp $

gives a nonexisting account (# $Ust) because the third field (if having ":" as
field separator) is equal to zero.

Since /etc/master.passwd could change in the future there is some
chance of having "00" as third field in # $FreeBSD$, this should be fixed.
Comment 1 Brian Somers freebsd_committer freebsd_triage 2001-03-17 21:22:36 UTC
State Changed
From-To: open->closed

Applied to -current, thanks. 
I'll MFC after the code freeze.