Small terminal change suggestion

Write suggestions and new ideas in here
More ideas here
Forum rules
  • Only post ideas here that are specifically about the Linux Mint distribution or its websites.
  • So that developers and users from any distribution can discuss ideas in one place, post ideas about improving software to the collaboration website for that software instead.
User avatar
Level 4
Level 4
Posts: 451
Joined: Fri Jul 15, 2011 10:55 pm
Location: Nebraska, USA

Small terminal change suggestion

Postby RETNUH » Tue Jan 17, 2012 2:04 am

I have noticed that people have trouble with entering their password into the terminal as it doesn't show anything when you input. Perhaps *s could be put in as the person types the password?
We all know that light travels faster than sound. That's why certain people appear bright until you hear them speak. -Albert Einstein

Formerly known as Luckydog.

Looking for me? Check the IRC I've been hanging out there.

User avatar
Level 23
Level 23
Posts: 19485
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Small terminal change suggestion

Postby xenopeek » Tue Jan 17, 2012 5:42 pm

You can not display *s while entering a password with sudo on the terminal, without changing source code. You can however easily make sudo pop up a graphical dialog.

Create a file called in your home folder. Edit it, and put the following in it:

Code: Select all

/usr/bin/zenity --entry --hide-text --text="Enter password:" --title="sudo"

Make the file executable (chmod +x

Edit (or create) the file .bashrc in your home folder (gedit ~/.bashrc) and put this line at the end:

Code: Select all

export SUDO_ASKPASS=~/
alias suda='sudo -A'

Now any time you run a command with "suda command" instead of as "sudo command", it uses to ask you for your password. It pop ups a small dialog window where you can enter your password, and it will show *s.

Return to “Suggestions & New Ideas”

Who is online

Users browsing this forum: No registered users and 6 guests