DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ttyupd(ADM)


ttyupd, termupd -- update 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.

Exit values

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.

Authorization

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

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)

Standards conformance

ttyupd and termupd are not part of any currently supported standard; they are an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003