diff options
author | Stephen Hemminger <shemminger@lenny.localdomain> | 2010-07-08 12:56:34 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@lenny.localdomain> | 2010-07-08 12:56:34 -0700 |
commit | c8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a (patch) | |
tree | 2419c1a794dcae21358376348992fc9ce2649ed5 | |
parent | c252f1dd7fd8551bdcdb3000eb477bf7f67d0b74 (diff) | |
download | vyatta-op-c8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a.tar.gz vyatta-op-c8b7cf158fdc3e4b0fb2f19a0444e1cb458b132a.zip |
Display supplemental groups
Show all groups in new 'show login groups'
-rwxr-xr-x | scripts/vyatta-show-current-user | 2 | ||||
-rw-r--r-- | 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 |