Question:How to skip Active Directory authentication for specific local users in AIX.
Answer:By default, Centrify DirectControl modifies the AIX Loadable Authentication Module (LAM) for the SYSTEM user attribute to look like this:
SYSTEM=CENTRIFYDC OR CENTRIFYDC[NOTFOUND] AND compat
This setting specifies that the first attempt to authenticate a user should be passed to Active Directory through Centrify DirectControl.
In some cases, however, you may have local user accounts that you only want to authenticate locally.
Although there are parameters in the Centrify DirectControl configuration file that enable you to ignore Active Directory authentication for specific local users, these parameters are not completely applicable on computers running AIX.
To exclude any local user account from Active Directory authentication on, you can run the following command for the user:
chuser SYSTEM=compat username
If you later decide you want to migrate the local user account to use Active Directory, you can run the following command for the user to reset the default authentication:
chuser SYSTEM= username
Note:
To reset the user account to be authenticated through Active Directory, there must be a space after the equal sign (=) in the command line.
Alternatively, you can edit the /etc/security/user file and change the stanza for a particular user's SYSTEM attribute to:
SYSTEM=compat