LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-11-2005, 05:14 AM   #1
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201

Rep: Reputation: 30
Password reset


Hi all

I have been presented with this situation.

I have a Linux Server (running SuSe 8.2) that has a database on it. However, another company installed it and there are no records of any passwords.

I tried following instructions for using the Suse install disk, and resettign that way, but each time I boot up it has reverted any changes I made. ???

I also tried hitting ESC @ Grub, and entering the text mode. E to edit the line starting 'Kernel' and adding 'single' to the end of it. Upon booting, it still asks for the root password.

There are 4 other users set up on this box, one of which has admin rights.

Any ideas?

Thanks

Hong
 
Old 07-11-2005, 05:24 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Boot the gentoo minimal live CD.
create a mount point (/mnt/suse)
mount all partitions under /mnt/suse
chroot /mnt/suse /bin/bash
env-update && source /etc/profile

Now you have your suse environment and you are logged in as root. type passwd to change your password.

umount all partitions
reboot
 
Old 07-11-2005, 05:46 AM   #3
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201

Original Poster
Rep: Reputation: 30
I just had a thought. I think the root account maybe disabled.

So, basically, IF the root acc is disabled, and I dont know any other passwords, can this be done??
 
  


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
reset root password kapslock Debian 14 07-27-2006 07:08 AM
Password won't reset with Mdk 10.1 linubex Mandriva 22 06-24-2005 06:44 AM
reset XP password(s) for Samba Cagao Linux - Networking 2 02-04-2005 02:39 AM
reset vncserver password ust Linux - Software 1 02-17-2004 07:57 AM
reset the password ust Linux - General 1 02-11-2004 06:35 AM


All times are GMT -5. The time now is 07:14 AM.

Main Menu
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