Date: Wed, 14 Mar 2001 02:50:02 -0800 (PST) From: mark@type49.com (mark drayton) To: freebsd-doc@freebsd.org Subject: Re: docs/25656: New FAQ entry for 'toor' account (PATCH) Message-ID: <200103141050.f2EAo2Y73284@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/25656; it has been noted by GNATS.
From: mark@type49.com (mark drayton)
To: dima@unixfreak.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: docs/25656: New FAQ entry for 'toor' account (PATCH)
Date: Wed, 14 Mar 2001 10:46:06 +0000 (GMT)
diffed against doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.154
--- /usr/doc/en_US.ISO_8859-1/books/faq/book.sgml Wed Mar 14 06:40:16 2001
+++ book.sgml Wed Mar 14 10:26:09 2001
@@ -6303,6 +6303,40 @@
</qandaentry>
<qandaentry>
+ <question id="toor-account">
+ <para>What's this UID 0 'toor' account? Have I been compromised?</para>
+ </question>
+
+ <answer>
+ <para>Don't worry. <username>toor</username> is an 'alternative'
+ superuser account (toor is root spelt backwards). Previously
+ it was created when the &man.bash.1; shell was installed but
+ recently it has been 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 disk partition. If <username>root</username>'s
+ shell is located in <filename> /usr/local/bin</filename>
+ and <filename>/usr</filename> (or whatever partition
+ contains <filename>/usr/local/bin</filename>) is unmountable
+ for some reason, <username>root</username> won't be able to
+ log in to fix the 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 <filename>/bin/csh</filename> or <filename>/bin/sh</filename>) 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>:</para>
+ <screen>&prompt.root; <userinput>passwd toor</userinput></screen>
+
+ <para>then log out and try logging in as <username>toor</username>.</para>
+ </answer>
+ </qandaentry>
+
+ <qandaentry>
<question id="forgot-root-pw">
<para>Eek! I forgot the root password!</para>
</question><answer>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103141050.f2EAo2Y73284>
