sup

small tool for privilege escalation
git clone https://git.parazyd.org/sup
Log | Files | Refs | README | LICENSE

commit 0492cb034b11bc7ae89a4be974cf80678c74bfe8
parent ff73a7f2a0b3eace6096e1bba19df260ea3d2f56
Author: pancake@dazo <unknown>
Date:   Mon, 14 Dec 2009 02:17:20 +0100

* If installed file has no write perms we must install it with 'cp'
Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -25,7 +25,7 @@ mrproper: clean install: mkdir -p ${DESTDIR}${PREFIX}/bin - cp sup ${DESTDIR}${PREFIX}/bin + cp -f sup ${DESTDIR}${PREFIX}/bin -chown ${USER}:${GROUP} ${DESTDIR}/${PREFIX}/bin/sup -chmod 4111 ${DESTDIR}${PREFIX}/bin/sup mkdir -p ${DESTDIR}${PREFIX}/share/man/man1