summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-show-current-user2
-rw-r--r--templates/show/login/groups/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-show-current-user b/scripts/vyatta-show-current-user
index 87c5543..f55f047 100755
--- a/scripts/vyatta-show-current-user
+++ b/scripts/vyatta-show-current-user
@@ -11,7 +11,7 @@ then
fi
echo -n "user : " ; id -un
-echo -n "groups : " ; id -gn
+echo -n "groups : " ; id -Gn
if id -Z >/dev/null 2>&1
then
diff --git a/templates/show/login/groups/node.def b/templates/show/login/groups/node.def
index 953f866..9276c7b 100644
--- a/templates/show/login/groups/node.def
+++ b/templates/show/login/groups/node.def
@@ -1,2 +1,2 @@
help: Show current login group information
-run: id -gn
+run: id -Gn