Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dtadduser(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adminuser(1M)

cron(1M)

crontab(1)

dtdeluser(1M)

dtmodem(1M)

dtprinter(1M)

dtprivilege(1M)

dtstatus(1M)

make-owner(1M)

tfadmin(1M)

uucp(1C)






       dtadduser(1M)                                          dtadduser(1M)


       NAME
             dtadduser - add a UnixWare Desktop user

       SYNOPSIS
             dtadduser [-r remote] [user]

       DESCRIPTION
             The dtadduser command adds a new UnixWare Desktop user.  It is
             normally invoked thru the UnixWare Desktop User Setup
             application, in the Admin Tools folder.

             -r remote
                    Specify the X-terminal or system name the user
                    frequently logs in from.

             user   Specify the user to add.

             dtadduser creates the files .olinitrc, .olsetup, .Xdefaults,
             and .xsession in the user's home directory and adds the line

                   .  $HOME/.olsetup<TAB>#!@ Do not edit this line !@

             to the end of the user's .profile file.  The user is specified
             by login name using either the optional argument user or by
             the $LOGNAME environment variable.

             dtadduser places in the file .Xdefaults the needed Motif
             resources, as well as the numMouseBtns default if the file
             /etc/default/mouse exists.

             If the user already exists, these files (excluding .Xdefaults)
             will be overwritten.  If write permissions are not granted on
             any of these files, dtadduser will write an error message on
             standard error stating so, and exit.

             dtadduser also sets up several other things:

                o   creates default directories in $HOME containing files
                    that link to tools such as xterm and shutdown
                o   creates a mailbox directory in $HOME
                o   creates a UUCP_InBox directory under the
                    $HOME/utilities directory with a link to
                    /var/spool/uucppublic/receive/user
                o   creates a .wastebasket directory




                           Copyright 1994 Novell, Inc.               Page 1













      dtadduser(1M)                                          dtadduser(1M)


               o   puts user in cron.allow
               o   grants default desktop permissions
               o   adds user to the TFM database
               o   queries the NIS map to determine if user is a NIS user
               o   reads the usr/X/desktop/LoginMgr/DayOne/user file to
                   determine the user's dayone locale.
               o   localizes desktop files in the user's home directory

         Files
            $HOME/.profile
            $HOME/.olsetup
            $HOME/.Xdefaults
            $HOME/.xsession
            /etc/security/tfm/users/user
            /usr/lib/cron/cron.allow
            /usr/X/adm/day1addmap
            /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 dtadduser command exits with one of the following values:

            0     success, user added

            1     user not in /etc/passwd

            2     user $HOME missing

            3     user $HOME access denied

            4     user .profile access denied

            5     copy of .olinitrc, .olsetup, or .xsession failed

            6     adminuser failed

      USAGE
            dtadduser 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.




                          Copyright 1994 Novell, Inc.               Page 2













       dtadduser(1M)                                          dtadduser(1M)


             If dtadduser is invoked from the UnixWare shell or via a
             user-supplied shell script, and if user was already a UnixWare
             Desktop user, the User Setup window will show that the user
             has no administrative permissions.  Use dtdeluser to remove
             user as a UnixWare Desktop user, and then invoke dtadduser.

       REFERENCES
             adminuser(1M), cron(1M), crontab(1), dtdeluser(1M),
             dtmodem(1M), dtprinter(1M), dtprivilege(1M), dtstatus(1M),
             make-owner(1M), tfadmin(1M), uucp(1C)






































                           Copyright 1994 Novell, Inc.               Page 3








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026