LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 131Reputation: 131
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?

thanks
 
Old 11-07-2014, 12:39 AM   #2
evo2
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
Hi,

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

Code:
   AllowGroups
             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.
Evo2.
 
Old 11-07-2014, 08:51 AM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,166
Blog Entries: 4

Original Poster
Rep: Reputation: 131Reputation: 131
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?

thanks

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


Reply

Tags
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 11:20 AM
[SOLVED] AllowUsers and AllowGroup not working together snjksh Linux - Security 4 10-09-2013 09:17 AM
remote webserver and sshd_config file riderryuken Linux - Newbie 2 05-06-2011 08:15 AM
Sshd_config/ maas187 Linux - Security 7 04-22-2009 12:09 AM
sshd_config eyt Linux - Newbie 2 02-19-2004 01:05 PM


All times are GMT -5. The time now is 08:56 PM.

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