How to Make The Sudo Password Visible in Ubuntu

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

 

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

Related posts

How Open-Source Tools Can Help Keep Your Computer Secure

How to Evaluate and Choose the Best Web Hosting Service

How to check suspicious links fast?