SSH with PAM
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
sorry for my orrible english.
I have this problem.
On a server Cobalt RAQ2 with debian sarge 2.4.27-r5k-cobalt
OpenSSH 3.8.1p1-8.sarg
I have this pam.d/ssh:
=2D --------------------------
# PAM configuration for the Secure Shell service
# Disallow non-root logins when /etc/nologin exists.
auth required pam_nologin.so
# Read environment variables from /etc/environment and
# /etc/security/pam_env.conf.
auth required pam_env.so # [1]
# Standard Un*x authentication.
@include common-auth
# Standard Un*x authorization.
@include common-account
# Standard Un*x session setup and teardown.
@include common-session
# Print the message of the day upon successful login.
session optional pam_motd.so debug # [1]
# Print the status of the user's mailbox upon successful login.
session optional pam_mail.so debug standard noenv # [1]
# Lastlog
session optional pam_lastlog.so debug
# Set up user limits from /etc/security/limits.conf.
session required pam_limits.so
# mia aggiunta
session required pam_chroot.so
# Standard Un*x password updating.
@include common-password
=2D -----------------------
I can login, but the modules with control flag "optional" don't work, they =
are=20
ignored.
In fact don't produced their output (last log, banner and presence mail=20
signalation) and there is not anything in /var/log/auth.log.=20
In sshd_config is set=20
LogLevel DEBUG3
and the other modules, with control flag required, work.
what is this?
Thank's very much
=2D --=20
=2D -- Marco Allegretti --
http://www.shishii.com
Messaggio firmato con chiave GpG
scaricabile:
http://www.shishii.com/download/shishii_gpg_key.txt
Impronta digitale =3D=20
=46E3B 3EE0 35F1 7936 3302 62D5 5957 BADA 72DF F0B3
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFB2YlpWVe62nLf8LMRAsQdAJ4nDYrC5gmKRK64nmKcvxrsYew47gCgqdyb
Av6QNJ3OWNdj5LAfdjZdP/w=3D
=3DmSVI
=2D----END PGP SIGNATURE-----
Reply to: