Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ttyupd(ADM) — OpenDesktop 1.1.1g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ale(ADM)

authcap(F)


     TTYUPD(ADM)                          UNIX System V



     Name
          ttyupd, termupd - updates the Terminal Control database


     Syntax
          /tcb/bin/ttyupd


     Description
          ttyupd attempts to create Terminal Control database  entries
          for  terminals  present  in  the  /etc/inittab  file but not
          present in the  Terminal  Control  database.   ttyupd  calls
          ale(ADM)  passing  the  Terminal  Control  database  and the
          script termupd as parameters.

          termupd produces an updated version of the Terminal  Control
          database  in the lockfile created by ale.  termupd generates
          a list of the terminals in /etc/inittab and substitutes  the
          name  of  the  real  terminal  for  any alias (in the Device
          Assignment database).  Next termupd  makes  a  list  of  the
          terminals  in  the  Terminal  Control  database. Finally the
          Terminal Control database is copied to the lockfile and  any
          terminals appearing in the first list but not the second are
          added to the end of the lockfile.


     Files
          /etc/auth/system/files              File Control database

          /etc/auth/system/devassign          Device        Assignment
          database

          /tcb/lib/auth_scripts/termupd       update shell script

          /etc/inittab                        script for init process


     See Also
          ale(ADM), authcap(F)


     Diagnostics
          ttyupd returns the exit status of ale.

          termupd returns 0 if entries are added, 1 if it  detects  an
          error  and  2  if  there are no entries to add. Errors cause
          appropriate error messages to be displayed.


     Notes
          Although ttyupd is installed  with  execute  permission  for
          all,  because  it  calls  ale,  the auth subsystem and chown
          kernel authorizations are required to  successfully  execute
          ttyupd.


     Value Added
          ttyupd is an extension of AT&T  System  V  provided  by  the
          Santa Cruz Operation.


     (printed 12/11/90)                               TTYUPD(ADM)

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