mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
17 lines
193 B
Bash
17 lines
193 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# verify that the binary works
|
||
|
gosu nobody true
|
||
|
|
||
|
|
||
|
cat << EOF >> /usr/bin/sudo
|
||
|
#!/bin/sh
|
||
|
|
||
|
# Emulate the sudo command
|
||
|
|
||
|
exec gosu root:root "\$@"
|
||
|
|
||
|
EOF
|
||
|
|
||
|
chmod +x /usr/bin/sudo
|