LinuxQuestions.org
Register a domain and help support LQ
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 01-08-2004, 11:58 PM   #1
AlmostArtafact
Member
 
Registered: Nov 2003
Posts: 30

Rep: Reputation: 15
Desperate Keyboard Problems!!


A buddy of mine figured it would be funny to play a practical joke on me.He happened to know my root password and he changed my keyboard settings to Chinese or something.That was funny but he told me about it and when I went to change it back,it asked for my root password and everytime I enter it says its incorrect.I have already tried to copy and paste it.I restarted my computer and now I cannot even login.I would greatly appriciate some help.And if it matters I have a copy of Knoppix 3.3.
 
Old 01-09-2004, 02:12 AM   #2
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
if your knoppix disk is bootable or if you have a bootable rescue copy of linux, boot it up, mount your linux partition, chroot to it, and remap your keyboard settings..


right i forgot, kick him in the ribs and change your root password after you fix it.....

Last edited by miaviator278; 01-09-2004 at 02:14 AM.
 
Old 01-09-2004, 05:28 AM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
If you have an insecure bootloader (ie one where it doesn't ask you for a password before you boot anything) - and I am going to presume you're running LILO - then you can do this:

When you get to the bootloader, press the <Esc> key. This should drop you out of any graphical bootloader and down to a text bootloader prompt. Type in the linux entry (usually linux) followed by a 1... so you would type (sorry for the obviousness): linux 1. This will take you to runlevel 1. The default user of RL1 is root, but you don't need to login. So, type password thisismynewpassword (obviously use your imagination and have a sensible password for root) and then type init 5 This should boot the rest of your system so you are presented with a GUI login. Test out your new root password. If all is OK then carry on as normal and give your "friend" a *cough* telling off *cough*
 
  


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
Major problems with the keyboard! Microsoft keyboard is not compatable?. aweir14150 Mandriva 2 05-26-2006 07:57 AM
keyboard problems in X mpetrov Linux - Newbie 1 08-13-2004 04:17 PM
keyboard problems with xfce4 - general keyboard question Villain Linux - General 2 06-20-2004 05:35 PM
Keyboard Problems BrianGon Mandriva 3 01-18-2004 07:15 PM
Keyboard problems aaa Slackware 6 07-21-2003 04:02 PM


All times are GMT -5. The time now is 06:27 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