Password asterisk feedback mysteriously enabled












2















I have Ubuntu 16.04 installed on my machine and a while back something strange happened. All of a sudden I started getting password visual feedback (*) when entering the password for commands run with sudo.



I've checked the /etc/sudoers file and there is no pwfeedback entry for the defaults.



How can I determine why visual feedback is enabled and from where?










share|improve this question


















  • 6





    What about other files in /etc/sudoers.d? What does sudo -l report?

    – muru
    Feb 17 '17 at 16:06






  • 1





    @muru Tep, that was it. The pwfeedback was being set from a file in /etc/sudoers.d. Thanks for your time.

    – Bogdan
    Feb 17 '17 at 18:16
















2















I have Ubuntu 16.04 installed on my machine and a while back something strange happened. All of a sudden I started getting password visual feedback (*) when entering the password for commands run with sudo.



I've checked the /etc/sudoers file and there is no pwfeedback entry for the defaults.



How can I determine why visual feedback is enabled and from where?










share|improve this question


















  • 6





    What about other files in /etc/sudoers.d? What does sudo -l report?

    – muru
    Feb 17 '17 at 16:06






  • 1





    @muru Tep, that was it. The pwfeedback was being set from a file in /etc/sudoers.d. Thanks for your time.

    – Bogdan
    Feb 17 '17 at 18:16














2












2








2


1






I have Ubuntu 16.04 installed on my machine and a while back something strange happened. All of a sudden I started getting password visual feedback (*) when entering the password for commands run with sudo.



I've checked the /etc/sudoers file and there is no pwfeedback entry for the defaults.



How can I determine why visual feedback is enabled and from where?










share|improve this question














I have Ubuntu 16.04 installed on my machine and a while back something strange happened. All of a sudden I started getting password visual feedback (*) when entering the password for commands run with sudo.



I've checked the /etc/sudoers file and there is no pwfeedback entry for the defaults.



How can I determine why visual feedback is enabled and from where?







16.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 17 '17 at 16:05









BogdanBogdan

1236




1236








  • 6





    What about other files in /etc/sudoers.d? What does sudo -l report?

    – muru
    Feb 17 '17 at 16:06






  • 1





    @muru Tep, that was it. The pwfeedback was being set from a file in /etc/sudoers.d. Thanks for your time.

    – Bogdan
    Feb 17 '17 at 18:16














  • 6





    What about other files in /etc/sudoers.d? What does sudo -l report?

    – muru
    Feb 17 '17 at 16:06






  • 1





    @muru Tep, that was it. The pwfeedback was being set from a file in /etc/sudoers.d. Thanks for your time.

    – Bogdan
    Feb 17 '17 at 18:16








6




6





What about other files in /etc/sudoers.d? What does sudo -l report?

– muru
Feb 17 '17 at 16:06





What about other files in /etc/sudoers.d? What does sudo -l report?

– muru
Feb 17 '17 at 16:06




1




1





@muru Tep, that was it. The pwfeedback was being set from a file in /etc/sudoers.d. Thanks for your time.

– Bogdan
Feb 17 '17 at 18:16





@muru Tep, that was it. The pwfeedback was being set from a file in /etc/sudoers.d. Thanks for your time.

– Bogdan
Feb 17 '17 at 18:16










1 Answer
1






active

oldest

votes


















3














Check into /etc/sudoers and /etc/sudoers.tmp and /etc/sudoers.d.



Make sure the line



Defaults        pwfeedback


is deleted.



If it is along like this



Defaults        env_reset,pwfeedback


change it into



Defaults        env_reset





share|improve this answer





















  • 1





    /etc/sudoers.tmp?

    – muru
    Feb 18 '17 at 3:25











  • Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

    – Pulkit
    Feb 18 '17 at 7:49











  • sorry, but do you have anything to show that this file is used by sudo?

    – muru
    Feb 18 '17 at 7:50











  • i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

    – Pulkit
    Feb 18 '17 at 8:19











  • That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

    – muru
    Feb 18 '17 at 8:23











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f884425%2fpassword-asterisk-feedback-mysteriously-enabled%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














Check into /etc/sudoers and /etc/sudoers.tmp and /etc/sudoers.d.



Make sure the line



