1

次の構成を使用して、sshとNISを備えたSolaris10サーバーが動作しています。

# /etc/nsswitch.conf
passwd:     files nis
group:      files nis

# /etc/ssh/sshd_config
 Protocol 2
 Port 22
 ListenAddress ::
 AllowTcpForwarding no
 GatewayPorts no
 X11Forwarding yes
 X11DisplayOffset 10
 X11UseLocalhost yes
 PrintMotd no
 KeepAlive yes
 SyslogFacility auth
 LogLevel info
 HostKey /etc/ssh/ssh_host_rsa_key
 HostKey /etc/ssh/ssh_host_dsa_key
 ServerKeyBits 768
 KeyRegenerationInterval 3600
 StrictModes yes
 LoginGraceTime 600
 MaxAuthTries       6
 MaxAuthTriesLog    3
 PermitEmptyPasswords yes
 PasswordAuthentication yes
 PAMAuthenticationViaKBDInt yes
 PermitRootLogin yes
 Subsystem  sftp    /usr/lib/ssh/sftp-server
 IgnoreRhosts yes
 RhostsAuthentication no
 RhostsRSAAuthentication no
 RSAAuthentication yes

今、私は互換モードに切り替えたいです:

# /etc/nsswitch.conf
passwd:     compat
group:      files nis

次のユーザーを追加しました。

# /etc/passwd
+luke:x:::::

実行pwvconした後、ユーザーのパスワード認証が機能lukeしなくなりました(公開鍵はまだOKです)。

セットアップに何か問題がありますか?

4

1 に答える 1