Date: Sun, 14 Feb 2010 11:05:53 +0800 From: Lin Taosheng <taosheng.lin@gmail.com> To: utisoft@gmail.com Cc: Bob Johnson <fbsdlists@gmail.com>, Matthew Seaman <m.seaman@black-earth.co.uk>, freebsd-questions@freebsd.org Subject: Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root" Message-ID: <5ffa459b1002131905i16008ffg13f5b4260a3155b@mail.gmail.com> In-Reply-To: <b79ecaef1002131206p658f2fd8n6732b4f3a2caebf1@mail.gmail.com> 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> <b79ecaef1002131206p658f2fd8n6732b4f3a2caebf1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
yes, I login with "toor" as root successfully. 2010/2/14 Chris Rees <utisoft@googlemail.com>: > On 13 February 2010 18:10, Matthew Seaman <m.seaman@black-earth.co.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ffa459b1002131905i16008ffg13f5b4260a3155b>