~ubuntu-branches/ubuntu/natty/pam/natty-security

« back to all changes in this revision

Viewing changes to modules/pam_env/README

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-08-26 00:40:14 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090826004014-qsd46mostuyljeqp
Tags: 1.1.0-1ubuntu1
* Merge from Debian, remaining changes:
  - debian/libpam-modules.postinst: Add PATH to /etc/environment if it's not
    present there or in /etc/security/pam_env.conf. (should send to Debian).
  - debian/libpam0g.postinst: only ask questions during update-manager when
    there are non-default services running.
  - debian/patches-applied/series: Ubuntu patches are as below ...
  - debian/patches-applied/ubuntu-no-error-if-missingok: add a new, magic
    module option 'missingok' which will suppress logging of errors by
    libpam if the module is not found.
  - debian/patches-applied/ubuntu-regression_fix_securetty: prompt for
    password on bad username.
  - debian/patches-applied/ubuntu-rlimit_nice_correction: Explicitly
    initialise RLIMIT_NICE rather than relying on the kernel limits.
  - Change Vcs-Bzr to point at the Ubuntu branch.
  - debian/local/common-password, debian/pam-configs/unix: switch from
    "md5" to "sha512" as password crypt default.
  - Make libpam-modules depend on base-files (>= 5.0.0ubuntu6), to ensure
    run-parts does the right thing in /etc/update-motd.d.
  - debian/patches-applied/pam_motd-legal-notice: display the contents of
    /etc/legal once, then set a flag in the user's homedir to prevent showing
    it again.
  - debian/local/common-{auth,account,password}.md5sums: include the
    Ubuntu-specific intrepid,jaunty md5sums for use during the
    common-session-noninteractive upgrade.
* Dropped changes, superseded upstream:
  - debian/patches-applied/ubuntu-fix_standard_types: Use standard u_int8_t
    type rather than __u8.
  - debian/patches-applied/ubuntu-user_defined_environment: Look at
    ~/.pam_environment too, with the same format as
    /etc/security/pam_env.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
By default rules for (un)setting of variables is taken from the config file /
12
12
etc/security/pam_env.conf if no other file is specified.
13
13
 
14
 
This module can also parse a file with simple KEY=VAL pairs on seperate lines
 
14
This module can also parse a file with simple KEY=VAL pairs on separate lines
15
15
(/etc/environment by default). You can change the default file to parse, with
16
16
the envfile flag and turn it on or off by setting the readenv flag to 1 or 0
17
17
respectively.
26
26
 
27
27
debug
28
28
 
29
 
    A lot of debug informations are printed with syslog(3).
 
29
    A lot of debug information is printed with syslog(3).
30
30
 
31
31
envfile=/path/to/environment
32
32
 
38
38
    Turns on or off the reading of the file specified by envfile (0 is off, 1
39
39
    is on). By default this option is on.
40
40
 
 
41
user_envfile=filename
 
42
 
 
43
    Indicate an alternative .pam_environment file to override the default. This
 
44
    can be useful when different services need different environments. The
 
45
    filename is relative to the user home directory.
 
46
 
 
47
user_readenv=0|1
 
48
 
 
49
    Turns on or off the reading of the user specific environment file. 0 is
 
50
    off, 1 is on. By default this option is on.
 
51
 
41
52
EXAMPLES
42
53
 
43
54
These are some example lines which might be specified in /etc/security/