Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-31-2007, 08:23 AM
|
#1
|
LQ Newbie
Registered: Aug 2007
Posts: 1
Rep:
|
How i recover a lost Root password
i need to reset the Root password for our server because the Systems Administrator left the company without leaving it
|
|
|
08-31-2007, 08:54 AM
|
#2
|
Member
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
|
how about searching the forums and google? i a lot of hits explaining this
|
|
|
08-31-2007, 09:34 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
At least two options:
1. boot into single user mode: When the GRUB menu comes up, hit tab to stop the countdown and enter "single" at the end of the kernel line.
2. boot from live CD, mount the Linux "/" partition, and edit the /etc/passwd file to delete the first "x" in the entry for root. The entry will then look like this: root:: <+other stuff>
|
|
|
09-01-2007, 06:14 AM
|
#4
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Rep:
|
|
|
|
09-03-2007, 09:42 PM
|
#5
|
LQ Newbie
Registered: Jul 2007
Posts: 4
Rep:
|
Hi Sanatrac,
Quote:
Originally Posted by sanatrac
i need to reset the Root password for our server because the Systems Administrator left the company without leaving it
|
I think u don't worry about it pls try this way: To Start pc, u will see The Grub boot roader menu then press tab to stop the countdown then type "init=/bin/bash". the konsole will running as root. u can type "passwd" to change new root password.
Gooood luck!
Cpink
|
|
|
09-13-2007, 06:22 AM
|
#6
|
LQ Newbie
Registered: Sep 2007
Posts: 1
Rep:
|
this ure ans
Quote:
Originally Posted by sanatrac
i need to reset the Root password for our server because the Systems Administrator left the company without leaving it
|
boot your system at grub screen select linux option press e then select kernel line press e the select grub line at the end of line delete at thing after / the write there linux 1 and press enter press b now u will boot into single user mode change root password with passwd root command and restart
|
|
|
All times are GMT -5. The time now is 11:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|