<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Allow only certain groups to ssh in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512550#M16849</link>
    <description>Tested no problem if AllowGroups and AllowUsers are removed. &lt;BR /&gt;&lt;BR /&gt;Tested no problem with only AllowGroups is inserted.&lt;BR /&gt;&lt;BR /&gt;Tested no problem with only AllowUsers is inserted.&lt;BR /&gt;&lt;BR /&gt;Tested not working if both AllowGroups and AllowUsers are inserted together.</description>
    <pubDate>Tue, 29 Mar 2005 00:32:54 GMT</pubDate>
    <dc:creator>yc_2</dc:creator>
    <dc:date>2005-03-29T00:32:54Z</dc:date>
    <item>
      <title>Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512544#M16843</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A simple script was written in the /etc/profile to verify whether the login account should be given a shell prompt for  telnet service.&lt;BR /&gt;&lt;BR /&gt;Is there a way to do this in ssh service?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;YC</description>
      <pubDate>Mon, 28 Mar 2005 04:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512544#M16843</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2005-03-28T04:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512545#M16844</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;check the following link!!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxjournal.com/article/6602" target="_blank"&gt;http://www.linuxjournal.com/article/6602&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;chakri</description>
      <pubDate>Mon, 28 Mar 2005 05:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512545#M16844</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-03-28T05:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512546#M16845</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can modify sshd config file:&lt;BR /&gt;/etc/ssh/sshd_config&lt;BR /&gt;and change parameters:&lt;BR /&gt;AllowGroup or AllowUsers&lt;BR /&gt;&lt;BR /&gt;Look at: man sshd_config for details&lt;BR /&gt;&lt;BR /&gt;Ps,&lt;BR /&gt;after changing you have to restart sshd deamon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2005 13:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512546#M16845</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2005-03-28T13:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512547#M16846</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The file sshd_config (do a find / -name sshd_config to check the file location) edit that file &amp;amp; modify the parameters for AllowUsers &amp;amp; save it, restart the ssh daemon.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Mon, 28 Mar 2005 13:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512547#M16846</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2005-03-28T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512548#M16847</link>
      <description>I want to have a rule that:&lt;BR /&gt;(1) allow the whole of the developement group, deny all groups&lt;BR /&gt;(2) allow a few users not belong to the developement group.&lt;BR /&gt;&lt;BR /&gt;I tried to put in the following in the ssd_config:&lt;BR /&gt; :&lt;BR /&gt;AllowGroups dev&lt;BR /&gt;AllowUsers  abc&lt;BR /&gt; :&lt;BR /&gt;&lt;BR /&gt;Non of the user in dev group can login as well as user abc.&lt;BR /&gt;&lt;BR /&gt;AllowGroups and AllowUsers are mutually exclusive.&lt;BR /&gt;&lt;BR /&gt;Any idea or pointer to achieve the rule?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2005 21:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512548#M16847</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2005-03-28T21:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512549#M16848</link>
      <description>Hi Leong,&lt;BR /&gt;&lt;BR /&gt;Are you able to ssh without using these parameters? first try to check the by-default behaviour of ssh configuration, by removing the allowuser and allowgroup lines you have added. if you are not able to ssh even after removing the lines, there is some other problem.</description>
      <pubDate>Mon, 28 Mar 2005 23:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512549#M16848</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-03-28T23:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512550#M16849</link>
      <description>Tested no problem if AllowGroups and AllowUsers are removed. &lt;BR /&gt;&lt;BR /&gt;Tested no problem with only AllowGroups is inserted.&lt;BR /&gt;&lt;BR /&gt;Tested no problem with only AllowUsers is inserted.&lt;BR /&gt;&lt;BR /&gt;Tested not working if both AllowGroups and AllowUsers are inserted together.</description>
      <pubDate>Tue, 29 Mar 2005 00:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512550#M16849</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2005-03-29T00:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512551#M16850</link>
      <description>Tested no problem if AllowGroups and AllowUsers are removed. &lt;BR /&gt;&lt;BR /&gt;Tested no problem with only AllowGroups is inserted.&lt;BR /&gt;&lt;BR /&gt;Tested no problem with only AllowUsers is inserted.&lt;BR /&gt;&lt;BR /&gt;If both AllowGroups and AllowUsers are inserted together. No one can login using ssh.</description>
      <pubDate>Tue, 29 Mar 2005 00:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512551#M16850</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2005-03-29T00:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512552#M16851</link>
      <description>Hi Leon, &lt;BR /&gt;&lt;BR /&gt;I'm not very sure, but I think if you use both credentials, it makes an AND rule ( both conditions must match, means, the user must be of the group you allowed). Again, right now I do not have any Linux box around me to test it, so not very sure about it.</description>
      <pubDate>Wed, 30 Mar 2005 02:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512552#M16851</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-03-30T02:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512553#M16852</link>
      <description>The following pseudo code described access control in ssh implemented using AllowUsers and AllowGroups.&lt;BR /&gt;&lt;BR /&gt;if user in denyusers&lt;BR /&gt;     deny&lt;BR /&gt;  if #allowusers &amp;gt; 0 and user not in allowusers&lt;BR /&gt;     deny&lt;BR /&gt;  if user group in deny groups&lt;BR /&gt;     deny&lt;BR /&gt;  if #allowgroups &amp;gt; 0 and user group not in allowgroups&lt;BR /&gt;     deny&lt;BR /&gt;&lt;BR /&gt;So you can use either AllowUsers or AllowGroups but not both.&lt;BR /&gt;&lt;BR /&gt;Perphaps you can use AllowGroups only. For users that are not part of the groups specified in AllowGroups, put them in a separate group (e.g. ssh_allow) and specify that group (ssh_allow) on the AllowGroups line.</description>
      <pubDate>Wed, 30 Mar 2005 02:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512553#M16852</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-03-30T02:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Allow only certain groups to ssh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512554#M16853</link>
      <description>What not just set the shell to /bin/false?&lt;BR /&gt;&lt;BR /&gt;If you need a login that just runs a particular  command, I've always used smrsh. Not a panacea, but it is useful sometimes.&lt;BR /&gt;&lt;BR /&gt;Or just make a copy of bash, make its permissions 750, set up a group with the approved users, and set their login shell to the copy of bash?</description>
      <pubDate>Thu, 31 Mar 2005 13:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/allow-only-certain-groups-to-ssh/m-p/3512554#M16853</guid>
      <dc:creator>W Sanders_1</dc:creator>
      <dc:date>2005-03-31T13:14:52Z</dc:date>
    </item>
  </channel>
</rss>

