Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

FW: restricted users

From: Hong Tian <htian(at)ias.edu>
Date: Wed Feb 26 2003 - 19:51:23 EST


Jamie,

On my RedHat 7.3, there is no manual entry for sshd_config. But I try AllowUsers and DenyUsers. It works good.

The question now is that I have to deny more than 200 users and allow 10 users. I can't put so many users names on deny lists in sshd_config. I try to deny everyone then allow someone. But I don't know how to deny all. I try the followings, no one can deny all:

DenyUsers all                  => not works
DenyUsers ALL                  => not works
DenyUsers everyone             => not works 


DenyUsers user1                 => works!
AllowUsers user2 user3 user4 => works!

Do you know how to use DenyUsers to deny everyone?

Thanks,
Hong

-----Original Message-----
From: James Riden [mailto:james.riden@xtra.co.nz] Sent: Wednesday, February 26, 2003 7:25 PM To: 'Hong Tian'; secureshell@securityfocus.com Subject: RE: restricted users

>From: Hong Tian [mailto:htian@ias.edu]
Now I
>want to only allow some admin users to ssh to this Linux server. Do you

There are the keywords AllowUsers, DenyUsers or maybe AllowGroups, DenyGroups would be easier - would they be any help? ( man sshd_config gives details on my system )

Do you need help?X

cheers,
 Jamie

-- 
James Riden / james.riden@xtra.co.nz / jamesr@security-solutions.co.nz
http://www.security-solutions.co.nz/
Received on Wed Feb 26 20:00:45 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:55 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library