summaryrefslogtreecommitdiff
path: root/templates/system/login
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 14:57:03 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 15:01:22 -0800
commit868fb51d85439d2cb045cf810f23943c60c42c41 (patch)
treee80ada760d114d3b20c3333281c0a3be698c2239 /templates/system/login
parent433feb9b22c62c236be6d7738591a6bb3a5ae9ae (diff)
downloadvyatta-cfg-system-868fb51d85439d2cb045cf810f23943c60c42c41.tar.gz
vyatta-cfg-system-868fb51d85439d2cb045cf810f23943c60c42c41.zip
Run login update as root
Need ability to open file of new user (to load authorized key). So move sudo to template.
Diffstat (limited to 'templates/system/login')
-rw-r--r--templates/system/login/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/login/node.def b/templates/system/login/node.def
index 47878e1e..c1330b0b 100644
--- a/templates/system/login/node.def
+++ b/templates/system/login/node.def
@@ -1,4 +1,4 @@
priority: 400
help: Set user access
delete: echo 'All login methods can not be deleted' 1>&2; exit 1
-end: /opt/vyatta/sbin/vyatta_update_login.pl
+end: sudo /opt/vyatta/sbin/vyatta_update_login.pl