Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-05-2003, 05:05 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
admin. password

I installed Linux 9.0 then i couldn't use it anymore for a while. I didn't write down the admin. password. Is there a way to change it to a new one or do i have to re-install. That really isn't a problem because i don't have a thing used in it yet, but I'm trying to learn something in the process. Any help would be great.

Old 08-05-2003, 05:23 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
When you turn your computer on, when you are presented with a bootloader screen see if it says GRUB or LILO, in the case of GRUB when you see that screen with choices to boot navigate to the Linux one and type e. You'll be given a GRUB edit menu where you can put
linux single
the system will boot into single user mode where you can enter
to change root's password.
In the case of LILO the command to get the boot prompt is Ctrl+X where you once again use linux single and then passwd to change root's password,
Good luck.
Old 08-05-2003, 05:24 PM   #3
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What distro are you using?

RH and MDK (used to?) have a
feature (I consider it a horrible security
breach :}) that allows you to get a
login-less root shell from the lilo prompt
by giving the kernel you boot the
command "single" ...

From there all you need is vi :}
and editing /etc/passwd (/etc/shadow)



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
admin password amcarthur *BSD 10 06-20-2005 08:26 PM
webmin admin password reset partom *BSD 2 08-02-2004 05:19 AM
How to launch kppp without admin password matt_w_lambert Fedora 3 06-19-2004 08:39 PM
How to retrieve Admin password? gogo Linux - General 9 03-27-2003 02:53 PM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 05:26 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 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
Open Source Consulting | Domain Registration