Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd April 2007, 23:03
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Unhappy Server Broken

----- expired ----

Last edited by alexillsley; 15th November 2010 at 12:58.
Reply With Quote
Sponsored Links
  #2  
Old 3rd April 2007, 23:05
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

If you have access to the machine itself, boot into single user mode and fix your root account that way. If not.... UGH!
Reply With Quote
  #3  
Old 3rd April 2007, 23:23
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Question

----- expired ----

Last edited by alexillsley; 15th November 2010 at 12:59.
Reply With Quote
  #4  
Old 3rd April 2007, 23:36
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

First make sure your password is still in shadow.

If so you can add the following to the first line of /etc/passwd on many distributions:

Code:
root:x:0:0:root:/root:/bin/bash
Reply With Quote
  #5  
Old 3rd April 2007, 23:44
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Question

----- expired ----

Last edited by alexillsley; 15th November 2010 at 12:58.
Reply With Quote
  #6  
Old 3rd April 2007, 23:48
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

Most systems you type linux 1 at the boot prompt. What distro are you using?

Here's a link for how to get in using lilo or Grub:

http://aplawrence.com/Linux/lostlinuxpassword.html

Last edited by mlz; 3rd April 2007 at 23:51.
Reply With Quote
The Following User Says Thank You to mlz For This Useful Post:
alexillsley (4th April 2007)
  #7  
Old 4th April 2007, 09:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Quote:
I just went to hit save, and it said that the file was read only It wont let me change the permmsions on it
If you booted in knoppix, you must make sure that the harddisk is mounted in read/write mode. You can do this by right clicking on the harddisk icon on the desktop and select the read/write mode. Also make sure that you use a commandline editor to edit /etc/passwd, I've seen that some gnome and kde editiors say access forbidden to some system files to prevent them from being changed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
alexillsley (4th April 2007)
  #8  
Old 4th April 2007, 12:13
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Unhappy

----- expired ----

Last edited by alexillsley; 15th November 2010 at 12:58.
Reply With Quote
  #9  
Old 4th April 2007, 13:15
alexillsley alexillsley is offline
Senior Member
 
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Question

----- expired ----

Last edited by alexillsley; 15th November 2010 at 12:58.
Reply With Quote
  #10  
Old 4th April 2007, 14:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Have you tried Knoppix?
Boot Knoppix, mount your hard disk read/write to /mnt (for example), then run
chroot /mnt
Then try
Code:
passwd root
Or if that doesn't work, take a look at the useradd command.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
alexillsley (4th April 2007)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 03:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.