Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 20:06:54 +0000
From:      Chris Rees <utisoft@googlemail.com>
To:        Matthew Seaman <m.seaman@black-earth.co.uk>
Cc:        Bob Johnson <fbsdlists@gmail.com>, Jason Lin <taosheng.lin@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: HELP! Is that possible "creating a user named root but  acturallynot the administrator root"
Message-ID:  <b79ecaef1002131206p658f2fd8n6732b4f3a2caebf1@mail.gmail.com>
In-Reply-To: <4B76EB13.3060900@black-earth.co.uk>
References:  <387428344-1265866387-cardhu_decombobulator_blackberry.rim.net-794243854-@bda049.bisx.prodap.on.blackberry> <c81e6afd1002102307l2b089a76p36a8d67d3085a1e5@mail.gmail.com>  <hl34b5$usg$1@ger.gmane.org> <54db43991002130949l1cdddf5ey5565547637c531@mail.gmail.com>  <4B76EB13.3060900@black-earth.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 February 2010 18:10, Matthew Seaman <m.seaman@black-earth.co.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef1002131206p658f2fd8n6732b4f3a2caebf1>