Password asterisk feedback mysteriously enabled
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
add a comment |
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
6
What about other files in/etc/sudoers.d
? What doessudo -l
report?
– muru
Feb 17 '17 at 16:06
1
@muru Tep, that was it. Thepwfeedback
was being set from a file in/etc/sudoers.d
. Thanks for your time.
– Bogdan
Feb 17 '17 at 18:16
add a comment |
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
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
16.04
asked Feb 17 '17 at 16:05
BogdanBogdan
1236
1236
6
What about other files in/etc/sudoers.d
? What doessudo -l
report?
– muru
Feb 17 '17 at 16:06
1
@muru Tep, that was it. Thepwfeedback
was being set from a file in/etc/sudoers.d
. Thanks for your time.
– Bogdan
Feb 17 '17 at 18:16
add a comment |
6
What about other files in/etc/sudoers.d
? What doessudo -l
report?
– muru
Feb 17 '17 at 16:06
1
@muru Tep, that was it. Thepwfeedback
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
add a comment |
1 Answer
1
active
oldest
votes
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
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 becausevisudo
copiessudoers
tosudoers.tmp
for editing. When you finish editing,visudo
copies it back.sudo
doesn't readsudoers.tmp
by itself. Create asudoers.tmp
outside ofvisudo
that differs from yoursudoers
and see for yourself.
– muru
Feb 18 '17 at 8:23
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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 becausevisudo
copiessudoers
tosudoers.tmp
for editing. When you finish editing,visudo
copies it back.sudo
doesn't readsudoers.tmp
by itself. Create asudoers.tmp
outside ofvisudo
that differs from yoursudoers
and see for yourself.
– muru
Feb 18 '17 at 8:23
add a comment |
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
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 becausevisudo
copiessudoers
tosudoers.tmp
for editing. When you finish editing,visudo
copies it back.sudo
doesn't readsudoers.tmp
by itself. Create asudoers.tmp
outside ofvisudo
that differs from yoursudoers
and see for yourself.
– muru
Feb 18 '17 at 8:23
add a comment |
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
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
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 becausevisudo
copiessudoers
tosudoers.tmp
for editing. When you finish editing,visudo
copies it back.sudo
doesn't readsudoers.tmp
by itself. Create asudoers.tmp
outside ofvisudo
that differs from yoursudoers
and see for yourself.
– muru
Feb 18 '17 at 8:23
add a comment |
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 becausevisudo
copiessudoers
tosudoers.tmp
for editing. When you finish editing,visudo
copies it back.sudo
doesn't readsudoers.tmp
by itself. Create asudoers.tmp
outside ofvisudo
that differs from yoursudoers
and 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 sudoers
and 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 sudoers
and see for yourself.– muru
Feb 18 '17 at 8:23
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
6
What about other files in
/etc/sudoers.d
? What doessudo -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