$conf['savedir'] = '/app/www/public/data'; tricks:shell [DokuWiki]

Site Tools


tricks:shell

This is an old revision of the document!


Shell tricks

Sudo privilege escalation

if [ "$(id -u)" != 0]; then
    sudo "$0" "$*"
    exit $?
fi
tricks/shell.1613118148.txt.gz · Last modified: 2023/05/30 22:32 (external edit)