Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 08:52:25 -0500 (CDT)
From:      Mark Tinguely <tinguely@plains.NoDak.edu>
To:        s198322@ccs.sogang.ac.kr, satya@dspsoft.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: [Q] What is the "toor" in '/etc/passwd'?
Message-ID:  <199809011352.IAA26731@plains.NoDak.edu>

next in thread | raw e-mail | index | archive | help
>  I think it is a backup root login with a simple sh. so incase
>  you were unable to login as root due to say a corrupt shell,
>  you can use toor to login to a simple shell.
>
>  I do not know how to activate the account. I cannot seem
>  to use passwd on it or login using the root passwd.

toor is a backup superuser account. I have been saved several times
by having another superuser account when the root account's default shell
was corrupted, removed by a crash.

the command 'passwd [-l] toor' will set password, and toor has the
same restrictions as the root account, a person can only login into
that account from a secure console. sudo is the better everyday way of
doing superuser commands. next preferable, if you need a superuser shell
use su.

The downside of having a toor account is one more superuser account that
could be broken into. for that reason, I set the toor password by using `vipw'
and copying the encrypted password from the root account into the toor account.
duplicate the root line, change the "root" account name to "toor" and change
the shell.

--mark.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809011352.IAA26731>