does toor have passwd or not? According to logins -p: yes

Anton Shterenlikht mexas at bristol.ac.uk
Thu Dec 31 11:52:42 UTC 2009


On Wed, Dec 30, 2009 at 02:11:13PM +0100, Erik Trulsson wrote:
> On Wed, Dec 30, 2009 at 12:33:41PM +0000, Anton Shterenlikht wrote:
> > I was checking for passwordless accounts with 'logins -p'.
> > None was found. However, I understand toor doesn't have
> > passwd by default, and I never touched it, so I expected
> > logins -p to show toor, but it didn't.
> > 
> > Just to check I also tried to su toor with root passwd - no access. 
> > 
> > Please can somebody clarify if toor does indeed have
> > passwd.
> 
> toor, like many other system accounts, by default has its password entry set
> to '*' which indicates that password authenictation is disabled for that
> account.  (See the passwd(5) manpage for details.)
> This means that unless you set a password for toor you cannot login as toor,
> so the mere presence of that account is not a security problem.

my mistake was due to looking at passwd(1) instead of passwd(5).

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list