From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c7816fb6c4fee4 X-Google-Attributes: gidfee84,public From: labelles@clem.mscd.edu (Stephen L. LaBelle) Subject: Re: Can't log into root Date: 1997/01/16 Message-ID: <5blkf6$c3f1@clem.mscd.edu>#1/1 X-Deja-AN: 210229981 references: <32DC04D5.2750@wheaton.edu> organization: Metropolitan State College of Denver newsgroups: comp.unix.osf.osf1 Hi Phil, Phil Truesdale (Philip.Truesdale@wheaton.edu) wrote: : We've been happily logging into root from the console Xterm on our : Alphaserver 2100, Digital Unix v3.2, for a long time, but something has : happened. The system hung for no discoverable reason, and after hitting : reset and rebooting, we now get the message "Not authorized for terminal : access--see System Administrator" and the login attempt is rejected. : We are running C2 security. The /etc/securettys file contains: : # : /dev/console : :0 : local:0 : # exit : The authck program reports no problems. We can't use XIsso to look at : anything, since it can only be used when logged in as root. : I realize that all this is rather vague, but can someone suggest a : cause, or otherwise direct us in finding a solution. : We'll appreciate any help! : Phil I have seen this before. I believe you have a corrupt file /etc/auth/system/ttys Here how I fixed it: 1) Boot into single-user mode which logs root into console 2) Go into the directory /etc/auth/system You will probally find the file ttys is corrupt. Cat the the file or something to look at it to verify that. 3) Anyhow, you need a non-corrput copy of that file. If you have done any DU upgrades, files such as: .proto..ttys .new.ttys exist in that directory. Copy one of those over the corrupt ttys file and reboot, that should then allow root to login at console. 4) Finally once you get root logged into the console. Restore the most recent copy of your ttys file from your backups. Steve -- ############################################################################## # Stephen LaBelle # Internet : labelles@mscd.edu # # Systems Programmer & Postmaster # # # Metropolitan State College of Denver # # # Denver, Colorado USA # # ##############################################################################