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

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



So if I understand correctly it is not possible to use cron.d with simply the "!" character in the shadow file? I need to have "!" + password? do I understand that correctly?



On Friday, February 6, 2015 12:24 PM, Reco <recoverym4n@gmail.com> wrote:
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



-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20150206112344.GA20868@x101h">https://lists.debian.org/[🔎] 20150206112344.GA20868@x101h


Reply to: