Home How To How to Make The Sudo Password Visible in Ubuntu

How to Make The Sudo Password Visible in Ubuntu

by Unallocated Author

Many flavours of Linux like Ubuntu are assertive operating systems. In these operating systems, only the administrator has the authority to make any changes to the system. If you are not an admin and just a normal user, there are a lot of commands that you cannot execute and also you can’t view files under the root (/) directory.

Most of the Linux flavours have a command called “sudo”. This command allows users to access few exclusive commands that are technically only allowed to the administrator or root. If a user is listed as a sudoer, then he can run  “sudo” command.

If you are a sudoer, then every time you try to gain admin powers, you will be asked for the administrator password on the terminal. If you type any password in the terminal, then you will notice that nothing is shown on the screen, not even a star or even a dot.

That’s not a serious problem, actually. But, you may want to show the dots sign to indicate you’ve typed your password on the terminal to run the “sudo” command. If so, you can edit “sudoers” file which is located at /etc/sudoers. Type the following command to do that

$sudo pico /etc/sudoers

Edit the “sudoers” file by adding “pwfeedback” option. Example is shown below

password visible in terminal


Press ctrl+x to exit and apply the change. Now, please try to run the “sudo” command and see what’s happen.

password visible in terminal

You may also like

Latest Hacking News