Re(2): setuid-skript

From: domi <domi(at)saargate.de>
Date: Wed, 24 Nov 1999 10:15:28 +0100

invi(at)berlin.snafu.de schreibt:
>main()
>{
> int oUid=getuid();
> setuid(0);
> system("/sbin/ifconfig isp0 up");
> setuid(oUid);
>}

braucht man das setuid() in dem Fall überhaupt?

Viele Grüße

Dominik

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 24 Nov 1999 - 10:17:34 CET

search this site