Re: user selection for ssh connection
From: bugtraq@rootbash.beDate: 11/29/01
- Previous message: Brian C. Lane: "Re: secure remote logging"
- In reply to: james d. butler: "user selection for ssh connections"
- Next in thread: Guillermo Ontañón: "Re: user selection for ssh connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 29 Nov 2001 16:40:35 +0000 (GMT) From: <bugtraq@rootbash.be> To: "james d. butler" <jamesDB@rocketmail.com> Subject: Re: user selection for ssh connection Message-ID: <Pine.LNX.4.33.0111291640090.8102-100000@tux.rootbash.be>
> Is it possible to exclude individual users from connecting via
> SSH? I'd like to have a list of users that are allowed to
> connect and a list of those that are not. Can it be done? If
> so, how?
One of th emost used practices are
in /etc/passwd
the shell of the people who can not use ssh
or /bin/false which means no login
or /bin/ftponly for people who can not log in but can use ftp
and /bin/ftponly a script which shows a warning that you are not allowd
simpy
echo "you have no access to this by ssh , only ftp"
and for more security you can use trap so they aint able to stop the
script with ctrl-c or something like that
Bruno
Rootbash.be
- Previous message: Brian C. Lane: "Re: secure remote logging"
- In reply to: james d. butler: "user selection for ssh connections"
- Next in thread: Guillermo Ontañón: "Re: user selection for ssh connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|