'\"macro stdmacro
.if n .pH g1.oladd @(#)oladd	40.2 of 1/9/90
.nr X
.if \nX=0 .ds x} OLADDUSER 1 "12/1/89" "OPEN LOOK 2.0" "\&"
.if \nX=1 .ds x} OLADDUSER 1 "12/1/89" "OPEN LOOK 2.0"
.if \nX=2 .ds x} OLADDUSER 1 "" "\&"
.if \nX=3 .ds x} OLADDUSER "" "" "\&"
.TH \*(x}
.tr ~
.IX \f2oladduser\f1 command
.nr % 1
.SH NAME
oladduser - add an OPEN LOOK user.
.SH SYNOPSIS
.B oladduser
 [-s] [user]
.SH DESCRIPTION
The
\f2oladduser\f1 command
adds a new OPEN LOOK user by creating the file \f2.olsetup\f1
in the user's home directory and adding 
the line 
.P
.B \.~~$HOME/.olsetup<TAB>\#!@~Do~not~edit~this~line~!@\fP
.P
to the end of the user's \f2.profile.\f1 The user is specified
by login name using either the optional argument \f2user\f1 or
by entering the login name on standard input when prompted for
it. 
.P
Finally, \f2oladduser\f1 will create the
file \f2.Xdefaults\f with default settings for
\f2xterm\f1, the \f2.olsetup\f1 file, and the \f2.olinitrc\f1
file with the following lines:
.P
\f3olwm &
.P
\f3olfm &\f1
.P
If the user already exists, \f2.Xdefaults\f1 will be 
moved to \f2.Xdefaults.old\f1 and the other files will be
overwritten.
If write permissions are not granted on any of these files,
\f2oladduser\f1 will write an error message on standard error
stating so, and exit.
.SH FILES
.TP 30
$HOME/.olsetup
.TP 30
$HOME/.Xdefaults
.TP 30
$HOME/.profile
.TP 30
$HOME/.olinitrc
.SH "SEE ALSO"
olremuser(1), olsetvar(1), sh(1).
