Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2005
    Posts
    232
    can not login root from SSH, LT suggest me to do KVM over IP

    any one got any ideas,please?

  2. #2
    Join Date
    Nov 2003
    Location
    Kherson, Ukraine
    Posts
    267
    But what a problem?
    With KVM you can boot into single mode without password prompt and change root password by passwd command.
    To boot in single mode with grub press "e" to edit kernel options during boot start and add "single" to the end of line. Try to google if you using other boot loader.
    But investigate your box carefully - it possible you hacked...





    __________________
    Private remote administrator of Linux servers - www.petrov.ks.ua
    Quality hosting - Host-Web-Site.com

  3. #3
    Join Date
    Mar 2003
    Location
    /root
    Posts
    23,981
    Did you change anything?
    If you forgot the password, you can just ask LT to reset it.





    __________________JoneSolutions.com - Your Number One Choice On The Net - since 2001US/EU Fully Managed CPanel Servers * Server Management * Shared/Reseller Hosting
    --------------------------------------------------------------------------------------------------"The Key To A Safe Future Is Not In Business or Social Prosperity - It Is In Righteous Living"

  4. #4
    Join Date
    Jan 2007
    Location
    India
    Posts
    96
    Quote:



    Originally Posted by skyaus


    any one got any ideas,please?


    Are you using cpanel as control panel ? then you may create an account via control panel, assign a normal bash shell and then su as root ?
    Hope that should work.
    Majoosh

  5. #5
    Quote:



    Originally Posted by majoosh


    Are you using cpanel as control panel ? then you may create an account via control panel, assign a normal bash shell and then su as root ?




    I think this is a very good practice.
    Also make sure your new account password is strong, at least 8 characters upper and lower case and also alpha/numeric. This makes it harder to crack. Once you are in and have switched to root, you can edit /etc/ssh/sshd_config and disable root login via ssh.
    If you create the account, login and still are unable to su to root, then it is possible the password has been changed. If it has then you will have to boot into single user mode and change the password for root. Unless LT has a user they can login with and sudo to root with to change the root password.
    But if this is the case, then it is very possible that you have been hacked and you might want to consider moving your applications to a new server and have that one taken down and reformated on the chance someone is doing something malicious with it.
    mrpepik
    <<Signature to be set up in your profile>>





    Last edited by anon-e-mouse : 12-16-2008 at 05:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •