Hi,
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

BEGIN:VCARD
VERSION:2.1
N:Baldwin;David
FN:David Baldwin
ORG:Network Insight, LLC;Network Management
ADR;WORK:;San Diego;10717 Sorrento Valley Road;San Diego;CA;92121
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:San Diego=0D=0A10717 Sorrento Valley Road=0D=0ASan Diego, CA 92121
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20011008T193738Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to