Forums

Sean
Sean
Offline
Resolved
0 votes
Greetings!

I'm running ClearOS Gateway 6.5.0 and it works great! Absolutely love it. For security reasons, I would like to disable the root account so no bots or script kiddies try to guess the known "root" superuser account's password. Is this possible? If so, how do I go about doing it? I've already created a username that has full admin access, so that won't be a problem.

Thanks!
Monday, July 21 2014, 07:34 AM
Share this post:
Responses (3)
  • Accepted Answer

    Tuesday, July 22 2014, 08:23 AM - #Permalink
    Resolved
    0 votes
    In this configuration the 'sudo' command give your user elevated rights for any specific tasks that require elevated privileges. For this to work your user has to be added to the list of 'sudoers' in /etc/sudoers

    This works for one time commands... e.g. 'sudo tail /var/log/messages' or alternatively you can switch to the root user after logging in using the 'su' command first and then carry out what you need to do. Ctrl+D logs out from the current user.
    The reply is currently minimized Show
  • Accepted Answer

    Sean
    Sean
    Offline
    Tuesday, July 22 2014, 07:49 AM - #Permalink
    Resolved
    0 votes
    Thanks a lot for the info, Lief! Before I proceed to do this, I have a username created. I tried logging in with that username and I don't get access to anything that the root account can. How do I go about making my new account have the same privileges as the root account?

    Thankfully I didn't disable the root account yet, or else I would be locked out of the system. Any help on this would be highly appreciated!
    The reply is currently minimized Show
  • Accepted Answer

    Leif S
    Leif S
    Offline
    Monday, July 21 2014, 01:19 PM - #Permalink
    Resolved
    0 votes
    Hi!

    You logon to your web management page go to "Network/SSH server " click on edit and disabel root login.

    Regards

    / Leif
    The reply is currently minimized Show
Your Reply