Re: Disallow users to login via ssh?
From: Jonathan (jonathanNOFISH@sprintmail.com)
Date: 04/23/03
- Previous message: Sebastian Schack: "Disallow users to login via ssh?"
- In reply to: Sebastian Schack: "Disallow users to login via ssh?"
- Next in thread: Peter Rehäußer: "Re: Disallow users to login via ssh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Jonathan" <jonathanNOFISH@sprintmail.com> Date: Wed, 23 Apr 2003 16:20:07 -0400
This could be done really easily with PAM. Linux has a PAM module just for
this kind of thing; go to:
http://www.kernel.org/pub/linux/libs/pam
(although it seems to be down at this moment??)
Look at the PAM module named pam_listfile. This does exactly what you want.
It's made for Linux but does compile in Solaris (and probably elsewhere).
good luck,
Jonathan
"Sebastian Schack" <sschack@ki.tng.de> wrote in message
news:b86qpc$9qt$1@ulric.tng.de...
> Hi again.
>
> After not being able to manage to chroot specific users into their home
> dirs I decided to want to not let specific users connect to my computer
> via ssh.
>
> I had a look at /etc/ssh/sshd.conf but didn't find anything where I
> could add UIDs or Usernames that should not be able to login via SSH.
>
> Can this be done? If 'yes': how? :)
>
> Thanks in advance,
>
> Sebastian
>
> --
> "I'm starting with the man in the mirror, I'm asking him to change his
> ways, And no message could have been any clearer, If you wanna make the
> world a better place, Take a look at yourself, and then make a change!"
> - Michael Jackson
>
- Previous message: Sebastian Schack: "Disallow users to login via ssh?"
- In reply to: Sebastian Schack: "Disallow users to login via ssh?"
- Next in thread: Peter Rehäußer: "Re: Disallow users to login via ssh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|