Defaults        pwfeedback


is deleted.



If it is along like this



Defaults        env_reset,pwfeedback


change it into



Defaults        env_reset





share|improve this answer





















  • 1





    /etc/sudoers.tmp?

    – muru
    Feb 18 '17 at 3:25











  • Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

    – Pulkit
    Feb 18 '17 at 7:49











  • sorry, but do you have anything to show that this file is used by sudo?

    – muru
    Feb 18 '17 at 7:50











  • i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

    – Pulkit
    Feb 18 '17 at 8:19











  • That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

    – muru
    Feb 18 '17 at 8:23
















3














Check into /etc/sudoers and /etc/sudoers.tmp and /etc/sudoers.d.



Make sure the line



Defaults        pwfeedback


is deleted.



If it is along like this



Defaults        env_reset,pwfeedback


change it into



Defaults        env_reset





share|improve this answer





















  • 1





    /etc/sudoers.tmp?

    – muru
    Feb 18 '17 at 3:25











  • Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

    – Pulkit
    Feb 18 '17 at 7:49











  • sorry, but do you have anything to show that this file is used by sudo?

    – muru
    Feb 18 '17 at 7:50











  • i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

    – Pulkit
    Feb 18 '17 at 8:19











  • That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

    – muru
    Feb 18 '17 at 8:23














3












3








3







Check into /etc/sudoers and /etc/sudoers.tmp and /etc/sudoers.d.



Make sure the line



Defaults        pwfeedback


is deleted.



If it is along like this



Defaults        env_reset,pwfeedback


change it into



Defaults        env_reset





share|improve this answer















Check into /etc/sudoers and /etc/sudoers.tmp and /etc/sudoers.d.



Make sure the line



Defaults        pwfeedback


is deleted.



If it is along like this



Defaults        env_reset,pwfeedback


change it into



Defaults        env_reset






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 17 at 12:30









pomsky

30.2k1193126




30.2k1193126










answered Feb 17 '17 at 20:00









PulkitPulkit

1464




1464








  • 1





    /etc/sudoers.tmp?

    – muru
    Feb 18 '17 at 3:25











  • Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

    – Pulkit
    Feb 18 '17 at 7:49











  • sorry, but do you have anything to show that this file is used by sudo?

    – muru
    Feb 18 '17 at 7:50











  • i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

    – Pulkit
    Feb 18 '17 at 8:19











  • That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

    – muru
    Feb 18 '17 at 8:23














  • 1





    /etc/sudoers.tmp?

    – muru
    Feb 18 '17 at 3:25











  • Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

    – Pulkit
    Feb 18 '17 at 7:49











  • sorry, but do you have anything to show that this file is used by sudo?

    – muru
    Feb 18 '17 at 7:50











  • i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

    – Pulkit
    Feb 18 '17 at 8:19











  • That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

    – muru
    Feb 18 '17 at 8:23








1




1





/etc/sudoers.tmp?

– muru
Feb 18 '17 at 3:25





/etc/sudoers.tmp?

– muru
Feb 18 '17 at 3:25













Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

– Pulkit
Feb 18 '17 at 7:49





Sometimes sudoers files are saved as sudoers.temp, so better take precaution and change even the temp files, even if it gets loaded in system it will not affect

– Pulkit
Feb 18 '17 at 7:49













sorry, but do you have anything to show that this file is used by sudo?

– muru
Feb 18 '17 at 7:50





sorry, but do you have anything to show that this file is used by sudo?

– muru
Feb 18 '17 at 7:50













i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

– Pulkit
Feb 18 '17 at 8:19





i66.tinypic.com/ctdsp.png i68.tinypic.com/2ldzs0j.png See this my system Ubuntu 16.04 loads /etc/sudoers.tmp files

– Pulkit
Feb 18 '17 at 8:19













That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

– muru
Feb 18 '17 at 8:23





That's because visudo copies sudoers to sudoers.tmp for editing. When you finish editing, visudo copies it back. sudo doesn't read sudoers.tmp by itself. Create a sudoers.tmp outside of visudo that differs from your sudoersand see for yourself.

– muru
Feb 18 '17 at 8:23


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f884425%2fpassword-asterisk-feedback-mysteriously-enabled%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?