Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow request password Sco 5.0.6 - Help!!

Status
Not open for further replies.

dellit

IS-IT--Management
Jan 21, 2007
65
IT
Hi,

slowness in the request password, about 30 second.
Sco OpenServer 5.0.6
Thanks
 
rm -f /etc/auth/system/ttys-t

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Create a shell script called /bin/fixttys that contains the
following:

# fixttys

sleep=$1
if [ -z "$sleep" ] ; then
sleep=5 # default to 5 sec intervals
fi

while [ true ]; do
if [ -f /etc/auth/system/ttys-t ];
then
tcbck
fi
sleep $sleep
done


Create another script called /etc/rc2.d/S99fixttys that contains these lines:
# S99fixttys

/bin/fixttys 5 &

Finally, run the following commands then reboot the system to start
the fixttys script:

chmod 711 /bin/fixttys
chown bin:bin /bin/fixttys
chmod 744 /etc/rc2.d/S99fixttys
chown root:root /etc/rc2.d/S99fixttys
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top