My Oracle Support Banner

"sudo su" Fails With Error "could not open session" After Restart (Doc ID 2395639.1)

Last updated on AUGUST 29, 2023

Applies to:

Linux OS - Version Oracle Linux 6.1 and later
Oracle Linux Cloud Service - Version Oracle Linux 5.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


Could switch to root user after restart.

With "#sudo -iu root" USER can became root but with "#sudo su" it fails.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.