#   Copyright (c) 2015 Ericsson AB.
#   All rights reserved.

# Begin /etc/pam.d/sudo

#pam_unix, the built-in unix pam is called first for
#linux user authentication, account and session.
#If the pam_unix query is not successful, then perform
#an IPOS DB query for the same username and password
#via the pam_rcm_interface (strict ordering is important).

auth      sufficient         pam_unix.so
auth      required      pam_rcm.so debug
account   sufficient         pam_unix.so
account   required      pam_rcm.so debug
session   sufficient         pam_unix.so


# End /etc/pam.d/sudo
