LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 07: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, 09: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, 06:13 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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