summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-04-25 07:42:11 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-04-25 07:42:11 +0000
commitabd7869a72388140fcb127114fe8f8a1c3b7ca39 (patch)
treedbc70b643a73a4369f982fc6e07a4380cc7415bb /usr.sbin
parentd9bc47cb07f8491ff45a0656fb48c1d6da7a1a8e (diff)
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')
-rw-r--r--usr.sbin/adduser/adduser.816
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 ,