RE: Disable ssh access to some users
From: Leece, Doug (Doug.Leece_at_bell.ca)
Date: 11/20/03
- Previous message: Thiago Lima : "RE: Disable ssh access to some users"
- Maybe in reply to: Bård Tommy Nilsen: "Disable ssh access to some users"
- Next in thread: Darren Tucker: "Re: Disable ssh access to some users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 20 Nov 2003 10:37:13 -0700 To: Bård Tommy Nilsen <bardtomm@fjord-data.no>, <secureshell@securityfocus.com>
Hello,
We have had to restrict certain users from logging in directly and this is
how we did it. Under the authentication section in the sshd_config file add a
line to deny users like this:
-----------------------------------------
# Authentication:
#LoginGraceTime 600
PermitRootLogin no
DenyUsers foo bill sally alfred <----
#StrictModes yes
-------------------------------------
You can also restrict users at the group level but note that this does not
stop anyone from logging in as themselves and SU'ing to the user that is not
allowed in,( assuming they know the password).
Hope that helps.
Doug Leece
Calgary Alberta
-----Original Message-----
From: Bård Tommy Nilsen [mailto:bardtomm@fjord-data.no]
Sent: Thursday, November 20, 2003 12:27 AM
To: secureshell@securityfocus.com
Subject: Disable ssh access to some users
Hello
Is it possible to disable ssh access to some users ??
How ??
Regards
Bård Tommy Nilsen
- Previous message: Thiago Lima : "RE: Disable ssh access to some users"
- Maybe in reply to: Bård Tommy Nilsen: "Disable ssh access to some users"
- Next in thread: Darren Tucker: "Re: Disable ssh access to some users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|