Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-06-2014, 04:12 PM   #1
Senior Member
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,220
Blog Entries: 4

Rep: Reputation: 132Reputation: 132
sshd_config file missing AllowGroup

I'm working with a number of Linux machines (Red Hat).

I've noticed that some of them have AllowGroup while others don't have it.

Does AllowGroup come in by default in sshd_config?

If its not there, will this cause an issue with a user logging in via SSH.

I believe I should be able to add it without any issue, correct? Or do I need to check anything else before adding this line into the file?

Old 11-06-2014, 11:39 PM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

I think the sshd_config man page provides the answers to all your questions.

             This keyword can be followed by a list of group name patterns, separated by
             spaces.  If specified, login is allowed only for users whose primary group or
             supplementary group list matches one of the patterns.  Only group names are
             valid; a numerical group ID is not recognized.  By default, login is allowed
             for all groups.  The allow/deny directives are processed in the following
             order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups.

             See PATTERNS in ssh_config(5) for more information on patterns.
Old 11-07-2014, 07:51 AM   #3
Senior Member
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,220
Blog Entries: 4

Original Poster
Rep: Reputation: 132Reputation: 132
Checked out the man page, and the date at the bottom is Sept 25 1999. Is this the latest MAN page or is there a way for me to find the latest MAN page online?


Last edited by JockVSJock; 11-07-2014 at 07:55 AM.


allowgroup, ssh, sshd_config

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cronjob to check if file contents are missing and to remove and re-copy if missing. Spuddy Linux - General 5 03-19-2014 10:20 AM
[SOLVED] AllowUsers and AllowGroup not working together snjksh Linux - Security 4 10-09-2013 08:17 AM
remote webserver and sshd_config file riderryuken Linux - Newbie 2 05-06-2011 07:15 AM
Sshd_config/ maas187 Linux - Security 7 04-21-2009 11:09 PM
sshd_config eyt Linux - Newbie 2 02-19-2004 12:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration