Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172507

Re: change password prompt

From Hugo Vanwoerkom <hvw59601@care2.com>
Newsgroups linux.debian.user
Subject Re: change password prompt
Date 2016-09-20 00:10 +0200
Message-ID <sjeVb-2T2-21@gated-at.bofh.it> (permalink)
References <sj7gZ-69i-1@gated-at.bofh.it> <sj7K1-6ya-3@gated-at.bofh.it> <sj8mJ-71A-7@gated-at.bofh.it> <sj8G6-786-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/19/2016 10:21 AM, Reco wrote:
> 	Hi.
>
> On Mon, Sep 19, 2016 at 11:01:33AM -0400, Tony Baldwin wrote:
>> On 09/19/2016 10:25 AM, Reco wrote:
>>> 	Hi.
>>>
>>> On Mon, Sep 19, 2016 at 09:59:03AM -0400, Tony Baldwin wrote:
>>>> I had, on a prior machine, changed the password prompt for sudo by adding
>>>> something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the sudoers file,
>>>> but at the moment I can not recall what/how I did it, but I'd like to do it
>>>> again.
>>>> Anyone?
>>>
>>> sudoers(5) says that you should change 'passprompt_override' setting.
>>>
>>> Reco
>>>
>> I'm trying, but failing to find an example of how to use that, like the
>> precise syntax to use.
>> The man page doesn't give any example, so it's not clear how to use it.
>
> This line in /etc/sudoers works for me:
>
> 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?

Hugo

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

change password prompt Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-19 16:00 +0200
  Re: change password prompt Reco <recoverym4n@gmail.com> - 2016-09-19 16:30 +0200
    Re: change password prompt Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-19 17:10 +0200
      Re: change password prompt Reco <recoverym4n@gmail.com> - 2016-09-19 17:30 +0200
        Re: change password prompt Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-19 17:40 +0200
        Re: change password prompt Hugo Vanwoerkom <hvw59601@care2.com> - 2016-09-20 00:10 +0200
          Re: change password prompt Sven Hartge <sven@svenhartge.de> - 2016-09-20 01:10 +0200
        Re: change password prompt Elimar Riesebieter <riesebie@lxtec.de> - 2016-09-20 12:10 +0200
        Re: change password prompt Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-09-21 21:00 +0200

csiph-web