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

Last updated on SEPTEMBER 15, 2016

Applies to:

Linux OS - Version Oracle Linux 7.1 with Unbreakable Enterprise Kerne [3.8.13] 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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms