OAS4OS 11g After Migrating SUDO Entries To OID, sudo -l Fails With: Sorry, try again / sudo: 3 incorrect password attempts (Doc ID 1508304.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Authentication Services for Operating Systems - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Authentication Services for Operating Systems 11g (OAS4OS) 11g 11.1.1.5

Following:

Oracle Fusion Middleware Administrator's Guide for Oracle Authentication Services for Operating Systems 11g Release 1 (11.1.1.5) Part Number E16454-02
Chapter 4.4 Migrating SUDO
Section 4.4.1 Migrating SUDO Entries to Oracle Internet Directory on the Server

Sudo command on Linux x86-64 Oracle Linux 6 (OEL6) fails with:

$ sudo -l
Sorry, try again.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts

 

In comparison, another working server of same platform/OS and same configuration works as expected, as follows:

$ sudo -l
[sudo] password for myuser:
Matching Defaults entries for arajan on this host:
  !visiblepw, always_set_home, env_reset, ignore_local_sudoers, requiretty

User myuser may run the following commands on this host:
  (ALL) ALL
$

 

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