Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


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

Rep: Reputation: 0
restrict/allow ssh users


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
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
LQ Newbie
Registered: Jun 2005
Distribution: RedHat 9
Posts: 17

Original Poster
Rep: Reputation: 0

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


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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:42 AM.

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