Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
inetstation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccc-ffm
inetstation
Commits
c41db152
Commit
c41db152
authored
9 years ago
by
schiermi
Browse files
Options
Downloads
Patches
Plain Diff
Experiments part 22
parent
c1cf0eb6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/system/files/etc/pam.d/common-session
+28
-0
28 additions, 0 deletions
modules/system/files/etc/pam.d/common-session
modules/system/manifests/init.pp
+5
-0
5 additions, 0 deletions
modules/system/manifests/init.pp
with
33 additions
and
0 deletions
modules/system/files/etc/pam.d/common-session
0 → 100644
+
28
−
0
View file @
c41db152
#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive).
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules. See
# pam-auth-update(8) for details.
# here are the per-package modules (the "Primary" block)
session [default=1] pam_permit.so
# here's the fallback if no module succeeds
session requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
session required pam_permit.so
# and here are more per-package modules (the "Additional" block)
session optional pam_systemd.so
session required pam_mkhomedir.so skel=/etc/skel umask=0022
session required pam_unix.so
session optional pam_tmpdir.so
# end of pam-auth-update config
This diff is collapsed.
Click to expand it.
modules/system/manifests/init.pp
+
5
−
0
View file @
c41db152
...
...
@@ -33,6 +33,11 @@ class system {
include
pam
include
pam::mkhomedir
file
{
'/etc/pam.d/common-session'
:
source
=>
'puppet:///modules/system/etc/pam.d/common-session'
,
require
=>
Exec
[
'pam_auth_update'
],
}
package
{
'chrony'
:
ensure
=>
installed
,
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment