Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lonlone Lee
base
Commits
33b10dfa
Verified
Commit
33b10dfa
authored
Oct 27, 2017
by
Adam Lewenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some whitespace issues in /etc/pam.d/sshd
parent
e59e41a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
NEWS
NEWS
+2
-1
templates/ssh/etc/pam.d/sshd.erb
templates/ssh/etc/pam.d/sshd.erb
+6
-6
No files found.
NEWS
View file @
33b10dfa
...
...
@@ -3,7 +3,8 @@ unreleased (207x-xx-xx)
[
ssh
]
Change
interface
parameter
.
The
parameter
base
::
ssh
::
extra_gssapi_only_users
has
been
renamed
to
base
::
ssh
::
extra_skip_duo_users
to
more
accurately
reflect
what
this
parameter
does
.
[
adamhl
]
parameter
does
.
Also
,
fix
some
whitespace
messiness
in
/
etc
/
pam
.
d
/
sshd
[
adamhl
]
release
/
005.010
(
2017
-
10
-
02
)
...
...
templates/ssh/etc/pam.d/sshd.erb
View file @
33b10dfa
...
...
@@ -9,16 +9,16 @@
# credential), then "jump over" the pam_duo module to step 3. If not,
# go to the next module in the stack (2).
# 2. If the user is _not_ root, require Duo.
<%
if
@pam_afs
%>
# 3. Set up the AFS session and then, whether the AFS sess
s
ion setup works
# or not, quit the pam stack
<%
end
%>
<%
-
if
@pam_afs
-
%>
# 3. Set up the AFS session and then, whether the AFS session setup works
# or not, quit the pam stack
.
<%
-
end
-
%>
auth [success=1 default=ignore] pam_succeed_if.so uid eq 0
auth required pam_duo.so conf=/etc/security/pam_duo_ssh.conf
<%
if
@pam_afs
%>
<%
-
if
@pam_afs
-
%>
auth [success=done default=die] pam_afs_session.so
<%
end
%>
<%
-
end
-
%>
##############################################################################
# account
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment