• 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 Show Password While Typing in Linux Ubuntu

How To Show Password While Typing in Linux Ubuntu

By Sourabh / October 24, 2024 Category: How To, Ubuntu

Which is the Linux command to show password while typing in Linux Ubuntu. If you want to display asterisks when typing your password in terminal, you can read this tutorial on how to display encrypted password in Linux.

Important Points

  • The /etc/passwd file contains all the users’ information, including the encrypted password, group ID, and home directory.
  • The encrypted user passwords are kept in /etc/shadow.
  • The /etc/login.defs file contains some default settings like password aging and length settings.

NOTE: These files are read-only directory and can be read only by root.

Command To Show Password While Typing In Linux Ubuntu

Open a new Terminal by pressing Ctrl + Alt + T and type the following command:

sudo visudo

Now go to the line that reads “Defaults env_reset”.

Note that you will have to use the the keyboard navigation keys. Simply clicking won’t work.

Now add the following text so that it reads “Defaults env_reset,pwfeedback”.

Once done, save the changes by pressing Ctrl + X and Enter key.

In this way, you can make the password asterisks visible in Ubuntu terminal.

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