LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 09-12-2003, 08:27 AM   #1
shankha
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Red face I have forgot my linux root passwd


I have lost my linux root passwd. My linux-8 starts with GRUB.

I have tried "single" entry at the end of kernel entry. But it is booting as usual. No single user mode of shell prompt is comming.

What to do ?? Please help me.
 
Old 09-12-2003, 10:40 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To boot into Single-User mode, follow the steps in this document.

Booting Single-User Mode
http://www.redhat.com/docs/manuals/l...ng-single.html

When the system is booted, to change the root password, type:
Code:
passwd
 
Old 09-13-2003, 07:13 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
When grub displays its menu, press e

Select the entry that has the kernel related parameters

append "single" or "1" (without quotes)

and hit b to boot.

Next follow Mathieu's post.
 
  


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
Forgot my root passwd k1ll3r_x Suse/Novell 23 04-06-2005 01:44 PM
forgot root passwd urgent nimaelec1 Red Hat 4 02-17-2005 12:37 PM
forgot root passwd sanu Linux - Newbie 2 09-21-2004 03:07 AM
forgot root passwd sanu Linux - Newbie 1 09-20-2004 05:45 AM
FORGOT root passwd WannaLearnLinux Linux - Newbie 5 03-30-2004 01:36 AM


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