mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 09:04:27 +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
|