From: "Graham Jones" <graham@liteyear.demon.co.uk>
Subject: Re: root account disabled
Date: 1997/01/13 [thread overview]
Message-ID: <01bc016c$3bd8f020$dd1fdec2@liteyear> (raw)
In-Reply-To: 5b2kd0$qpn@info.service.rug.nl
Fred Zwarts <ZWARTS@KVIASV.KVI.nl> wrote in article
<5b2kd0$qpn@info.service.rug.nl>...
> Yesterday it still worked, but today, when I try to login as root,
> I get the message "Account is disabled -- see Account Administrator".
From your news posting I take it you're using C2 security. If so, to
re-enable the root account you need to edit the TCB database.
In DU 4.0 and above this database in a binary form. In 3.2 and below it is
in a text form.
You should be able to log in on the console, no matter what (text console
not GUI), you will get a message something like this:
Account disabled, but console login is allowed
If you still can't get in, boot to single user mode and mount the required
file systems.
( if in single user mode -
mount / read write:
mount -u /
fsck the /var and /usr partitions if necessary then mount them:
fsck /usr
mount /usr
...
set your TERM env var to vt100, so you can use vi:
TERM=vt100
export TERM)
Now edit the tcb database -
4.0 or above type:
/usr/tcb/bin/edauth root
You'll get an edit prompt (:), type vi to edit it in vi
3.2 or below edit the text version of the tcb database:
vi /tcb/files/auth/r/root
then you need to remove what ever is locking the account. This is likely to
be either an entry like :u_lock: this should be changed to :u_lock@:
or, more likely, the number of unsuccessful logins has exceeded the
maximum:
:u_numunsuclog#8:
just change this value to 0.
wq out of vi and you should be able to su/login as normal
> What could have caused it?
Someone trying to login in as root. You should regularly check to see if
this is being
attempted by reviewing the file /usr/adm/sialog
This doesn't exist by default, create it using:
> /usr/adm/sialog
chown root:system /usr/adm/sialog
chmod 640 /usr/adm/sialog
Also a good idea is to alter /etc/syslog.conf to spool warnings to you when
you
are logged in (auth.error)
prev parent reply other threads:[~1997-01-13 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-09 5:00 root account disabled Fred Zwarts
1997-01-13 5:00 ` Graham Jones [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