source: trunk/packages/sipb-xen-console/files/etc/pam.d/ssh.sipb-xen @ 584

Last change on this file since 584 was 380, checked in by broder, 17 years ago

Added configuration changes for Kerberos and passwordless SSH, and fixed some miscellaneous things.

I know that /etc/pam.d/ssh and /etc/ssh/sshd_config should probably be done with the other debathena config magic, but I just don't understand it, and also, my Perl-fu isn't good enough

File size: 1.8 KB
RevLine 
[380]1# PAM configuration for the Secure Shell service
2
3# If they're not root, but their user exists (success),
4auth    [success=ignore ignore=ignore default=1 module_unknown=die]        pam_succeed_if.so uid > 0
5# print the "You don't have tickets" error:
6auth    [success=die ignore=reset default=die module_unknown=die]  pam_echo.so file=/etc/issue.net.no_tkt
7# If !(they are root),
8auth    [success=1 ignore=ignore default=ignore module_unknown=die]        pam_succeed_if.so uid eq 0
9# print the "your account doesn't exist" error:
10auth    [success=die ignore=reset default=die module_unknown=die]  pam_echo.so file=/etc/issue.net.no_user
11
12# Read environment variables from /etc/environment and
13# /etc/security/pam_env.conf.
14auth       required     pam_env.so # [1]
15# In Debian 4.0 (etch), locale-related environment variables were moved to
16# /etc/default/locale, so read that as well.
17auth       required     pam_env.so envfile=/etc/default/locale
18
19# Standard Un*x authentication.
20@include common-auth
21
22# Disallow non-root logins when /etc/nologin exists.
23account    required     pam_nologin.so
24
25# Uncomment and edit /etc/security/access.conf if you need to set complex
26# access limits that are hard to express in sshd_config.
27# account  required     pam_access.so
28
29# Standard Un*x authorization.
30@include common-account
31
32# Standard Un*x session setup and teardown.
33@include common-session
34
35# Print the message of the day upon successful login.
36session    optional     pam_motd.so # [1]
37
38# Print the status of the user's mailbox upon successful login.
39session    optional     pam_mail.so standard noenv # [1]
40
41# Set up user limits from /etc/security/limits.conf.
42session    required     pam_limits.so
43
44# Set up SELinux capabilities (need modified pam)
45# session  required     pam_selinux.so multiple
46
47# Standard Un*x password updating.
48@include common-password
Note: See TracBrowser for help on using the repository browser.