From owner-freebsd-questions@FreeBSD.ORG Sun Feb 14 03:05:54 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 BFD60106566B for ; Sun, 14 Feb 2010 03:05:54 +0000 (UTC) (envelope-from taosheng.lin@gmail.com) Received: from mail-pz0-f184.google.com (mail-pz0-f184.google.com [209.85.222.184]) by mx1.freebsd.org (Postfix) with ESMTP id 903D88FC12 for ; Sun, 14 Feb 2010 03:05:54 +0000 (UTC) Received: by pzk14 with SMTP id 14so4379603pzk.3 for ; Sat, 13 Feb 2010 19:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=S4Z9RJ56vXUJNLH9FE7ITMxNRtTXOyMlMBEnLxAQ03U=; b=DG4zuVl6N2+zd8Z1TB7vvsakQ/Ts7wKWwJ5tgrhPbeGlyRhAfcgvaVJQS5Pc01lVtl In6ICjIIPZVrwBrEUAWWxCUlVyBcGRZuzkCb1BgHLDJvtxIHd3FPC+5JQTSwHP1wKbu7 2q+tEmGXWKS1DCNiToamsCk03Jy2gY51mYWi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Urhvg5/1O2eVjQlLVTkAxFRZNUmm6epk1zEQFQ6O62licRmVV5yQIZVO/3kSsQ21Wt fpVYIODfpj5H3GyEnr6/e0mob97X6F0jhLGZvJvST8+DCGxJak1D9Dd4jDCPwnRalqJD xHqaS+og9OTav5hh0GCTYL6wijIk48O5r6UqQ= MIME-Version: 1.0 Received: by 10.115.103.20 with SMTP id f20mr2316271wam.160.1266116754034; Sat, 13 Feb 2010 19:05:54 -0800 (PST) In-Reply-To: References: <387428344-1265866387-cardhu_decombobulator_blackberry.rim.net-794243854-@bda049.bisx.prodap.on.blackberry> <54db43991002130949l1cdddf5ey5565547637c531@mail.gmail.com> <4B76EB13.3060900@black-earth.co.uk> Date: Sun, 14 Feb 2010 11:05:53 +0800 Message-ID: <5ffa459b1002131905i16008ffg13f5b4260a3155b@mail.gmail.com> From: Lin Taosheng To: utisoft@gmail.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Bob Johnson , Matthew Seaman , 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2010 03:05:54 -0000 yes, I login with "toor" as root successfully. 2010/2/14 Chris Rees : > On 13 February 2010 18:10, Matthew Seaman wr= ote: >> 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. =C2=A0Th= e >>> "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. >> =C2=A0Shouldn't cause the observed problem. >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0Cheers, >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0Matthew >> > > I would imagine then that /etc/ttys is set to 'insecure' for all. > > Can you log in as root Jason? > > Chris > --=20 Lin Taosheng Mobile: 86-010-15801256127 MSN: taosheng.lin@gmail.com