summaryrefslogtreecommitdiffstats
path: root/adduser/adduser.8
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1996-06-09 20:45:35 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1996-06-09 20:45:35 +0000
commit6895cdddb0c0ed132d604228830ddc9ed078e8ee (patch)
tree2ea225f9aed78c897431369cbbcdff0d47d02d30 /adduser/adduser.8
parent4d24253ba81731af4b869a386e0ba38f79b66688 (diff)
downloadpw-darwin-6895cdddb0c0ed132d604228830ddc9ed078e8ee.tar.gz
pw-darwin-6895cdddb0c0ed132d604228830ddc9ed078e8ee.tar.zst
pw-darwin-6895cdddb0c0ed132d604228830ddc9ed078e8ee.zip
documented login name limit
Obtained from: mailing list
Diffstat (limited to 'adduser/adduser.8')
-rw-r--r--adduser/adduser.827
1 files changed, 18 insertions, 9 deletions
diff --git a/adduser/adduser.8 b/adduser/adduser.8
index a7959cf..e7afbc9 100644
--- a/adduser/adduser.8
+++ b/adduser/adduser.8
@@ -28,11 +28,7 @@
.\"
.\" /usr/sbin/adduser - add new user(s)
.\"
-.\" Bugs: sure (my English!)
-.\" Email: Wolfram Schneider <wosch@cs.tu-berlin.de>
-.\"
-.\" $Id: adduser.8,v 1.7 1995/03/08 22:44:35 ache Exp $
-.\"
+.\" $Id: adduser.8,v 1.8 1996/01/30 13:48:14 mpp Exp $
.Dd Jan, 9, 1995
.Dt ADDUSER 8
@@ -59,7 +55,21 @@ HOME-directory, dotfiles and send new user a welcome message.
.Sh RESTRICTION
.Bl -tag -width Ds -compact
.It Sy username
-Login name. Only lowercase characters or digits.
+Login name. Only lowercase characters or digits. Maximum length
+is 8 characters (see
+.Xr setlogin 2
+BUGS section).
+The reasons for this limit is "Historical".
+Given that people have traditionally wanted to break this
+limit for aesthetic reasons, it's never been of great importance to break
+such a basic fundamental parameter in UNIX.
+You can change UT_NAMESIZE in /usr/include/utmp.h and recompile the
+world; people have done this and it works, but you will have problems
+with any precompiled programs, or source that assumes the 8-character
+name limit and NIS. The NIS protocol mandates an 8-character username.
+If you need a longer login name for e-mail addresses,
+you can define an alias in
+.Pa /etc/aliases .
.It Sy fullname
Firstname and surname.
.Ql Pa \:
@@ -225,6 +235,8 @@ logfile for adduser
.Xr chpass 1 ,
.Xr finger 1 ,
.Xr passwd 1 ,
+.Xr setlogin 2 ,
+.Xr yp 4 ,
.Xr aliases 5 ,
.Xr passwd 5 ,
.Xr group 5 ,
@@ -238,6 +250,3 @@ logfile for adduser
The
.Nm
command appeared in FreeBSD 2.1
-
-.\" .Sh AUTHOR
-.\" Wolfram Schneider, Berlin