Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    53

    Default Can anyone share their RedHat 9 /sbin/init file please?

    I got a server that got "hacked" and they put in a rootkit. I need a clean /sbin/init file to replace the one they left. If you can copy and paste yours or something that would be great. Thanks in advance.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    /sbin/init is part of the SysVinit rpm which you can get from any RH9 mirror and do an rpm force install.

    That said, if you've suffered a root compromise you should not try to clean it up - your server as it stands can never be trusted again unless you remove the OS disk and send it off to forensic security specialists to clean as there could always be a backdoor lurking around. You should really backup your users data and perform an OS reinstall and then restore, fixing the security whole that you were compromised through. Better yet, upgrade to a supported OS, such as CentOs, since RH9 is now full of local root compromises, since it's been EOL for a year and a half now.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Apr 2005
    Posts
    53

    Default

    Quote Originally Posted by chirpy
    /sbin/init is part of the SysVinit rpm which you can get from any RH9 mirror and do an rpm force install.

    That said, if you've suffered a root compromise you should not try to clean it up - your server as it stands can never be trusted again unless you remove the OS disk and send it off to forensic security specialists to clean as there could always be a backdoor lurking around. You should really backup your users data and perform an OS reinstall and then restore, fixing the security whole that you were compromised through. Better yet, upgrade to a supported OS, such as CentOs, since RH9 is now full of local root compromises, since it's been EOL for a year and a half now.
    Thanks for all of the help. Ill give that a shot.

    This is a production server with over 300 accounts on it. I am waiting on a new server to be loaded... I have been up all night working on this server. At the moment I am just trying to clean it up the best I can to minimize or ideally eliminate downtime when I move all the accounts to the new server I am waiting on. The new one is CentOS... I got this box before I started using CentOS.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    To save you the search, this should work:

    Code:
    rpm -Uvh --force http://ftp.belnet.be/pub/mirror/ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/SysVinit-2.84-13.i386.rpm
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Enkompass - Share Folder (Volume or UNC share path) ERROR!
    By sandunguero247 in forum Enkompass Discussions
    Replies: 7
    Last Post: 07-17-2011, 01:16 PM
  2. Replies: 6
    Last Post: 05-28-2009, 04:33 PM
  3. /etc/init.d/mysql start Starting MySQL/etc/init.d/mysql
    By xynta in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-11-2008, 09:30 AM
  4. cannot open /etc/rc.d/init.d/functions: no such file or directory
    By SubFreeze in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-19-2004, 04:55 PM
  5. Anyone like to share a iptables config file?
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-16-2002, 09:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube