Configure PAM, Radius for ssh
Hi
I want to do following scenario:
I configured PAM and freeradius, so when a user wants to ssh to server, server asks PAM if the password is correct and it is working well.
Now, I want to let users who have not account on ssh server to be able to ssh. I create user in PAM, but when ssh to server it append word "INCORRECT" to password and so PAM does no authenticate user.
I think the problem is the user is not on ssh server.
I want to know is there anyway to this?
I mean user does not exist on ssh server but on radius, server asks radius for authentication and radius authenticates it.
So in next step I can give it chroot ssh.
Thanks in advance
|