100de0ec3STom Rhodes.\" 200de0ec3STom Rhodes.\" Copyright (c) 2004 Tom Rhodes 300de0ec3STom Rhodes.\" All rights reserved. 400de0ec3STom Rhodes.\" 500de0ec3STom Rhodes.\" Redistribution and use in source and binary forms, with or without 600de0ec3STom Rhodes.\" modification, are permitted provided that the following conditions 700de0ec3STom Rhodes.\" are met: 800de0ec3STom Rhodes.\" 1. Redistributions of source code must retain the above copyright 900de0ec3STom Rhodes.\" notice, this list of conditions and the following disclaimer. 1000de0ec3STom Rhodes.\" 2. Redistributions in binary form must reproduce the above copyright 1100de0ec3STom Rhodes.\" notice, this list of conditions and the following disclaimer in the 1200de0ec3STom Rhodes.\" documentation and/or other materials provided with the distribution. 1300de0ec3STom Rhodes.\" 1400de0ec3STom Rhodes.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1500de0ec3STom Rhodes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1600de0ec3STom Rhodes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1700de0ec3STom Rhodes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1800de0ec3STom Rhodes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1900de0ec3STom Rhodes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2000de0ec3STom Rhodes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2100de0ec3STom Rhodes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2200de0ec3STom Rhodes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2300de0ec3STom Rhodes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2400de0ec3STom Rhodes.\" SUCH DAMAGE. 2500de0ec3STom Rhodes.\" 2600de0ec3STom Rhodes.\" $FreeBSD$ 2700de0ec3STom Rhodes.\" 2800de0ec3STom Rhodes.Dd March 30, 2004 2900de0ec3STom Rhodes.Dt ADDUSER.CONF 5 3000de0ec3STom Rhodes.Os 3100de0ec3STom Rhodes.Sh NAME 3200de0ec3STom Rhodes.Nm adduser.conf 334f1d74f1STom Rhodes.Nd configuration file for the 344f1d74f1STom Rhodes.Xr adduser 8 354f1d74f1STom Rhodesutility 3600de0ec3STom Rhodes.Sh DESCRIPTION 3700de0ec3STom RhodesThe 3800de0ec3STom Rhodes.Pa /etc/adduser.conf 3900de0ec3STom Rhodesfile is used to pre-set certain configuration options for 4000de0ec3STom Rhodesthe 4100de0ec3STom Rhodes.Xr adduser 8 4200de0ec3STom Rhodesutility. 4300de0ec3STom RhodesWhen 4400de0ec3STom Rhodes.Xr adduser 8 4500de0ec3STom Rhodesis invoked, it will check to see if this file exists and 4600de0ec3STom Rhodesif so the configuration will be used or offered as the 4700de0ec3STom Rhodesdefault settings. 4800de0ec3STom RhodesThe 4900de0ec3STom Rhodes.Nm 5000de0ec3STom Rhodesfile offers three types of configuration: 5100de0ec3STom Rhodes.Bl -bullet 5200de0ec3STom Rhodes.It 5300de0ec3STom RhodesDefault settings offered by 5400de0ec3STom Rhodes.Xr adduser 8 . 5500de0ec3STom RhodesThese options are specified in the configuration file and offered 5600de0ec3STom Rhodesas the default during every invocation of the 5700de0ec3STom Rhodes.Xr adduser 8 5800de0ec3STom Rhodesutility. 5900de0ec3STom Rhodes.It 6000de0ec3STom RhodesConfiguration options which can be set in 6100de0ec3STom Rhodes.Nm , 6200de0ec3STom Rhodesbut overridden by passing a flag to 6300de0ec3STom Rhodes.Xr adduser 8 . 6400de0ec3STom Rhodes.It 6500de0ec3STom RhodesConfiguration supported by 6600de0ec3STom Rhodes.Xr adduser 8 6700de0ec3STom Rhodesbut not offered by a flag or during initial invocation. 6800de0ec3STom Rhodes.El 6900de0ec3STom Rhodes.Pp 7000de0ec3STom RhodesIn the first case, these options can be set in 7100de0ec3STom Rhodes.Nm 7200de0ec3STom Rhodesbut will still be offered when 7300de0ec3STom Rhodes.Xr adduser 8 7400de0ec3STom Rhodesis invoked. 7500de0ec3STom RhodesIn the second case, 7600de0ec3STom Rhodes.Xr adduser 8 7700de0ec3STom Rhodeswill read the configuration data unless a flag 7800de0ec3STom Rhodeshas been passed to override it. 7900de0ec3STom RhodesFor example, the 8000de0ec3STom Rhodes.Dq shell 8100de0ec3STom Rhodesoption. 8200de0ec3STom RhodesIn the third case, the configuration will be utilized, but the 8300de0ec3STom Rhodesuser will never be prompted to modify the default setting by 8400de0ec3STom Rhodeseither a flag or an 8500de0ec3STom Rhodes.Xr adduser 8 8600de0ec3STom Rhodesprompt. 8700de0ec3STom RhodesFor example, the 8800de0ec3STom Rhodes.Dq upwexpire 8900de0ec3STom Rhodessetting. 9000de0ec3STom Rhodes.Pp 9100de0ec3STom RhodesThe following configuration options can be set in 9200de0ec3STom Rhodes.Nm : 934f1d74f1STom Rhodes.Bl -tag -width "defaultgroups" -offset indent 9400de0ec3STom Rhodes.It defaultLgroup 9500de0ec3STom RhodesThe default group new users will be added to. 9600de0ec3STom Rhodes.It defaultclass 9700de0ec3STom RhodesThe default class to place users in as described in 9800de0ec3STom Rhodes.Xr login.conf 5 . 9900de0ec3STom Rhodes.It defaultgroups 10000de0ec3STom RhodesThis option is used to specify what other groups the new account 10100de0ec3STom Rhodesshould be added to. 10200de0ec3STom Rhodes.It passwdtype 10300de0ec3STom RhodesMay be one of 10400de0ec3STom Rhodes.Cm no , Cm none , Cm random , 10500de0ec3STom Rhodesor 10600de0ec3STom Rhodes.Cm yes 10700de0ec3STom Rhodesas described in 10800de0ec3STom Rhodes.Xr adduser 8 . 10900de0ec3STom RhodesAs such, the text is not duplicated here and may be 11000de0ec3STom Rhodesread in 11100de0ec3STom Rhodes.Xr adduser 8 . 11200de0ec3STom Rhodes.It homeprefix 11300de0ec3STom RhodesThe default home directory prefix, usually 11400de0ec3STom Rhodes.Pa /home . 11500de0ec3STom Rhodes.It defaultshell 11600de0ec3STom RhodesThe users default shell which may be any of the shells listed in 11700de0ec3STom Rhodes.Pa /etc/shells . 11800de0ec3STom Rhodes.It udotdir 11900de0ec3STom RhodesDefines the location of the default shell and environment 12000de0ec3STom Rhodesconfiguration files. 12100de0ec3STom Rhodes.It msgfile 12200de0ec3STom RhodesLocation of the default new user message file. 12300de0ec3STom RhodesThis message will be sent to all new users if specified 12400de0ec3STom Rhodeshere or at the 12500de0ec3STom Rhodes.Xr adduser 8 12600de0ec3STom Rhodesprompt. 12700de0ec3STom Rhodes.It disableflag 12800de0ec3STom RhodesThe default message enclosed in brackets for the 12900de0ec3STom Rhodeslock account prompt. 13000de0ec3STom Rhodes.It upwexpire 13100de0ec3STom RhodesThe default password expiration time. 13200de0ec3STom RhodesFormat of the date is either a 13300de0ec3STom Rhodes.Ux 13400de0ec3STom Rhodestime in decimal, or a date in 13500de0ec3STom Rhodes.Sm off 13600de0ec3STom Rhodes.Ql dd-mmm-yy Bq yy 13700de0ec3STom Rhodes.Sm on 13800de0ec3STom Rhodesformat, where dd is the day, mmm is the month in either numeric or 13900de0ec3STom Rhodesalphabetic format and year is either a two or four digit year. 14000de0ec3STom RhodesThis option also accepts a relative date in the form of 14100de0ec3STom Rhodes.Sm off 14200de0ec3STom Rhodes.Sy n Bq mhdwoy 14300de0ec3STom Rhodes.Sm on 14400de0ec3STom Rhodeswhere 14500de0ec3STom Rhodes.Sy n 14600de0ec3STom Rhodesis a decimal, octal (leading 0) or hexadecimal (leading 0x) digit followed by the 14700de0ec3STom Rhodesnumber of Minutes, Hours, Days, Weeks, Months or Years from the current date at 14800de0ec3STom Rhodeswhich the expiration time is to be set. 14900de0ec3STom Rhodes.It uexpire 15000de0ec3STom RhodesThe default account expire time. 15100de0ec3STom RhodesThe format is similar to the upwexpire option. 15200de0ec3STom Rhodes.It ugecos 15300de0ec3STom RhodesThe default information to be held in the gecos field of 15400de0ec3STom Rhodes.Pa /etc/master.passwd . 15500de0ec3STom Rhodes.It uuid 15600de0ec3STom RhodesThe default user ID setting. 15700de0ec3STom RhodesThis must be a number above 1000 and fewer than 65534. 15800de0ec3STom Rhodes.El 15900de0ec3STom Rhodes.Sh EXAMPLES 16000de0ec3STom RhodesThe following is an example 16100de0ec3STom Rhodes.Nm 16200de0ec3STom Rhodesfile created with the 16300de0ec3STom Rhodes.Fl C 16400de0ec3STom Rhodes.Xr adduser 8 16500de0ec3STom Rhodesflag and modified. 16600de0ec3STom Rhodes.Bd -literal 16700de0ec3STom Rhodes# Configuration file for adduser(8). 16800de0ec3STom Rhodes# NOTE: only *some* variables are saved. 16900de0ec3STom Rhodes# Last Modified on Fri Mar 30 14:04:05 EST 2004. 17000de0ec3STom Rhodes 17100de0ec3STom RhodesdefaultLgroup= 17200de0ec3STom Rhodesdefaultclass= 17300de0ec3STom Rhodesdefaultgroups= 17400de0ec3STom Rhodespasswdtype=yes 17500de0ec3STom Rhodeshomeprefix=/home 17600de0ec3STom Rhodesdefaultshell=/bin/csh 17700de0ec3STom Rhodesudotdir=/usr/share/skel 17800de0ec3STom Rhodesmsgfile=/etc/adduser.msg 17900de0ec3STom Rhodesdisableflag= 18000de0ec3STom Rhodesupwexpire=91d # Expire passwords 91 days after creation. 18100de0ec3STom Rhodes.Ed 18200de0ec3STom Rhodes.Sh SEE ALSO 18300de0ec3STom Rhodes.Xr group 5 , 18400de0ec3STom Rhodes.Xr passwd 5 , 18500de0ec3STom Rhodes.Xr adduser 8 , 18600de0ec3STom Rhodes.Xr pw 8 , 18700de0ec3STom Rhodes.Xr rmuser 8 18800de0ec3STom Rhodes.Sh HISTORY 18900de0ec3STom RhodesThe 19000de0ec3STom Rhodes.Nm 19100de0ec3STom Rhodesmanual page first appeared in 19200de0ec3STom Rhodes.Fx 4.10 . 19300de0ec3STom Rhodes.Sh AUTHORS 19400de0ec3STom RhodesThis manual page was written by 1954f1d74f1STom Rhodes.An Tom Rhodes Aq trhodes@FreeBSD.org . 196