Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 21:37:56 -0600
From:      Jon Hamilton <hamilton@pobox.com>
To:        Shawn Ramsey <shawn@megadeth.org>
Cc:        cjclark@home.com, questions@freebsd.org
Subject:   Re: periods in usernames? 
Message-ID:  <20000112033756.8907D148@woodstock.monkey.net>
In-Reply-To: Your message of "Tue, 11 Jan 2000 19:09:19 PST." <4.2.0.58.20000111190757.01bce940@mail.cpl.net> 

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

In message <4.2.0.58.20000111190757.01bce940@mail.cpl.net>, Shawn Ramsey wrote:
} At 09:03 PM 1/11/00 -0500, you wrote:
} >Shawn Ramsey wrote,
} > > Is there any particular reason the adduser script will not accept periods
} > > in user accounts?
} >
} >'Cause the documentation says so. From adduser(1),
} >
} >.
} >.
} >.
} >RESTRICTIONS
} >      username
} >              Login name. May contain only  lowercase characters or digits.
} 
} Uh, yeah, but my question was more along the lines of WHY it was written 
} this way. :) Is this any reason user names should not have a period? Im 
} sure the script would be easy enough to modify to accept a period.

It used to be (and still is, on some UNIXen) that chown would accept
"dot notation" to also do a chgrp; in other words, 

$ chown user.group /tmp/blat

would change the owner and group on /tmp/blat.  Many implementations have
since changed their chown to use user:group instead, which is safer, 
but for compatibility reasons, using dots in usernames is not recommended.

-- 
   Jon Hamilton  
   hamilton@pobox.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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