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

Re: change password prompt



Hugo Vanwoerkom <hvw59601@care2.com> wrote:
> On 09/19/2016 10:21 AM, Reco wrote:

>> Defaults passprompt_override,passprompt="ENTER NUCLEAR LAUNCH CODE:"
>>
>> Of course you should use visudo, not edit /etc/sudoers directly.

> True. But I use mc, have done so for years and that seems to work. What 
> am I endangering?

visudo locks the file against other edits at the same time. It also
syntax checks the file at the end to prevent errors resulting in lock
outs. And it sets the right and secure permissions on the file.

S°


-- 
Sigmentation fault. Core dumped.


Reply to: