zsh-workers
 help / color / mirror / code / Atom feed
* builtin setuid and setgid commands
@ 2006-09-12 19:16 Dave Yost
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Yost @ 2006-09-12 19:16 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-13  0:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <pdy98830624063bc12cb7255de8@192.168.1.2>
2006-09-12 19:51 ` builtin setuid and setgid commands Mikael Magnusson
2006-09-12 20:57   ` Dave Yost
2006-09-13  0:56     ` Bart Schaefer
2006-09-12 19:16 Dave Yost

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).