From galen@CSUA.Berkeley.EDU  Mon Feb 17 17:04:56 2003
Return-Path: <galen@CSUA.Berkeley.EDU>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 62C9A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Feb 2003 17:04:56 -0800 (PST)
Received: from soda.csua.berkeley.edu (soda.CSUA.Berkeley.EDU [128.32.112.233])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EAB6943F85
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Feb 2003 17:04:55 -0800 (PST)
	(envelope-from galen@CSUA.Berkeley.EDU)
Received: from soda.csua.berkeley.edu (IDENT:PZZYARDK2NSEdxIpzO0uGNj1aq+xG2OM@localhost [127.0.0.1])
	by soda.csua.berkeley.edu (8.12.6/8.12.6) with ESMTP id h1I14tZb052274
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Feb 2003 17:04:55 -0800 (PST)
	(envelope-from galen@soda.csua.berkeley.edu)
Received: (from galen@localhost)
	by soda.csua.berkeley.edu (8.12.6/8.12.6/Submit) id h1I14tZi052273;
	Mon, 17 Feb 2003 17:04:55 -0800 (PST)
Message-Id: <200302180104.h1I14tZi052273@soda.csua.berkeley.edu>
Date: Mon, 17 Feb 2003 17:04:55 -0800 (PST)
From: Galen Hancock <galen@CSUA.Berkeley.EDU>
Reply-To: Galen Hancock <galen@CSUA.Berkeley.EDU>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Can't put URL in GECOS phone field
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48399
>Category:       bin
>Synopsis:       Can't put URL in GECOS phone field
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 17 17:10:09 PST 2003
>Closed-Date:    Fri Jul 23 12:10:30 GMT 2004
>Last-Modified:  Fri Jul 23 12:10:30 GMT 2004
>Originator:     Galen Hancock
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD soda.csua.berkeley.edu 4.7-STABLE FreeBSD 4.7-STABLE #2: Tue Jan 21 12:42:54 PST 2003 root@:/usr/src/sys/compile/MKVI i386


>Description:
	It is not possible to put SIP URLs like "sip:19081@fwd.pulver.com" in
	the phone field of the GECOS information. This should be allowed,
	because such URLs are used for Voice over IP.
>How-To-Repeat:
	When attempting to use a colon in the phone field, chfn gives the
	following message:
	chfn: illegal character in the "office phone" field
	re-edit the password file? [y]:
>Fix:
	Since the GECOS information is stored in the passwd file, where colons
	are used as delimiters, some means of quoting or encoding the colon
	will be necessary.
>Release-Note:
>Audit-Trail:

From: Mike Makonnen <mtm@identd.net>
To: Galen Hancock <galen@CSUA.Berkeley.EDU>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/48399: Can't put URL in GECOS phone field
Date: Mon, 17 Feb 2003 23:42:56 -0500

 As you've allready noted, colons are not allowed in _any_ passwd field.
 
 The better solution is probably to encode the information in a human readable
 format. Example: <sip>19081@fwd.pulver.com</sip>
 
 
 Cheers.
 -- 
 Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
 mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
State-Changed-From-To: open->closed 
State-Changed-By: le 
State-Changed-When: Fri Jul 23 12:09:50 GMT 2004 
State-Changed-Why:  
Colons are used as separators in passwd records and thus not allowed  
in the GECOS data. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48399 
>Unformatted:
