* RE: Can't log into root
@ 1997-01-16 5:00 Graham Jones
0 siblings, 0 replies; 4+ messages in thread
From: Graham Jones @ 1997-01-16 5:00 UTC (permalink / raw)
Phil Truesdale wrote:
> We've been happily logging into root from the console Xterm on our
> Alphaserver 2100, Digital Unix v3.2, for a long time..
>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.
type:
# rm /dev/:0
this file shouldn't be there, it's a bug
graham@liteyear.demon.co.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Can't log into root
@ 1997-01-14 5:00 Phil Truesdale
1997-01-15 5:00 ` Paul Szabo
1997-01-16 5:00 ` Stephen L. LaBelle
0 siblings, 2 replies; 4+ messages in thread
From: Phil Truesdale @ 1997-01-14 5:00 UTC (permalink / raw)
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:
# <device name>
/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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't log into root
1997-01-14 5:00 Phil Truesdale
@ 1997-01-15 5:00 ` Paul Szabo
1997-01-16 5:00 ` Stephen L. LaBelle
1 sibling, 0 replies; 4+ messages in thread
From: Paul Szabo @ 1997-01-15 5:00 UTC (permalink / raw)
In article <32DC04D5.2750@wheaton.edu> Phil Truesdale
<Philip.Truesdale@wheaton.edu> writes:
> ... get the message "Not authorized for terminal access ..." ...
> We are running C2 security. The /etc/securettys file [ seems OK ] ...
> The authck program reports no problems.
Check the /etc/auth/system/{ttys,devassign} files. Mine look like:
# uname -a
OSF1 rome.maths.su.oz.au V3.2 148 alpha
# pwd
/etc/auth/system
# grep :0 ttys devassign
ttys:local\:0|local\:0.0:t_devname=local\:0:t_xdisplay:t_login_timeout#0:chkent:
ttys:\:0|\:0.0:t_devname=\:0:t_uid=mike:t_logtime#850954424:\
ttys:\:0.1:t_devname=\:0.1:t_xdisplay:t_login_timeout#0:chkent:
devassign:local\:0|local\:0.0:v_devs=local\:0,local\:0.0:v_type=xdisplay:chkent:
devassign:\:0|\:0.0:v_devs=\:0,\:0.0:v_type=xdisplay:chkent:
devassign:\:0.1:v_devs=\:0.1:v_type=xdisplay:chkent:
Hope this helps.
---
[ The email address is munged in the headers and in the lines below, in an ]
[ attempt to avoid junk (spam) mail. Sorry about the inconvenience caused. ]
---
Paul Szabo - System Manager // School of Mathematics and Statistics
psz at maths . usyd . edu . au // University of Sydney, NSW 2006, Australia
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Can't log into root
1997-01-14 5:00 Phil Truesdale
1997-01-15 5:00 ` Paul Szabo
@ 1997-01-16 5:00 ` Stephen L. LaBelle
1 sibling, 0 replies; 4+ messages in thread
From: Stephen L. LaBelle @ 1997-01-16 5:00 UTC (permalink / raw)
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:
: # <device name>
: /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 # #
##############################################################################
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-01-16 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-16 5:00 Can't log into root Graham Jones
-- strict thread matches above, loose matches on Subject: below --
1997-01-14 5:00 Phil Truesdale
1997-01-15 5:00 ` Paul Szabo
1997-01-16 5:00 ` Stephen L. LaBelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox