Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-25-2008, 10:36 AM   #1
Registered: Jan 2005
Location: fort worth, tx
Distribution: fedora core
Posts: 30

Rep: Reputation: 15
restrict ssh users to single user group

i am running a vanilla copy of ubuntu 7.10. i installed sshd and would like to restrict the users able to login to the ssh server to a specific group of users. is it possible to specify a single user group in a conf file somewhere to accomplish this task? i have created a user to run a teamspeak server, and i noticed this user can login to the ssh server. i have already installed denyhosts on this machine.

thanks in advance for your help.
Old 02-25-2008, 10:47 AM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
See the manpages for sshd_config(5) -- the AllowGroups directive, specifically.
Old 02-25-2008, 11:07 AM   #3
Registered: Jan 2005
Location: fort worth, tx
Distribution: fedora core
Posts: 30

Original Poster
Rep: Reputation: 15
thanks for pointing me in the right direction.


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
Restrict SSH to Group & User Hammad101 Linux - Security 2 10-16-2007 08:12 AM
how to restrict a user to a single domain in sendmail with multiple domains muralee29477 Linux - Server 2 04-30-2007 01:16 AM
how can i restrict a samba user to a single login sravanth.svk Linux - Networking 0 08-25-2006 07:53 AM
Only allowing users in a single group to ssh from internet eggi Linux - Security 4 12-19-2005 11:06 AM
restrict/allow ssh users mike30188 Linux - Security 2 06-20-2005 08:37 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:00 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