SSH root login Torizon OS


is it somehow possible to login as root over SSH using Torizon OS?

I’ve already tried to modify /etc/ssh/sshd_config::

PermitRootLogin yes

When I try to change the root password i get the following message:

sudo passwd root
passwd: Authentication token manipulation error
passwd: password unchanged

I think it’s not working because no root password is set.
Is there any solution to my problem?


Hi ,

We deliberately prevent logging in as root on Torizon OS for security reasons.

Do you have a specific reason to do so, especially over SSH? Keep in mind that the torizon user has sudo privileges, and with it you can switch to the root user with the su command if really needed.

Best regards,
Lucas Akira

Hi @lucas_a.tx,

we run all our applications in docker containers.
Sometimes our applications need to change something at the host.
For example configuring the network settings of the device over the HMI.

In the past we used SSH + root to do so.
If this is not possible we have to adapt our applications using torizon and su.

Thank you.

Hi ,

You can specify which user in the container will run the application with the --user parameter:

You may also need to grant additional permissions to the container to allow the container root user to make changes outside of it i.e. in the host OS:

Best regards,
Lucas Akira