Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <milutinn@EUnet.yu>
Subject: Re: How to unlock my console
Date: 1998/03/27	[thread overview]
Message-ID: <351C02DC.70B3E475@EUnet.yu> (raw)
In-Reply-To: 3518c6e2.8826032@news.unisys.com.br


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.




      parent reply	other threads:[~1998-03-27  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox