You are not logged in.
Hello,
I want to add an asterisk sign when adding password in terminal.
I searched on internet about this and it is done by adding pwfeedback after below code
Defaults env_resetI doesn't find any line like that in sudoers file.
It only contains root all and user all line and all others are commented out.
Using kde konsole to access terminal with visudo command to open file.
Any explanation will be important.
Thankyou
Last edited by gulatihardik10 (2020-02-23 16:01:21)
Offline
What is "adding password in terminal"? sudo? getty login?
This sound slike sudo:
I doesn't find any line like that in sudoers file.
And in that case, yeah… maybe just add one??
Offline
I wanted to show some sign that password is typing like the asterisk signs, read full line.
Wanted to improve the user interface by this.
I think its not like adding all the lines, it is like environment variables and it might need more than just
add one
.
Thanks for your reply
Offline
I wanted to show some sign that password is typing like the asterisk signs
That does still not explicitly name the context. I'm just guessing it's about sudo from your other comments.
No.
For sudo it *is* literally and simply:
add one
You need "pwfeedback" in the Defaults and adding a line
Defaults env_reset,pwfeedbackto sudoers will provide exact that…
Offline
I doesn't have that line in my sudoers file.
root ALL=(ALL) ALLeverything else is commented out and still doesn't have defaults line.
Is I have to add full line anywhere in the sudoers file.
Offline
Is I have to add full line anywhere in the sudoers file.
That's what I'm telling you since 4 comments, yes…
While you're at it, you might want to "man sudoers"
Offline
Haha thanks I think the pwfeedback should only be added on already existing line.
Thanks for solution.
Offline