diff options
author | jmc <jmc@openbsd.org> | 2005-04-25 07:42:10 +0000 |
---|---|---|
committer | jmc <jmc@openbsd.org> | 2005-04-25 07:42:10 +0000 |
commit | 4aa1d493045f0a88abc9bd5cfb4927f751891129 (patch) | |
tree | 05ca0a76c3ad49911f0d7f34e31bfa6ec7eb8feb /usr.sbin/adduser | |
parent | - login names may contain underscores (diff) | |
download | wireguard-openbsd-4aa1d493045f0a88abc9bd5cfb4927f751891129.tar.xz wireguard-openbsd-4aa1d493045f0a88abc9bd5cfb4927f751891129.zip |
put EXAMPLES into a more standard format (first description, then
example), and use literal to mark up the commands themselves;
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r-- | usr.sbin/adduser/adduser.8 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index 2eb1ff1816b..c0a71c3e62c 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: adduser.8,v 1.37 2005/04/25 07:35:21 jmc Exp $ +.\" $OpenBSD: adduser.8,v 1.38 2005/04/25 07:42:10 jmc Exp $ .\" .\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. .\" All rights reserved. @@ -350,13 +350,11 @@ log file for .Nm .El .Sh EXAMPLES -# adduser -.Pp Start .Nm -in interactive mode. +in interactive mode: .Pp -# adduser -batch falken guest,staff,beer 'Prof. Falken' joshua +.Dl # adduser .Pp Create user .Dq falken @@ -377,9 +375,9 @@ Password is .Dq joshua (don't use such a password!). Send user falken -a welcome message. +a welcome message: .Pp -# adduser -uid_start 5000 -group guest -message no -batch vehlefanz +.Dl "# adduser -batch falken guest,staff,beer 'Prof. Falken' joshua" .Pp Create user .Dq vehlefanz @@ -387,7 +385,9 @@ in login group .Dq guest . Start the free UID search at 5000. No other groups, no realname, no password. -Do not send a welcome message. +Do not send a welcome message: +.Pp +.Dl "# adduser -uid_start 5000 -group guest -message no -batch vehlefanz" .Sh SEE ALSO .Xr chpass 1 , .Xr finger 1 , |