Forums

Resolved
0 votes
Hi,

I cannot SSH into clearos community 6.5.0 as the root user. I receive the following error:

Permission denied, please try again.

In the SSH server config the following is set:

Allow Passwords Enabled
Allow Root Login Enabled

I am able to log in as another shell enabled user fine. However, when I attempt to su - to root, I get the following:

su: incorrect password

I am using the same root password that works for the webconfig.

I cannot sudo as the user I can log in as it is not in the sudoers file.

Thanks
Thursday, January 15 2015, 04:08 PM
Share this post:
Responses (3)
  • Accepted Answer

    Friday, January 16 2015, 04:52 PM - #Permalink
    Resolved
    0 votes
    OK, now you got me curious because I had been working on an issue in the tracker where a % does bad things too. Per chance, did you have a sequence of numbers or hexidecimal capable character following the & sign?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 16 2015, 01:48 AM - #Permalink
    Resolved
    0 votes
    OK, looks like it may have been the '&' in the password. Resetting to new password worked.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 15 2015, 09:53 PM - #Permalink
    Resolved
    0 votes
    Per chance is there a percent sign ('%') in your password? If so, your browser will transcode it into the ASCII equivalent of the following two digits if they match [0-9,a-f,A-F]. ClearOS will NEVER see it in the manner that you entered it in the browser because the browser LIES about this by design. This is confirmed on Safari, Chrome, and Firefox.

    For example, if you are using this password for root in Webconfig 'clear%55' then your REAL root password is 'clearU'. You would be able to login at command prompt with 'clearU'.

    If your two characters following your percent corresponds to an ascii character which can be depressed on your keyboard, then you can simply type it instead at command prompt. If you can't hit that key, you are out of luck.

    ASCII Table

    You can change the password in the ClearOS Webconfig interface by clicking the little man icon in the upper right corner.
    The reply is currently minimized Show
Your Reply