Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Richard King (rking_at_generationtechnology.co.uk)
Date: Fri Dec 20 2002 - 04:02:50 CST
To allow access by limited users via ssh you should edit your sshd_config on
You want to set a default of allowing no-one access with:
then define each user on a line each with:
Obviously, restart your sshd after editing.
You other method will allow users 1,2 and 3, but also anyone else with a valid
username-password and shell.
On Friday 20 December 2002 09:36, Robert Fenney wrote:
> Thanks but I was looking to only limit access from ssh. This is was was
> in sshd_config
> AllowUsers user1 user2 user3
> This will only allow users 1,2, and 3 access to the system using sshd.
> Thanks everyone!
> On Friday, December 20, 2002, at 09:20 AM, <rkjohanns-datentechnik.de>
> > In /etc/passwd change the users' shell entry "/bin/bash" to
> > "/bin/false" (last field in line)
> > (try with a "demo" user first), any login for this user should be
> > disabled (ssh, telnet ...)
> > The restart of any daemons ist not necessary.
> > -------- Original Message --------
> > Subject: [suse-security] Help with ssh (20-Dez-2002 10:12)
> > From: rfenneyfentek.com
> > To: rkjohanns-datentechnik.de
> >> Is there a way to disable ssh logins for user? I would like to only let
> >> specific users have access to ssh sessions.
> >> Thanks!
> >> Robert
> >> --
> >> Check the headers for your unsubscription address
> >> For additional commands, e-mail: suse-security-helpsuse.com
> >> Security-related bug reports go to securitysuse.de, not here
> >> To: suse-securitysuse.com
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-helpsuse.com Security-related bug reports go to securitysuse.de, not here