.\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" All rights reserved.
-.\" Copyright (c) 2002-2004 Michael Telahun Makonnen <mtm@FreeBSD.Org>
+.\" Copyright (c) 2002-2004 Michael Telahun Makonnen <mtm@FreeBSD.org>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\"
.\" $FreeBSD$
.\"
-.Dd August 14, 2002
+.Dd March 30, 2004
.Dt ADDUSER 8
.Os
.Sh NAME
.Ql \&:
character is not allowed.
.It shell
-Only valid shells from the shell database
+Unless the
+.Fl S
+argument is supplied only valid shells from the shell database
.Pq Pa /etc/shells
are allowed.
-In
-addition, only the base name of the shell is necessary, not the full path.
+In addition,
+either the base name or the full path of the shell may be supplied.
.It UID
Automatically generated or your choice.
It must be less than 32000.
Default partition, under which all user directories
will be located.
The
-.Pa /nonexistant
+.Pa /nonexistent
partition is considered special.
The
.Nm
Default shell for new users.
The
.Ar shell
-argument must be the base name of the shell,
-.Em not
-the full path.
-It must exist in
+argument may be the base name of the shell or the full path.
+Unless the
+.Fl S
+argument is supplied the shell must exist in
.Pa /etc/shells
or be the special shell
.Em nologin
created for the user.
.It Ar shell
Login shell.
-This field should contain the full path to a valid login shell.
+This field should contain either the base name or
+the full path to a valid login shell.
.It Ar password
User password.
This field should contain a plaintext string, which will
.Sh SEE ALSO
.Xr chpass 1 ,
.Xr passwd 1 ,
+.Xr adduser.conf 5 ,
.Xr aliases 5 ,
.Xr group 5 ,
.Xr login.conf 5 ,
escaped when used in the message file.
.Pp
Also, password ageing and account expiry times are currently setable
-only in batch mode.
+only in batch mode or when specified in
+.Pa /etc/adduser.conf .
The user should be able to set them in interactive mode as well.