Hi,
Sorry if anyone gets this twice.

I am running Solaris 7 and 8 and I would like to get ssh to require both
public-key and UNIX password.  My understanding is that I can use pam to
do this but I have had no success.
I tried putting;

sshd  auth      required  /usr/lib/security/pam_unix.so debug=20
sshd  account   required  /usr/lib/security/pam_unix.so debug=20
sshd  password  required  /usr/lib/security/pam_unix.so debug
sshd  session   required  /usr/lib/security/pam_unix.so debug

in /etc/pam.conf but it still won't ask for a password.

I have "passwordauthentication yes" in sshd_config and if I try to
connect from a client with no public-key I am asked for a password.

Both methods work in an "or" fashion.  How can I make it an "and"

Also, if this seems like it is unnecessary please give me some arguments
as to why it is better one way or the other.

Thank you,

Dave Baldwin
RHCE, NOC System Engineer
Network Insight, LLC
www.networkinsight.com
Main: 858-450-1180 Ext. 8294
Direct: 858-362-8294
Mobile: 619-726-5485
Fax: 858-450-1141


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to