Problem
The /etc/passwd file was edited manually and then Scoadmin->Account
was run to add a new user. After adding the user, Scoadmin->Account
hangs. The system must be rebooted to clear the hang. Solution
To turn on debugging for Scoadmin->Account the VTCL script for
the account manager must be edited. To do this, edit:/opt/K/SCO/Unix/5.0.4Eb/sa/account/accountGUI(Note: The UNIX path is different for 5.0.0Cl, 5.0.2Dp, 5.0.4Eb, 5.0.5Eb, 5.0.6Ga )
Using your favorite editor, modify the accountGUI script. Insert this new line immediately following the "#!/bin/osavtcl" line:
cmdtrace on [ open "/tmp/script.log" a+ ](Note: The "/tmp/script.log" can be any path and filename.)
To disable debugging, insert the following after the "#!/bin/osavtcl" line:
cmdtrace offNOTE: This logfile can grow to be quite large in a short period of
time. Therefore, after viewing the captured information from
the cmdtrace on command, make sure to use the aforementioned
command to prevent the debug information from being captured
and re-directed to the logfile. See also
The manual pages for scoadmin(F), useradd(ADM), tclX(TCL).
TA104921 "How can I debug SCO Visual Tcl scripts?"