* How to unlock my console
@ 1998-03-24 5:00 Oliveira
1998-03-25 5:00 ` Laurent Menten (student)
1998-03-27 5:00 ` Nikola Milutinovic
0 siblings, 2 replies; 3+ messages in thread
From: Oliveira @ 1998-03-24 5:00 UTC (permalink / raw)
Hello!
We have an AlphaStation 200, running DUN 4.0B. We are fairly new
to Unix admin, so we need a help. Somebody, probably trying to
login at the console, put it in a "LOCKED" state, so every time we
try to login it says: "Terminal is locked."
We see that what happens has nothing to do with a specific account,
because we can login using TELNET, but it can't be done using the
console.
So how do we unlock the console terminal?
Thank you,
Oliveira
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How to unlock my console
1998-03-24 5:00 How to unlock my console Oliveira
@ 1998-03-25 5:00 ` Laurent Menten (student)
1998-03-27 5:00 ` Nikola Milutinovic
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Menten (student) @ 1998-03-25 5:00 UTC (permalink / raw)
By the way I think you are right in saying someone tried to loggin at
the console but it seems this someone succeeded and locked it! In this
case you'll have to know how did and its password. If this is not that:
I haven't yet encountered the problem (I need some more infomation: do
the console be in graphic mode (X or DCE) or text mode, is there an edit
line for both username and pass or just for pass...)
As a very very last try you may run a <shutdown -r now> as root
to reboot but check the root account password before (don't know if
someone has hacked and changed the password. Note: I hope you've enabled
remote root loggin!
I Hope it helped...
-- L.I.I. DEVELOPMENT TEAM --
Universe is a device... We'll make its driver
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to unlock my console
1998-03-24 5:00 How to unlock my console Oliveira
1998-03-25 5:00 ` Laurent Menten (student)
@ 1998-03-27 5:00 ` Nikola Milutinovic
1 sibling, 0 replies; 3+ messages in thread
From: Nikola Milutinovic @ 1998-03-27 5:00 UTC (permalink / raw)
Oliveira wrote:
>
> We have an AlphaStation 200, running DUN 4.0B. We are fairly new
> to Unix admin, so we need a help. Somebody, probably trying to
> login at the console, put it in a "LOCKED" state, so every time we
> try to login it says: "Terminal is locked."
>
> We see that what happens has nothing to do with a specific account,
> because we can login using TELNET, but it can't be done using the
> console.
>
> So how do we unlock the console terminal?
You have installed ENHANCED SECURITY (C2) pack and it is enabled. When
someone tries to login from a login device (pseudo-tty, X Login,
serial-tty) C2 pack records UID and time of unsuccessful login and
number of successive unsuccessful login attempts. If that number gets
higher than the number_of_max_login_attempts, that login device is
locked.
All the data about terminals is held in security data base
(/etc/auth/system/ttys.db) which is in binary form and should be
accessed via utility edauth (you must be root):
# export EDITOR=vi
# edauth -d t local\:0
local\:0:dev_name=local\:0 .... :t_failures#14:chkent:
........................
You should get a vi session with entry for your local X terminal. Your
problem is that field "t_failers#14". If the number if higher than what
is set (and default is 10) then your terminal is locked. So, delete that
filed and save+exit vi. Then you must RESTART CDE login (actually, the
whole X system). If you don't you'll still be stuck.
Hope this helps,
Nix.
P.S. And dont worry, the person who tried to login to your WS, didn't
succeede in it. He/she was locked out, just like you.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-27 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-24 5:00 How to unlock my console Oliveira
1998-03-25 5:00 ` Laurent Menten (student)
1998-03-27 5:00 ` Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox