Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ unretire(ADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ale(ADM)

authcap(F)


 unretire(ADM)                   19 June 1992                   unretire(ADM)


 Name

    unretire, chtype - change the usertype of an account

 Syntax

    /tcb/bin/unretire [ -t usertype ] users

 Description

    unretire changes the usertype of an account.  By default (without the -t
    flag) unretire expects the accounts specified on the command line to be
    currently ``retired'' and sets their type back to ``general'', or
    ``pseudo'' if the account has an owner.

    Specifying a usertype overides owned accounts being unretired to usertype
    ``pseudo'': the other usertypes are: sso, operator and admin.  (See
    addxusers(ADM) for an explanation of usertypes.)

    unretire can also be used to retire users by specifying a usertype of
    ``retired'' (assuming the account is not already retired).  When an
    account is retired, the encrypted password is set to an asterisk (*),
    further ensuring that the account can no longer be used.  Accounts which
    are logged in cannot have their usertype changed.

    If no users are specified on the command line then unretire will read
    standard input for account names, one per line.

    unretire uses ale(ADM) and the underlying chtype shell script.  ale
    requires the invoking user to have the auth subsystem authorization and
    the chown and execsuid kernel authorizations.

 Files

    /tcb/files/auth/?/*           protected password database
    /tcb/lib/auth_scripts/chtype  change type script

 See also

    ale(ADM), authcap(F)

 Diagnostics

    unretire returns an exit status of 1 if it was interrupted

 Notes

    Because the re-use of a user account is not allowed on a C2 system, unre-
    tire checks for UIDREUSE=YES in /etc/default/login before reactivating an
    account.

    Currently the TCB does not distinguish between pseudo, sso, operator or
    admin usertypes.  They all indicate that the account is not intended to
    be logged into directly.

 Value added

    unretire is an extension of AT&T System V provided by The Santa Cruz
    Operation, Inc.


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