I think this is exactly what I am looking for. And
Thanks Rick for the comment. I am using iptables to
block all other access so ssh specific blocking is for
me.
David
--- Rick Johnson <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> gabriel wrote:
> | there are
- Original Message -
From: "David H" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 2:38 PM
Subject: How to limit user access in ssh?
> I would like to have "no login" for some users in ssh,
> how do I do it?
Create
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
gabriel wrote:
| there are a couple ways, but the one i found worked best for me was to
| configure pam to issue an "f-off" for users not in a "ssh_allowed" list
| in /etc/ssh/:
|
| edit /etc/pam.d/ssh and add this line:
|
| auth required p
On Fri, 2003-01-10 at 14:38, David H wrote:
> Hi,
>
> I would like to have "no login" for some users in ssh,
> how do I do it?
>
> Thanks
> David
there are a couple ways, but the one i found worked best for me was to
configure pam to issue an "f-off" for users not in a "ssh_allowed" list
in /etc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David H wrote:
| Hi,
|
| I would like to have "no login" for some users in ssh,
| how do I do it?
Set the user's shell to /sbin/nologin or /bin/false (former is preferred
since it's considered a valid shell by FTP and other clients).
usermod -s /sbin
Hi,
I would like to have "no login" for some users in ssh,
how do I do it?
Thanks
David
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROT