From c8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 8 Jul 2010 12:56:34 -0700 Subject: Display supplemental groups Show all groups in new 'show login groups' --- scripts/vyatta-show-current-user | 2 +- templates/show/login/groups/node.def | 2 +- 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 -- cgit v1.2.3