diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-29 12:04:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-29 12:04:38 +0000 |
commit | 11bc76846f38d07f4be9f363577977d4ab765175 (patch) | |
tree | 281a647e841ecf18dad8593697476f881fd25cc4 /usr.sbin/adduser/adduser.8 | |
parent | acb9e850e1416c9fd27f1dea53ed3c8ae53c916b (diff) |
do batch in encrypted mode by default; ibo@val-axs.net
Diffstat (limited to 'usr.sbin/adduser/adduser.8')
-rw-r--r-- | usr.sbin/adduser/adduser.8 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index 748dfcfbcfb..371fa921a4c 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: adduser.8,v 1.5 1998/11/08 00:21:25 aaron Exp $ +.\" $OpenBSD: adduser.8,v 1.6 1998/12/29 12:04:37 deraadt Exp $ .\" .\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. .\" All rights reserved. @@ -48,6 +48,7 @@ .Op Fl uid_start Ar uid_start .Op Fl uid_end Ar uid_end .Op Fl v | verbose +.Op Fl unencrypted .Sh DESCRIPTION .Nm adduser is a simple program for adding new users. @@ -142,6 +143,7 @@ straightforward. .It Sy -batch username [group[,group]...] [fullname] [password] Enter batch mode in which multiple users are specified on the command-line in a compact format. +By default the password is assumed to already be properly encrypted. .It Sy -check_only Check the passwd, group, and shells databases for consistency and problems then exit without performing any other operation. @@ -192,6 +194,12 @@ Causes the program to print fewer warnings, questions, and bug reports. Use UIDs from .Ar uid up when automatically generating UIDs. +.It Sy -unencrypted +Causes the program to assume that the password given in batch mode is +unencrypted. The password will be encrypted before it's added to the +password file. +Use of this option will leave username and cleartext password displayable +for any user. .It Sy -verbose,-v Causes the program to print many warnings and questions. This option is recommended for novice users. @@ -215,7 +223,7 @@ Start .Nm adduser in interactive mode. .Pp -$ adduser -batch falken guest,staff,beer 'Prof. Falken' joshua +$ adduser -unencrypted -batch falken guest,staff,beer 'Prof. Falken' joshua .Pp Create user .Dq falken |