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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in login

Status
Not open for further replies.

Carlitos71

IS-IT--Management
Jan 12, 2004
60
0
0
US
Came in this morning to no one being able to login. Getting this error message "Error in terminal setup." This is SCO 6 so went into maintenance mode and ran a fsck -ofull and it appeared to fix a couple things, but on reboot got the same error. Any help is appreciated. Thanks!
 
You may have a problem in the inittab file of your system. cd to /etc, enter cat inittab, if the system response is that there is no inittab file or the file is empty then you found your problem.

The following command will rebuild the inittab file on a SCO 5.0.7, I do not have SCO 6, you may have to verify that the procedure is the same before you do the following command:

cat /etc/conf/cf.d/init.base /etc/conf/init.d > /etc/inittab

Another possible answer has to do with the files associated with the WHO command. If these files have the incorrect permissions you will not be able to login.

This files are located under /etc and their names are utmp, utmpx, wtmp, wtmpx.

the proper permissions are: 0777, to change the permission you would enter chmod 0777 file-name.

If this does not fixes the problem, then you may have to go to the actual location of the file, (The files under /etc are links)
The location of the linked files in SCO 5.0.7 is /var/opt/K/SCO/Unix/5.0.7Hw/etc

The permissions for the linked files is 0664

Hope this will help you

Joe
 
IIRC on earlier versions this could also happen if your battery died and the system reverted to the default date.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
The file ttys might be corrupt. This file is located in: /etc/auth/system
If the date and time of the file doesn't equal the last login, then it's corrupt. A rough way to fix this, is to empty the file. It will build up itself again.
So a simple: > ttys
will do the job.

Greetz, Wim. Please remember, The Netherlands is in a different timezone.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top