Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 1997 10:14:48 -0400 (EDT)
From:      "David E. Cross" <dec@phoenix.its.rpi.edu>
To:        Adam David <adam@veda.is>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: numeric UID/GID names?
Message-ID:  <Pine.BSF.3.95q.970715101253.3971B-100000@phoenix.its.rpi.edu>
In-Reply-To: <199707151030.KAA23198@ubiq.veda.is>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jul 1997, Adam David wrote:

> Are there any problems involved with giving users/groups all-numeric names,
> in addition to the confusion that could exist when for instance UID number
> 1234 is named 4321 (or 5678)?
> 
> What problems might this confusion give rise to? Which are human-based
> and which are programmatical?

It would depend on the program... Some programs do a atoi(3) to determine
if the 'value' is a UID or UNAME.  The human errors should be more than
enough reason to avoid this though and go with an alternate naming scheme;
instead of user '4321' how about user 'u4321'?

--
David Cross





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970715101253.3971B-100000>