Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: Anyone willing to share an SUID wrapper program to take/pass arguments to a shell script on Unbuntu? |
| Date | 2012-01-13 22:28 +0000 |
| Message-Id | <pan.2012.01.13.22.28.14.650000@nowhere.com> |
| Newsgroups | comp.lang.c |
| References | <jeq8gt$csa$1@dont-email.me> |
| Organization | Zen Internet |
On Fri, 13 Jan 2012 21:42:53 +0000, bobm3 wrote: > As the subject states: I'm NOT a c programmer (wish I was) and I need a > wrapper to be able to run a shell script as a different user. While the > examples I've found seem simple I need it to be able to take one or more > CLI args along with their values and include them to the called script to > execute. Use sudo; it can be configured to allow a specific user to run a specific command with specific arguments as a specific user. It also deals with any platform-specific quirks (which could be security holes if not handled correctly). Also: this is off-topic for c.l.c, as it's primarily a Unix question rather than a C question. Even if you wrote such a tool in C, it would be 90% Unix knowledge, 10% C knowledge.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Anyone willing to share an SUID wrapper program to take/pass arguments to a shell script on Unbuntu? bobm3@worthless.info - 2012-01-13 21:42 +0000 Re: Anyone willing to share an SUID wrapper program to take/pass arguments to a shell script on Unbuntu? Nobody <nobody@nowhere.com> - 2012-01-13 22:28 +0000 Re: Anyone willing to share an SUID wrapper program to take/pass arguments to a shell script on Unbuntu? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-14 00:05 +0100 Re: Anyone willing to share an SUID wrapper program to take/pass arguments to a shell script on Unbuntu? Markus Wichmann <nullplan@gmx.net> - 2012-01-15 18:53 +0100
csiph-web