How to Make The Sudo Password Visible in Ubuntu

  • 1.3K
  •  
  •  
  •  
  •  
  • 1
  •  
  •  
    1.3K
    Shares

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

The following two tabs change content below.

Unallocated Author

Please note that the article you are reading has an unallocated author as the original author is no longer employed at latesthackingnews.com, this has been put in place to adhere with general data protection regulations (GDPR). If you have any further queries, please contact: [email protected]

Unallocated Author

Please note that the article you are reading has an unallocated author as the original author is no longer employed at latesthackingnews.com, this has been put in place to adhere with general data protection regulations (GDPR). If you have any further queries, please contact: [email protected]

Leave a Reply