Date: Sat, 30 Nov 2002 22:47:40 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Kirk Bailey <idiot1@netzero.net> Cc: Andrew Prewett <andrew@kronos.HomeUnix.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Run as owner Message-ID: <20021201044739.GD15972@dan.emsphone.com> In-Reply-To: <3DE991FC.20200@netzero.net> References: <20021130162024.V47670-100000@slave.east.ath.cx> <3DE991FC.20200@netzero.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 30), Kirk Bailey said: > This script is not perl, it is in python. So far the python community has > failed in the search for clue, possibly this one can assist? Sudo. You don't seem to be listening to anyone's responses. Perl, Python, /bin/shl, they're all the same. You need to put the setuid bit on the /executable*, not the script, or have another setuid program (like sudo) handle permissions then exec your script as the appropriate user. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021201044739.GD15972>