diff options
| author | Daniil Baturin <daniil@baturin.org> | 2023-04-15 02:59:20 +0100 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2023-05-05 21:31:18 +0100 |
| commit | dd34652631caa140b9d5edbe2336643ebe14666d (patch) | |
| tree | dbba7ffc4b47b3a5528388b5e6a267e03017dd84 /scripts/vyatta-show-current-user | |
| parent | 87742e42c71da5a48633fb22df831aa2b7403bd8 (diff) | |
| download | vyatta-op-dd34652631caa140b9d5edbe2336643ebe14666d.tar.gz vyatta-op-dd34652631caa140b9d5edbe2336643ebe14666d.zip | |
T671: remove scripts that are not used by anything
* vyatta-gettime.pl
* vyatta-show-current-user
* vyatta-regen-unpriv-commands.sh
* vyatta-monitor-list
Diffstat (limited to 'scripts/vyatta-show-current-user')
| -rwxr-xr-x | scripts/vyatta-show-current-user | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/vyatta-show-current-user b/scripts/vyatta-show-current-user deleted file mode 100755 index f55f047..0000000 --- a/scripts/vyatta-show-current-user +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/bash -# -# Simple script for "show login" - -echo -n "login : " ; who -m - -if [ -n "$VYATTA_USER_LEVEL_DIR" ] -then - echo -n "level : " - basename $VYATTA_USER_LEVEL_DIR -fi - -echo -n "user : " ; id -un -echo -n "groups : " ; id -Gn - -if id -Z >/dev/null 2>&1 -then - echo -n "context : " - id -Z -fi |
