diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:14:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:14:48 +0000 |
commit | f31abc917cbc1499c19589a26f3a901acb295e5e (patch) | |
tree | ae714c4984456fa27384a7cca1cd976bac31596a /debian/tests/common/asuser | |
parent | Adding upstream version 1.9.15p5. (diff) | |
download | sudo-f31abc917cbc1499c19589a26f3a901acb295e5e.tar.xz sudo-f31abc917cbc1499c19589a26f3a901acb295e5e.zip |
Adding debian version 1.9.15p5-3.debian/1.9.15p5-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/common/asuser')
-rwxr-xr-x | debian/tests/common/asuser | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/tests/common/asuser b/debian/tests/common/asuser new file mode 100755 index 0000000..291b40a --- /dev/null +++ b/debian/tests/common/asuser @@ -0,0 +1,7 @@ +#!/bin/bash + +set -e + +echo "${1:-}" | sudo -u "${2:-root}" --stdin id -u > "${3:-stdout}" 2> "${4:-stderr}" + + |