• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How to Make Password Visible as Asterisks in Linux Terminal

How to Make Password Visible as Asterisks in Linux Terminal

By Sourabh / August 16, 2016 Category: How To, Ubuntu

How to make password visible in the Terminal in Linux. A quick tutorial on how to show asterisks (*) when you type password in the Terminal in Linux Ubuntu or other Linux Distros.

To make password visible (asterisks), we will edit the “/etc/sudoers” file. We will open the file and change the setting to display passwords as asterisks. To do so, open Terminal and type the following command and press Enter key.

sudo visudo

Type the password when prompted and press Enter. Please note that no password (asterisks) are displayed at the moment as the change is to be done and then applied. Also keep in mind that always edit the sudoers file using the visudo command as shown above.

sudo-visudo

Once the /etc/sudoers.tmp file is open, search for Defaults env_reset and modify it. Search for the line that reads Defaults env_reset and change it to Defaults env_reset,pwfeedback.

Once you have made the change, save and exit. Press Ctrl + X and then type a “Y.” Please read the instruction at the bottom of the window to save and exit.

Now restart the terminal and you should be able to see the password as asterisks when you type in your password.

Tags: How to Make Password Asterisks Visible in the Terminal in Linux, How To Make Passwords Visible in Linux, How To Make Passwords Visible in Ubuntu, How To Make Sudo Command Passwords Visible in Ubuntu, Make Password Asterisks Visible in Linux Terminal, Make Password Asterisks Visible in Ubuntu, Make Password Visible in Ubuntu Terminal, Make Passwords Visible in Terminal Ubuntu, Make Passwords Visible in Ubuntu, Make Passwords Visible in Ubuntu 16.04, Make Passwords Visible in Ubuntu 16.10, Make Passwords Visible in Ubuntu Terminal, Make Sudo Command Passwords Visible in the Terminal, Ubuntu 14.04, Ubuntu 16.04 Make Passwords Visible, Ubuntu 16.10 Make Passwords Visible, Ubuntu Terminal Make Password Visible

Primary Sidebar

Latest Posts

Ubuntu 25.04 ‘Plucky Puffin’ Is Available To Download

How to Login as Root User in Linux Terminal

Install Firefox In Ubuntu Terminal Command Line

How To Check Kernel Installed Date In Linux Ubuntu

How To List All Kernel Modules That Are Loaded In Ubuntu

Enable Ubuntu Auto Login Without Password

Download Ubuntu 25.04 Official Default Wallpapers

How To Fix Initramfs Error In Ubuntu Command Line

How To Check All Available Kernel Version In Linux Ubuntu

3 Best Artificial Intelligence Domain Name Generators

© 2025 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap