[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CRON: Authentication token is no longer valid; new one required



 Hi.

On Fri, Feb 06, 2015 at 05:07:58AM -0500, wolf.halton@gmail.com wrote:
> The '!' Means root login is disabled, not that the root account is disabled. su - 
> With a blank root password lets anyone switch user to root without slowing down to crack the password. That is not a safe goal. 

There's difference between a locked empty password (which is defined by
single exclamation mark in /etc/shadow) and an empty password (no symbol
in /etc/shadow).
A single exclamation mark will prevent using su -.
An empty non-locked password will work the way you describe.

man 5 shadow :)

Reco


Reply to: