From owner-freebsd-doc Sat Mar 10 8:10: 8 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 689E637B719 for ; Sat, 10 Mar 2001 08:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2AGA1c33509; Sat, 10 Mar 2001 08:10:01 -0800 (PST) (envelope-from gnats) Received: from type49.com (type49.com [195.26.32.125]) by hub.freebsd.org (Postfix) with ESMTP id B8EE137B718 for ; Sat, 10 Mar 2001 08:07:14 -0800 (PST) (envelope-from mark@type49.com) Received: by type49.com (Postfix, from userid 1001) id 0C89D1AD2; Sat, 10 Mar 2001 16:07:07 +0000 (GMT) Message-Id: <20010310160707.0C89D1AD2@type49.com> Date: Sat, 10 Mar 2001 16:07:07 +0000 (GMT) From: mark@type49.com Reply-To: mark@type49.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/25656: New FAQ entry for 'toor' account (PATCH) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25656 >Category: docs >Synopsis: New FAQ entry for 'toor' account (PATCH) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 10 08:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: mark drayton >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: FreeBSD type49.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Feb 13 13:43:54 GMT 2001 root@type49.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: New FAQ entry to answer "what's this 'toor' account?" >How-To-Repeat: Read -questions. >Fix: *** /usr/doc/en_US.ISO_8859-1/books/faq/book.sgml Thu Mar 8 11:01:25 2001 --- book.sgml Sat Mar 10 15:35:17 2001 *************** *** 6263,6268 **** --- 6263,6297 ---- + + What's this UID 0 'toor' account? Have I been compromised? + + + + Don't worry. toor is an 'alternative' root account + (toor is root spelt backwards). Previously it was created + when the bash shell was installed but recently it has been + created by default. It was installed with bash so you + could use the bash shell as a root user, without changing + the real root user's default shell. This is important as + bash would likely be installed in /usr/local/bin + which, by default, resides on a different disk + partition. If root's shell is set to + /usr/local/bin/bash and /usr + is unmountable for some reason, root 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). + + Some people use toor for day-to-day root tasks with the bash + shell, leaving root (with /bin/csh or /bin/sh) for single + user mode or emergencies. By default you can't log in using + toor as it doesn't have a password, so log in as root and + set a password for toor: &prompt.root; passwd toor + then log out and try logging in as toor. + + + + Eek! I forgot the root password! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message