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

Re: sudo su gives root without prompting for a password



> "Benedict Verheyen" <linux4bene@pandora.be> writes:
>
>> The entries with NOPASSWD are because of a backup script.  So why
>> don't i need to type a password for running "sudo su".  It just
>> doesn't feel right the way it's now.
>
> I don't really know, but why not simplify your sudoers and just run your
> backup script with 'sudo script', instead of repeatedly calling sudo in
> it.

The backup script now runs from cron so that is not a problem anymore.
I still wonder why i'm not prompted for a password though.

Benedict



Reply to: