My Oracle Support Banner

Sudo Doesn't Work If User ID Is At The End Of /etc/passwd File (Doc ID 2180836.1)

Last updated on SEPTEMBER 22, 2021

Applies to:

Linux OS - Version Oracle Linux 7.1 with Unbreakable Enterprise Kernel [3.8.13] and later
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.

Symptoms

If a user ID is located at the end of the /etc/passwd file, basic sudo functionality breaks.

Workaround is move the affected users  /etc/passwd entry from the bottom of the passwd file to anywhere in the top half of the passwd file.

 

Cause

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
Symptoms
Cause
Solution
References


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