LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-17-2009, 08:10 AM   #1
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Rep: Reputation: 15
How to reset root password in OpenSuSe 11.0 ?


Hello,

I have a squid proxy running on OpenSuSe 11.0
I cant remember root password.
I have physical access to the server.

Any1 can tell me exact step by step process to reset root password in OpenSuSe 11.0 x86 version ?

Regards,
Amey.
 
Old 02-17-2009, 09:50 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
http://en.opensuse.org/Recover_Root_Password
 
Old 02-17-2009, 10:06 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you can't chroot and run "passwd" as root, and if a null root password won't let you log in*, you can copy the password hash from your user's entry in /etc/shadow and copy it to root's entry.

---
*If the "null_ok" option isn't used in a pam configuration line, root may not be able to login with a null password. I had this happen once just after installing a new openSUSE version.
 
  


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
Reset Root password hbenway AIX 9 08-19-2008 04:13 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
how to reset root password bsisol Linux - Server 1 01-15-2007 06:10 PM
reset root password powah Linux - Security 5 09-15-2006 01:30 PM
reset root password kapslock Debian 14 07-27-2006 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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