Re: How to PREVENT a user from logging in through SSH
- From: Darren Tucker <dtucker@xxxxxxxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 20:48:17 +1000
On 2008-04-09, Ignoramus22864 <ignoramus22864@xxxxxxxxxxxxxxxxxxxx> wrote:
On 2008-04-09, Jurgen Haan <jurgen@xxxxxxxx> wrote:[...]
Ignoramus10392 wrote:
[...]I would like to disable any remote SSH logins for these users.
Give them a non-usable shell.
/bin/false or /bin/nologin
Um, these users NEED to log in, just not from SSH. They need to log in
from GDM.
If you're using OpenSSH, list them in DenyUsers in sshd_config.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
.
- Prev by Date: Re: ssh-keygen only
- Next by Date: Re: Running multiple sshd instances on one server
- Previous by thread: Re: How to PREVENT a user from logging in through SSH
- Next by thread: Wikipedia
- Index(es):
Relevant Pages
|
|