LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-05-2004, 02:55 PM   #1
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
keyboard screwed up - how do i log in?


I've installed Suse 8.2 on a machine. i went through the whole setup - picked a keyboard, root passwd, network setup, etc but now i can't log in through the normal means because it thinks i'm using a german keyboard or something (i'm getting o's with umlats over it and stuff like that).

i've booted into rescue mode and added a normal user account, changed the root passwd and the normal user's passwd. typed commands and everything works fine (when i went into rescue mode it asked what kind of keyboard i wanted so maybe that's why)

but when i reboot and go back to the normal way of logging in it has some strange characters in my username and password. i can't get to any of the keyboard configuration utilities while in rescue mode - so i'm not sure how to fix this.
 
Old 12-05-2004, 09:09 PM   #2
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Original Poster
Rep: Reputation: 15
no response yet - any help with this?
 
Old 12-05-2004, 09:13 PM   #3
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Easy way would be to switch to another terminal (CTRL - ALT - F4) and play with the keyboard till you know what you'll have to type to get your password through, then go back to your login screen (CTRL - ALT - F7 probably), type it in, then go straight to the Control Center/Yast and change the keyboard layout asap...

Good luck
 
Old 12-05-2004, 11:43 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
...or another option (assuming you're vaguely familiar with an editor such as vim) boot into rescue mode (using the Suse Grub option, or a bootable cd/floppy), and remove your password from /etc/shadow - it'll be the second field next to your login, and it'll be in encrypted form. Eg. /etc/shadow might have a line such as
Code:
pfunk:asdfalsdkfjasdfkl:12345:0:99999:7:-1::
Just remove the asdfasdfjasdfkl bit, save, and reboot.
 
Old 12-06-2004, 05:00 AM   #5
bielsibab
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
ive had this you have to insert boot cd and it it will load a kernel
with mouse and keyboard but for some reason it does not by default install a keyboard so run from the boot cd and choose boot hard drive
then alter your kernel load up files and add keyb dev
then re boot
 
  


Reply


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
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 05:03 PM
xorg keyboard screwed up apberzerk Linux - General 2 02-13-2005 06:03 PM
Newbie screwed up and can't log as root anymore chumley115 Linux - Software 3 03-12-2004 03:20 PM
Various Problems After Kernel Recompile - Keyboard Screwed, "Illegal Instructions"... johnleemk Linux - General 0 02-05-2004 12:33 AM
Keyboard disable, can't even log in Bustaroms Linux - Newbie 2 06-01-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration