Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-19-2010, 08:28 PM   #1
LQ Newbie
Registered: Sep 2010
Posts: 3

Rep: Reputation: Disabled
I can't input my password in command line (ubuntu) !?

When Linux ask for my password in command line,my keyboard becomes unresponsive just for that moment or let me put it this way,until i need to write my password my keyboard is unresponsive,but for all other things is fine.or for example,i can input my password when i have a graphic interface but i can't with command line or i can't login to my computer from command line,any idea or suggestion please??
excuse me if my question is doll,i moved from windows to ubuntu just last week,( & i am flying high in sky with ubuntu & digging a very deep hole for windows too!!.)
Old 09-19-2010, 08:32 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Just enter your password and hit enter. Nothing is displayed onscreen when you do.
Old 09-20-2010, 05:07 AM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
There are two points in not displaying asterisks or other characters while you type the password: first, there's usually no need becuase you'll know yourself how many keys you've pressed (with touch screen virtual keyboards this may be a problem if there's no feedback like vibration), and second, that way nobody can read how many characters your password contains by observing the screen, which means harder brute-force guessing. I've seen some apps (on Windows) that used to print dots or asterisks to the password field, but so that the length of them was different from the actual password length. This supposedly had the idea of hiding the true length of the password from anybody viewing the screen, but could also confuse the writer. I consider it better not to display anything. Passwords are typically less than a couple dozen letters long, and login programs usually allow something like three login attempts before locking the user out, so there's hardly a chance for somebody failing a login because s/he can't see the asterisks or dots on the screen while typing.


command line, password, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing SSH a password through command line info1686 Linux - General 5 08-05-2010 12:17 AM
perl UTF8 command line input nadroj Programming 5 08-31-2008 09:05 PM
Command Line Password Check jedediah Linux - Security 4 12-09-2004 03:01 PM
java - how do you input from the command line zeviddalop Programming 4 11-10-2004 11:59 AM
going to root without password thru command line amanjsingh Linux - Newbie 6 03-29-2004 11:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration