~ubuntu-branches/ubuntu/wily/wdm/wily-proposed

« back to all changes in this revision

Viewing changes to debian/wdm.pam

  • Committer: Package Import Robot
  • Author(s): Agustin Martin Domingo
  • Date: 2012-05-16 18:28:46 UTC
  • Revision ID: package-import@ubuntu.com-20120516182846-ztr8huxgjvay8h4x
Tags: 1.28-12
* QA upload.
* Add calls to pam_selinux module in pam files. Thanks Laurent
  Bigonville for bug report and proposed change (Closes: #664809).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#%PAM-1.0
 
2
# -------------------------------------------------------------
2
3
auth            required        pam_nologin.so
3
4
auth            required        pam_env.so envfile=/etc/default/locale
4
 
session         required        pam_limits.so
5
 
 
6
5
@include common-auth
 
6
# -------------------------------------------------------------
7
7
@include common-account
 
8
# -------------------------------------------------------------
 
9
# SELinux needs to be the first session rule. This ensures that any
 
10
# lingering context has been cleared. Without out this it is possible
 
11
# that a module could execute code in the wrong domain.
 
12
session required        pam_selinux.so close
 
13
session         required        pam_limits.so
8
14
@include common-session
 
15
# SELinux needs to intervene at login time to ensure that the process
 
16
# starts in the proper default security context. Only sessions which are
 
17
# intended to run in the user's context should be run after this.
 
18
session required        pam_selinux.so open