Re: setuid root
- From: Tiago Batista <baitas@xxxxxxxx>
- Date: Thu, 24 Aug 2006 19:48:05 +0100
On Thu, 24 Aug 2006 17:48:26 +0200
Patrick Useldinger <pu.news.001@xxxxxxxxx> wrote:
Tiago Simões Batista wrote:
The sysadmin already set the setuid bit on the script, but it
still fails when it tries to write to any file that only root has
write access to.
use sudo.
--
http://mail.python.org/mailman/listinfo/python-list
Thank you, both fot you and for Ove Svensson.
I was looking for a simpler way, that required as little intervention as possible from the main sysadmin. Given the situation I am facing, I will probably use sudo, it keeps things cleaner...
Again, thank you
Tiago
Attachment:
signature.asc
Description: PGP signature
Relevant Pages
- Re: Should I redefine PATH in my shell scripts
... fails because the PATH is changed by sudo and external tools couldn't ... If you let sudo run any external tool, ... Fair enough but some of my scripts are intended to be run as root ... if I used "sudo my-script.sh" then it fails. ... (comp.unix.shell) - Re: Should I redefine PATH in my shell scripts
... fails because the PATH is changed by sudo and external tools couldn't ... If you let sudo run any external tool, ... Fair enough but some of my scripts are intended to be run as root ... if I used "sudo my-script.sh" then it fails. ... (comp.unix.shell) - Re: Should I redefine PATH in my shell scripts
... fails because the PATH is changed by sudo and external tools couldn't ... If you let sudo run any external tool, ... Fair enough but some of my scripts are intended to be run as root ... if I used "sudo my-script.sh" then it fails. ... (comp.unix.shell) - Re: Card Reader
... Running your script ... instead of sudo is worthless because your script *can't do ... And of course it doesn't ask for a root password, ... >> That's just more bullshit Bryan, and you might as well leave ... (rec.photo.digital) - Re: hi all..
... And with sudo, I certainly wouldn't because they already have root. ... If you somehow had access to my account right now, ... install an effective key logger without root. ... (Fedora) |
|