Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-1983: Is it possible to customize the message "Account cannot be accessed at this time"

Centrify DirectAudit ,   Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:46 AM

Applies to:
 
All versions of Centrify DirectControl
 
Question:
 
A DirectAuthorize role has been set up such that it allows access via ssh services only. The main objective to deny access to a certain group like say sysadmins via telnet. Other groups can use telnet, but not sysadmins. The role works fine however is there any control over the "login denied message which can be customized to state explicitly that login was denied as telnet was disallowed. The message  "Account cannot be accessed at this time" implies it is
time related and that if attempted at another time in a few hours, it may work?
 
Answer:
 
Depending on the OS, customers are advised to change the below line in /etc/pam.conf
 
For Solaris:
 
As root, modify /etc/pam.conf as follows:
 
change this line:
 
login        auth sufficient         pam_centrifydc.so unix_cred
 
to:
 
login        auth sufficient         pam_centrifydc.so unix_cred enable_dzpamgate
 
Re-start Centrify and run adflush. Try telnet again and you should see the denied message as custom defined in /etc/centrifydc/centrifydc.conf from pam.workstation.denied.mesg
 
 
Note: If the OS is AIX, please be aware that DirectAuthorize is enabled for PAM and not LAM.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.