Permissions
⦾ After successful execution of the prepare_oim.yml playbook, a message is displayed indicating that you can log in to the omnia_core container using ssh omnia_core . However, this will fail if you had initially logged in to the OIM node as a non-root user and then switched to the root user using sudo command.
Potential Cause: SSH access to the omnia_core container depends on direct root login. When a user logs in as a non-root user and switches to root using sudo, the SSH session may not have the required permissions or environment configuration to access the container using ssh omnia_core.
Resolution: To enable root-based SSH access and ensure proper functionality, perform the following steps:
Edit the SSH configuration file:
Open
/etc/ssh/sshd_configand set:PermitRootLogin yes
Restart the SSH service:
systemctl restart sshd
Log out and re-login to the OIM node directly as the
rootuser.Restart the
omnia_corecontainer:podman restart omnia_core
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.