Explain the existence of the toor account.
PR: 25656 Submitted by: mark drayton <mark@type49.com> Approved by: nik
This commit is contained in:
parent
fa56c844fe
commit
e44533f13f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9019
2 changed files with 72 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
<corpauthor>The FreeBSD Documentation Project</corpauthor>
|
||||
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.156 2001/03/15 01:57:58 dd Exp $</pubdate>
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.157 2001/03/15 02:02:41 dd Exp $</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>1995</year>
|
||||
|
@ -6217,6 +6217,41 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
|||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="toor-account">
|
||||
<para>What's this UID 0 <username>toor</username> account? Have I
|
||||
been compromised?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
<para>Don't worry. <username>toor</username> is an
|
||||
<quote>alternative</quote> superuser account (toor is root
|
||||
spelt backwards). Previously it was created when the
|
||||
&man.bash.1; shell was installed but now it is created by
|
||||
default. It is intended to be used with a non-standard shell so
|
||||
you don't have to change <username>root</username>'s default
|
||||
shell. This is important as shells which aren't part of the
|
||||
base distribution (for example a shell installed from ports or
|
||||
packages) are likely be to be installed in
|
||||
<filename>/usr/local/bin</filename> which, by default, resides
|
||||
on a different filesystem. If <username>root</username>'s shell
|
||||
is located in <filename>/usr/local/bin</filename> and
|
||||
<filename>/usr</filename> (or whatever filesystem contains
|
||||
<filename>/usr/local/bin</filename>) isn't mounted for some
|
||||
reason, <username>root</username> won't be able to log in to
|
||||
fix a problem (although if you reboot into single user mode
|
||||
you'll be prompted for the path to a shell).</para>
|
||||
|
||||
<para>Some people use <username>toor</username> for
|
||||
day-to-day root tasks with a non-standard shell, leaving
|
||||
<username>root</username>, with a standard shell, for
|
||||
single user mode or emergencies. By default you can't log
|
||||
in using <username>toor</username> as it doesn't have a
|
||||
password, so log in as root and set a password for
|
||||
<username>toor</username> if you want to use it.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="forgot-root-pw">
|
||||
<para>Eek! I forgot the root password!</para>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<corpauthor>The FreeBSD Documentation Project</corpauthor>
|
||||
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.156 2001/03/15 01:57:58 dd Exp $</pubdate>
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.157 2001/03/15 02:02:41 dd Exp $</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>1995</year>
|
||||
|
@ -6217,6 +6217,41 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
|||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="toor-account">
|
||||
<para>What's this UID 0 <username>toor</username> account? Have I
|
||||
been compromised?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
<para>Don't worry. <username>toor</username> is an
|
||||
<quote>alternative</quote> superuser account (toor is root
|
||||
spelt backwards). Previously it was created when the
|
||||
&man.bash.1; shell was installed but now it is created by
|
||||
default. It is intended to be used with a non-standard shell so
|
||||
you don't have to change <username>root</username>'s default
|
||||
shell. This is important as shells which aren't part of the
|
||||
base distribution (for example a shell installed from ports or
|
||||
packages) are likely be to be installed in
|
||||
<filename>/usr/local/bin</filename> which, by default, resides
|
||||
on a different filesystem. If <username>root</username>'s shell
|
||||
is located in <filename>/usr/local/bin</filename> and
|
||||
<filename>/usr</filename> (or whatever filesystem contains
|
||||
<filename>/usr/local/bin</filename>) isn't mounted for some
|
||||
reason, <username>root</username> won't be able to log in to
|
||||
fix a problem (although if you reboot into single user mode
|
||||
you'll be prompted for the path to a shell).</para>
|
||||
|
||||
<para>Some people use <username>toor</username> for
|
||||
day-to-day root tasks with a non-standard shell, leaving
|
||||
<username>root</username>, with a standard shell, for
|
||||
single user mode or emergencies. By default you can't log
|
||||
in using <username>toor</username> as it doesn't have a
|
||||
password, so log in as root and set a password for
|
||||
<username>toor</username> if you want to use it.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="forgot-root-pw">
|
||||
<para>Eek! I forgot the root password!</para>
|
||||
|
|
Loading…
Reference in a new issue