LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-17-2008, 02:01 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Red face Unable to login --- Can't enter the password.


I am unable to login through terminal when the machine boots. Although I am presented a login prompt but after entering the username, second carriage return is being processed as the password and hence I am unable to login.

I don't have GUI (X-Windows). I am facing this problem on the terminal. Is it a hardware specific issue.
 
Old 03-17-2008, 02:33 AM   #2
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
I'm not sure if I understand what exactly is your problem.
the keyboard?
try using Ctrl-J as carriage return.
 
Old 03-17-2008, 02:34 AM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
after entering the username, second carriage return is being processed as the password
That is because you normally enter a password before the second carriage return.

Type in you user name.
Press enter.
Type in your password.
Press enter.

See?

If, however, you mean that you enter your username, press enter once, but the password prompt appears and you are told your password is invalid (as if you had pressed enter twice) then you should try with a different keyboard.
 
Old 03-17-2008, 02:35 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Are you saying that you use a <CR> char in your username??? Surely not..
The usual system is

login: username<CR>
password: yourpasswd<CR>

but as you type the password, it's not echoed to the screen and the cursor won't move. Nonetheless, it's still entered.
Apologies if you know this.
 
Old 03-17-2008, 03:06 AM   #5
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Quote:
If, however, you mean that you enter your username, press enter once, but the password prompt appears and you are told your password is invalid (as if you had pressed enter twice) then you should try with a different keyboard.
Thats the exact problem.

I changed the keyboard but still facing the same problem.
 
Old 03-17-2008, 03:23 AM   #6
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
Is it like that with all users?

Also, if you can, try booting with a live CD (just as a test).
That way, if the problem still exists, it is more likely to be a hardware problem.
 
Old 03-17-2008, 03:38 AM   #7
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Hey I am being able to login using "Ctrl + J". It is certainly not an keyboard issue coz I have changed the keyboard. Whats the issue then?
 
Old 03-17-2008, 04:07 AM   #8
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
It can be many things.

if you're using a ps2 keyboard try using a usb keyboard (and in the opposite direction)

the keyboard is not the only thing between your fingers and the console. there is the motherboard, the device driver, and who knows what else... (kernel developers)
so it can still be a hardware problem

What kind of keyboard are you using? Is it a standard 104 keys english "qwerty" keyboard?
also, try typing "sh -c read" and pressing on <CR> after you login. if console gets a double carriage return, the read command will not get input. then you will know that the problem is not specific to the login stage.
 
Old 03-17-2008, 04:11 AM   #9
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
I installed new Operating System and even tried a Live CD but still facing the same problem. I am always required to use "Ctrl + J"
 
Old 03-17-2008, 05:14 AM   #10
vwvr9
Member
 
Registered: Feb 2005
Distribution: OpenSuse 10.1 / Centos 4.4
Posts: 60

Rep: Reputation: 15
looks like a hardware issue to me
 
Old 03-17-2008, 07:21 AM   #11
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Bad hardware - perhaps in the socket the kbd is connected to, perhaps on the motherboard. If a USB kbd, use a different socket. Change to ps/2 ... if ps/2 use usb.

Have you tested it after you logged in? Do you get double presses from <enter> in all applications.

All indications is that your computer is starting to break. It happens.
 
Old 03-17-2008, 10:31 AM   #12
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Quote:
If a USB kbd, use a different socket. Change to ps/2 ... if ps/2 use usb.
Tried USB as well as PS2 but the problem continues........

Quote:
Have you tested it after you logged in? Do you get double presses from <enter> in all applications.
Yeah, I am getting double presses for all the applications.

Quote:
All indications is that your computer is starting to break. It happens
Well this is a brand new PC that was delivered to me this morning for testing before it could be used in the labs.

Last edited by paragkalra; 03-17-2008 at 10:34 AM.
 
Old 03-17-2008, 11:12 AM   #13
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Return it to the supplier - it's broken.
 
  


Reply

Tags
login, password, terminal


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
password correct but..unable to login?? venki Linux - Newbie 6 01-12-2007 01:51 AM
Login problems, cant enter password pdigga Linux - Newbie 1 04-20-2004 10:10 PM
Unable to login (no password prompt) T4urus Linux - General 1 12-21-2003 02:47 PM
Cant enter password lex0429 Mandriva 1 09-26-2003 11:33 AM
I canīt enter the password!! Andres_age Linux - General 3 11-11-2002 02:33 PM


All times are GMT -5. The time now is 08:20 PM.

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