Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmuser(C) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkuser(C)

backup(C)



     RMUSER(C)                XENIX System V                 RMUSER(C)



     Name
          rmuser - Removes a user account from the system.

     Syntax
          /etc/rmuser

     Description
          rmuser removes users from the system.  It begins by
          prompting for a user name; after receiving a valid user name
          as a response, it then deletes the named user's entry in the
          password file, and removes the user's mailbox file, the
          .profile file, and the entire home directory. It will also
          remove the users group entry in /etc/group if the user was
          the only remaining member of that group, and the group ID
          was greater than 50.

          Before removing a user ID from the system, make sure its
          mailbox is empty and that all files belonging to that user
          ID have been saved or deleted as required.

          The rmuser program will refuse to remove a user ID or any of
          its files if one or more of the following checks fails:

          -    The user name given is one of the ``system'' user names
               such as root, sys, sysinfo, cron, or uucp. All user IDs
               less than 200 are considered reserved for system use,
               and cannot be removed using rmuser.  Likewise, all
               group IDs less than 50 are not removable using rmuser.

          -    The user's mailbox exists and is not empty.

          -    The user's home directory contains files other than
               .profile .

          rmuser can only be executed by the super-user.

     Files
          /etc/passwd

          /usr/spool/mail/username

          $HOME

     See Also
          mkuser(C), backup(C)










     Page 1                                           (printed 8/7/87)



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