From owner-freebsd-questions@FreeBSD.ORG Sat Feb 13 20:07:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10D0010656B3 for ; Sat, 13 Feb 2010 20:07:16 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-bw0-f221.google.com (mail-bw0-f221.google.com [209.85.218.221]) by mx1.freebsd.org (Postfix) with ESMTP id 90BB28FC0C for ; Sat, 13 Feb 2010 20:07:15 +0000 (UTC) Received: by bwz21 with SMTP id 21so2939222bwz.4 for ; Sat, 13 Feb 2010 12:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=hCmmz1g0UzKyfKa8XIEiWWM/WVLA3PLR/LXJL/XIfWo=; b=lfFnZ0eMhrERRG2EkvVht+6wxtxfmFSCqqC/x3L99dvILfkOTKltHxwDNUrmwJNRcw ltU7bYhGUOe2N0a/8fzGkvGo25ZuFf9SBYl2e/9GC+/cLerVUrl7vUSiSNSuO5R0WRF0 sXfNhSnybytoaCUmXap6hhLPKaGlY/dMmHt00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=efRjsYbnMegrujRhK053kDXVIfs++LCvxtXHWKfgyguK6iqJntJluqV252wXoLk3oi N3y2cFomHaTy5V4LP2nSXlW3i7SLoRJMk+jqsPwbI3F04/1dZOWHInpc6YexTj5nMBrO Wxq+uwfHeFgrT9TDBRrFMDAkUfftp0w3wdbjc= MIME-Version: 1.0 Received: by 10.204.38.77 with SMTP id a13mr1976254bke.26.1266091634385; Sat, 13 Feb 2010 12:07:14 -0800 (PST) In-Reply-To: <4B76EB13.3060900@black-earth.co.uk> References: <387428344-1265866387-cardhu_decombobulator_blackberry.rim.net-794243854-@bda049.bisx.prodap.on.blackberry> <54db43991002130949l1cdddf5ey5565547637c531@mail.gmail.com> <4B76EB13.3060900@black-earth.co.uk> From: Chris Rees Date: Sat, 13 Feb 2010 20:06:54 +0000 Message-ID: To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Bob Johnson , Jason Lin , freebsd-questions@freebsd.org Subject: Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 20:07:16 -0000 On 13 February 2010 18:10, Matthew Seaman wrot= e: > On 13/02/2010 17:49, Bob Johnson wrote: > >> It is possible (I don't remember) that the "toor" account does not >> have a shell in the default passwd file. If that's the problem, use >> vipw to add the path to a shell as the last field on the line. =A0The >> "root" account should provide a good example, or look at the line for >> your own user account. "/bin/csh" should work for recent versions of >> FreeBSD. > > An empty field for the user shell in /etc/{master.,}passwd means the > account gets the default shell, which in the case of FreeBSD is /bin/sh. > =A0Shouldn't cause the observed problem. > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > I would imagine then that /etc/ttys is set to 'insecure' for all. Can you log in as root Jason? Chris