LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 06-20-2005, 07:47 PM   #1
mike30188
LQ Newbie
 
Registered: Jun 2005
Distribution: RedHat 9
Posts: 17

Rep: Reputation: 0
restrict/allow ssh users


Hello,

I'm running RedHat 9. I need to allow certain users access to ssh, and restrict everyone else. I don't want to restrict IP addresses with IPTABLES or public/private keys. It seems there should be a simple way to do this.
 
Old 06-20-2005, 08:04 PM   #2
mhallbiai
Member
 
Registered: Jun 2005
Posts: 96

Rep: Reputation: 15
you can edit /etc/ssh/sshd_config and edit the AllowUsers line

hope this helps
 
Old 06-20-2005, 08:37 PM   #3
mike30188
LQ Newbie
 
Registered: Jun 2005
Distribution: RedHat 9
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks!

I also found some helpful info on /etc/pam.d/sshd:

http://kbase.redhat.com/faq/dml_fetc...tance=&Shared=
 
  


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 unix users to ~ novaprime Linux - Software 20 01-25-2005 11:41 PM
Restrict users logging in by SSH tolindsey Linux - Security 4 08-12-2004 04:17 PM
restrict space for some users in directories CleonII Linux - Security 5 02-25-2004 10:08 AM
Restrict Directories to users with SSH aeruzcar Linux - General 5 09-11-2003 03:28 PM
How to restrict email from users... Supp0rtLinux Linux - Software 1 01-08-2003 03:37 AM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
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