Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] Run command as another user
Josef, et al --

...and then Josef Fortier said...
% You can write a dirt simple c program to call the hard coded script
% path. That wrapper can be setuid to root.
% It's not elegant (and I'd use sudo myself) but it's worth noting.

True, but that presumes that the guy has root access, at which point
we're back to either being root to run su (ew) without a password or, as
you suggest, using sudo. I get the impression that the OP is a normal
user who isn't going to get help from root.


David T-G

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups