Skip to main content

Secured login

The GOcontroll Moduline controllers are shipped with standard passwords and for maximal flexibility, root login is enabled by default. To bring a higher level of security to your controller, it is recommended to change login credentials.


Disable root login over SSH

Before disabling root login over SSH, be sure there is a user account active on the controller so login is still possible. By default the user GOcontroll is available on the controller. It is important to change the password of this user. The change of this password is also part of this article.

Login to your controller using SSH or the serial terminal.

For kernel 5.10.72 based systems, edit the file sshd_config with editor Nano using the following command:

nano /etc/ssh/sshd_config

For kernel 6.12.x based systems, edit the root.conf:

nano /etc/ssh/sshd_config.d/root.conf

Comment out the line PermitRootLogin yes with a # (see example above)

When you are ready editing the file:

  • CTRL+X to exit the file editor
  • Y to save the modified file

Change password for user GOcontroll

GOcontroll is added as user to the Linux environment by default. The password is Moduline. It is strongly recommended to change the password for this user.

Login to your controller using SSH or the serial terminal with the following credentials:

  • Login: GOcontroll
  • Password: Moduline

Once logged in, set your new password with the following command:

passwd

After typing the old password, you can add the new password.
If you are logged in as the root user you can still change the password but you need to give it the username:

passwd GOcontroll

Be aware that when root login is disabled and you user password is changed, loss of you password may result in a lock out. When your new password is lost, the controller needs to be reprogrammed at GOcontroll.

Go to Top