Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3796598
D1333.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1333.diff
View Options
diff --git a/roles/bastion/yubico/init.sls b/roles/bastion/yubico/init.sls
--- a/roles/bastion/yubico/init.sls
+++ b/roles/bastion/yubico/init.sls
@@ -10,3 +10,4 @@
include:
- .authorized_yubikeys
+ - .selinux
diff --git a/roles/bastion/yubico/selinux.sls b/roles/bastion/yubico/selinux.sls
new file mode 100644
--- /dev/null
+++ b/roles/bastion/yubico/selinux.sls
@@ -0,0 +1,23 @@
+# -------------------------------------------------------------
+# Salt — Bastion - Yubikeys
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-02-18
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% if grains['os_family'] == 'RedHat' %}
+
+# On Fedora and downstreams, SELinux restricts the capability
+# of SSHD to connect to external servers.
+#
+# From Fedora 18, a flag to allow connection for Yubikeys
+# authentication has been provided.
+#
+# Reference: https://bugzilla.redhat.com/show_bug.cgi?id=841693
+
+selinux_authlogin_yubikey:
+ cmd.run:
+ - name: setsebool -P authlogin_yubikey 1
+
+{% endif %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 06:52 (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2270715
Default Alt Text
D1333.diff (1 KB)
Attached To
Mode
D1333: Configure SELinux policy for Yubikeys on RedHat servers
Attached
Detach File
Event Timeline
Log In to Comment