summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser/adduser.8
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-05-13 01:23:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-05-13 01:23:11 +0000
commit8edbefd3e86074008c286e1e8c24f8bbaea97428 (patch)
treea1c09cb99213b0a197133652942fa4ef9bab7574 /usr.sbin/adduser/adduser.8
parent7e7c3f540a76a3c9c1fa74dc7fbd2e3450ca3bee (diff)
Sync valid username check w/ user(1). Patch from Brian Poole,
problem reported by juncus on misc
Diffstat (limited to 'usr.sbin/adduser/adduser.8')
-rw-r--r--usr.sbin/adduser/adduser.88
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8
index 27f81a75b42..46d8a31e6a0 100644
--- a/usr.sbin/adduser/adduser.8
+++ b/usr.sbin/adduser/adduser.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: adduser.8,v 1.27 2003/01/29 16:53:36 jmc Exp $
+.\" $OpenBSD: adduser.8,v 1.28 2003/05/13 01:23:10 millert Exp $
.\"
.\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" All rights reserved.
@@ -216,8 +216,10 @@ politely refuses to remove users whose UID is 0 (typically root).
.Sh RESTRICTIONS
.Bl -tag -width Ds
.It Sy username
-Login names should contain only lowercase characters or digits.
-They should be no longer than 31 characters (see BUGS section of
+It is recommended that login names contain only lowercase characters
+and digits. They may also contain uppercase characters, non-leading
+hyphens, periods, and a trailing '$'.
+Login names may not be longer than 31 characters (see BUGS section of
.Xr setlogin 2 ) .
.\" The reasons for this limit are "Historical".
.\" Given that people have traditionally wanted to break this