* root account disabled
@ 1997-01-09 5:00 Fred Zwarts
1997-01-13 5:00 ` Graham Jones
0 siblings, 1 reply; 2+ messages in thread
From: Fred Zwarts @ 1997-01-09 5:00 UTC (permalink / raw)
Yesterday it still worked, but today, when I try to login as root,
I get the message "Account is disabled -- see Account Administrator".
What could have caused it?
I guess root is the account administrator, so what can I do to solve the
problem?
I can boot in single user mode, but then there is no X, so I cannot access
the on-line documentation. What are the commands to enable the root account
again?
Fred Zwarts KVI Internet: F.Zwarts@KVI.nl
Phone: (+31)50-3633619 Telefax: (+31)50-3634003
X400: C=nl;ADMD=400net;PRMD=surf;O=KVI;S=Zwarts;G=Fred
Zernikelaan 25, 9747 AA Groningen, The Netherlands
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: root account disabled
1997-01-09 5:00 root account disabled Fred Zwarts
@ 1997-01-13 5:00 ` Graham Jones
0 siblings, 0 replies; 2+ messages in thread
From: Graham Jones @ 1997-01-13 5:00 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-01-13 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-09 5:00 root account disabled Fred Zwarts
1997-01-13 5:00 ` Graham Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox