dtdeluser(1M) dtdeluser(1M)
NAME
dtdeluser - delete a UnixWare Desktop user
SYNOPSIS
dtdeluser [user]
DESCRIPTION
The dtdeluser command deletes a UnixWare Desktop user. If
user is not specified, and the $LOGNAME environment variable
is not set, it defaults to the login executing the command.
dtdeluser removes the files .olinitrc, .olsetup, and .xsession
from the user's home directory and deletes the line
. $HOME/.olsetup<TAB>#!@ Do not edit this line !@
from the user's .profile. If write permissions are not
granted on any of these files, dtdeluser writes an error
message on standard error stating so.
It reads the /usr/X/desktop/LoginMgr/DayOne/user file to
determine the user's dayone locale.
It queries the NIS map to determine if user is a NIS user.
dtdeluser also removes:
o the desktop files and directories created by dtadduser
o default directories in $HOME with links to tools such as
xterm and shutdown
o a mailbox directory in $HOME, if it is empty
o UUCP_InBox with a link to
/var/spool/uucppublic/receive/user
o a .wastebasket, if it is empty
o files such as .lastsession, .dtprops, and .dtinfo from
$HOME
o moves $HOME/.dtfclass to $HOME/.dtfclass_old
o removes those entries in the TFM database added by the
UnixWare Desktop for user
Files
$HOME/.profile
$HOME/.olinitrc
$HOME/.olsetup
$HOME/.Xdefaults
$HOME/.xsession
/etc/security/tfm/users/user
/usr/X/adm/day1delmap
Copyright 1994 Novell, Inc. Page 1
dtdeluser(1M) dtdeluser(1M)
/usr/X/adm/dtuser.msgs
/usr/X/desktop/LoginMgr/PrivTable
/usr/X/desktop/LoginMgr/Users/user
/usr/X/desktop/LoginMgr/DayOne/user
/usr/X/desktop/directory templates
Exit Codes
The dtdeluser command exits with one of the following values:
0 success, user deleted
1 user not in /etc/passwd
2 user $HOME missing
3 user $HOME access denied
USAGE
dtdeluser resides in /usr/X/adm. Since the PATH environment
variable does not normally include that directory, either
specify the full pathname or add /usr/X/adm to the PATH
variable.
REFERENCES
adminuser(1M), cron(1M), crontab(1), dtadduser(1M), make-
owner(1M), tfadmin(1M)
Copyright 1994 Novell, Inc. Page 2