diff options
author | ache <ache@FreeBSD.org> | 1997-05-01 22:55:58 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-05-01 22:55:58 +0000 |
commit | 2fc70f71f079455771add3eaa65ac46123b48a39 (patch) | |
tree | 986d67159f98ae203274b92d74f5d5fc64a16ccb /usr.sbin/adduser/adduser.8 | |
parent | 985468699f89a3f60908c5ef8374e1113b8b63c8 (diff) | |
download | FreeBSD-src-2fc70f71f079455771add3eaa65ac46123b48a39.zip FreeBSD-src-2fc70f71f079455771add3eaa65ac46123b48a39.tar.gz |
1. Deal with login classes now
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)
Diffstat (limited to 'usr.sbin/adduser/adduser.8')
-rw-r--r-- | usr.sbin/adduser/adduser.8 | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index 01fc415..8611a3f 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: adduser.8,v 1.19 1997/02/22 16:01:17 peter Exp $ .Dd Jan, 9, 1995 .Dt ADDUSER 8 .Os FreeBSD 2.1 @@ -34,20 +34,35 @@ .Oo .Fl batch Ar username .Op Ar group Ns , Ns Op Ar group,... +.Op Ar class .Op Ar fullname .Op Ar password .Oc +.br .Op Fl check_only +.br +.Op Fl class Ar login_class +.br .Op Fl config_create +.br .Op Fl dotdir Ar dotdir +.br .Op Fl group Ar login_group +.br .Op Fl h | help +.br .Op Fl home Ar home +.br .Op Fl message Ar message_file +.br .Op Fl noconfig +.br .Op Fl shell Ar shell +.br .Op Fl s | silent | q | quiet +.br .Op Fl uid Ar uid_start +.br .Op Fl v | verbose .Sh DESCRIPTION .Nm Adduser @@ -120,10 +135,12 @@ Parse command line options .El .Sh OPTIONS .Bl -tag -width Ds -.It Sy -batch username [group[,group]...] [fullname] [password] +.It Sy -batch username [group[,group]...] [class] [fullname] [password] Batch mode. .It Sy -check_only Check /etc/passwd, /etc/group, /etc/shells and exit. +.It Sy -class Ar login_class +Set default login class .It Sy -create_config Create new config and message file and exit. .It Sy -dotdir Ar directory @@ -196,10 +213,11 @@ $ adduser .Pp Start adduser in interactive mode. .Pp -$ adduser -batch baerenklau guest,staff,baer 'Teddy II' qwerty7 +$ adduser -batch baerenklau guest,staff,baer '' 'Teddy II' qwerty7 .Pp Create user 'baerenklau' and login group 'baerenklau'. Invite user -baerenklau into groups guest, staff and baer. Realname (fullname) +baerenklau into groups guest, staff and baer. Use default login class. +Realname (fullname) is 'Teddy II'. Password is 'qwerty7' (don't use such passwords!). Create HOME directory .Pa /home/baerenklau @@ -224,6 +242,8 @@ user database group database .It Pa /etc/shells shell database +.It Pa /etc/login.conf +login classes database .It Pa /etc/adduser.conf config file for adduser .It Pa /etc/adduser.message @@ -241,6 +261,7 @@ logfile for adduser .Xr yp 4 , .Xr aliases 5 , .Xr group 5 , +.Xr login.conf 5 , .Xr passwd 5 , .Xr shells 5 , .Xr addgroup 8 , |