Re: 2 instances of ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Sep 2007, Jason Clifford wrote:

> No, I didn't check whether openssh (which I presume he is using) allows 
> the admin to specify a different PAM service name. It doesn't hence my 
> suggested solution was wrong.
> 
> He either needs to compile a second sshd with a customer service name 
> specified there or write an update to auth-pam.c to facilitate a new PAM 
> service name variable in the sshd_config file.

I'm wrong again.

There is an easy solution to this problem.

  ln -s /path/to/sshd /path/to/your-favorite-ssh-service-name

OpenSSH's sshd uses the basename of argv[0] as the service name, as you
would know if you were to read the INSTALL file that accompanies
OpenSSH-3.5p1.

This comes from http://marc.info/?l=openssh-unix-dev&m=104871124912817&w=2

Jason

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux