Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
builtin setuid and setgid commands
- X-seq: zsh-workers 22696
- From: Dave Yost <Dave@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: builtin setuid and setgid commands
- Date: Tue, 12 Sep 2006 12:16:40 -0700
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Zshell should have builtins to call the setuid and setgid system calls.
With this feature, one can write a shell script that is executed by
root but runs as another user.
The usefulness of this feature came up in the context of the
mysql.server script, which starts/stops the server and is run by root
at boot time. It would be nice if the script itself could use a
setuid command to ensure that it is running as the mysql user.
Thanks
Dave
Messages sorted by:
Reverse Date,
Date,
Thread,
Author