HELP! Is that possible "creating a user named root but acturallynot the administrator root"

Lin Taosheng taosheng.lin at gmail.com
Sun Feb 14 03:05:54 UTC 2010


yes, I login with "toor" as root successfully.

2010/2/14 Chris Rees <utisoft at googlemail.com>:
> On 13 February 2010 18:10, Matthew Seaman <m.seaman at black-earth.co.uk> wrote:
>> 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.  The
>>> "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.
>>  Shouldn't cause the observed problem.
>>
>>        Cheers,
>>
>>        Matthew
>>
>
> I would imagine then that /etc/ttys is set to 'insecure' for all.
>
> Can you log in as root Jason?
>
> Chris
>



-- 
Lin Taosheng
Mobile: 86-010-15801256127
MSN:   taosheng.lin at gmail.com


More information about the freebsd-questions mailing list