LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-05-2003, 06:05 PM   #1
mark1346
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.

Thanks
 
Old 08-05-2003, 06:23 PM   #2
neo77777
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
passwd
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, 06:24 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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)

Cheers,
Tink
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 AM.

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