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-7369: What is required to block SSH access for a machine's local service accounts?

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

19 August,16 at 10:43 PM

Applies to:  All version of Centrify DirectControl and DirectAudit.

Question:
What is required to block SSH access for a machine's local service accounts?


Answer:
We'll need to create a parameter at the end of the sshd_config file called "DenyGroups" or "DenyUsers" and then add the group or users depending on which entry added.

DenyGroups groupname

In order to utilize "DenyGroups", you'll need to create a local group, or groups, to which you can add the local service accounts.

After editing and saving the sshd_config file, creating the local groups and adding the local account(s) to the group, you'll need to restart sshd on the *nix server.

 

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