Changing PAM service name in sshd_config, or running sshd as non-root

Jim Knoble jmknoble at pobox.com
Thu Mar 27 07:20:16 EST 2003


Circa 2003-03-26 19:25:25 +0300 dixit Michael Tokarev:

: Currently, openssh's PAM service name is a compile-time choice.

  [...]

: So, that to say - why there is no e.g. PamServiceName configuration
: option in sshd_config?

There is one, it's just called something different:

  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.

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
Stop the War on Freedom ... Start the War on Poverty!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 256 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030326/49f654fe/attachment.bin 


More information about the openssh-unix-dev mailing list