summaryrefslogtreecommitdiff
path: root/templates/service/ssh/deny-users
diff options
context:
space:
mode:
authorAlain Lamar <alain_lamar@yahoo.de>2018-01-02 19:17:20 +0100
committerAlain Lamar <alain_lamar@yahoo.de>2018-01-02 19:17:20 +0100
commitc4b7a6a89d8309ffef66c7ddf9a74e03eef6c83f (patch)
tree73ba3f925472d44499695942a2b595c286e323c6 /templates/service/ssh/deny-users
parent9b6efe5342a2d555dc4d5e5bb15671e72fe36f41 (diff)
downloadvyatta-cfg-system-c4b7a6a89d8309ffef66c7ddf9a74e03eef6c83f.tar.gz
vyatta-cfg-system-c4b7a6a89d8309ffef66c7ddf9a74e03eef6c83f.zip
T122: Undo the multiple-features-in-one-commit commit
Diffstat (limited to 'templates/service/ssh/deny-users')
-rw-r--r--templates/service/ssh/deny-users/node.def11
1 files changed, 0 insertions, 11 deletions
diff --git a/templates/service/ssh/deny-users/node.def b/templates/service/ssh/deny-users/node.def
deleted file mode 100644
index a6426f90..00000000
--- a/templates/service/ssh/deny-users/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-type: txt
-help: Configure sshd_config access control for disallowed users.
-comp_help: The SSH user and group access control directives (allow/deny) are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups. Multiple users can be specified as a comma-separated list.
-
-create: sudo sed -i -e '$ a \
-DenyUsers $VAR(@)' /etc/ssh/sshd_config
-
-delete: sudo sed -i -e '/^DenyUsers $VAR(@)$/d' /etc/ssh/sshd_config
-
-update: sudo sed -i -e '/^DenyUsers.*$/c \
-DenyUsers $VAR(@)' /etc/ssh/sshd_config