LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-25-2008, 11:36 AM   #1
winkydo
Member
 
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, 11:47 AM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
See the manpages for sshd_config(5) -- the AllowGroups directive, specifically.
 
Old 02-25-2008, 12:07 PM   #3
winkydo
Member
 
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.

https://help.ubuntu.com/community/Ad...2a0d09947e619b
 
  


Reply


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


All times are GMT -5. The time now is 09:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration