Date: Sun, 29 Dec 1996 21:16:11 +0900 From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= <max@wide.ad.jp> To: current@freebsd.org Cc: max@wide.ad.jp Subject: usable characters for login names Message-ID: <199612291216.VAA04809@mail.tky007.tth.expo96.ad.jp>
index | next in thread | raw e-mail
The passwd(5) man page says that you can use an lowercase characters,
digits and underscore for the login names. Additionally, it says if
it is not used in the beginning of the user name, it is ok to use
hyphen. (Well, actually, it just says don't use it in the front of
the login name.)
Now, adduser rejects underscore and hyphen. Pw useradd accepts `_'
but rejects `-'. Is there any explicit source code or documentation
stating about legal characters for logins?
I guess at least adduser needs to be fixed.
-----------------------------------------------------------------------
Masafumi NAKANE, Keio Univ., Dept. of Environmental Information
E-Mail : max@wide.ad.jp / max@FreeBSD.ORG
[URL] : http://www.sfc.wide.ad.jp/~max/
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612291216.VAA04809>
