summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@lenny.localdomain>2010-07-08 12:56:34 -0700
committerStephen Hemminger <shemminger@lenny.localdomain>2010-07-08 12:56:34 -0700
commitc8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a (patch)
tree2419c1a794dcae21358376348992fc9ce2649ed5
parentc252f1dd7fd8551bdcdb3000eb477bf7f67d0b74 (diff)
downloadvyatta-op-c8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a.tar.gz
vyatta-op-c8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a.zip
Display supplemental groups
Show all groups in new 'show login groups'
-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