Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] Run command as another user
Paul --

...and then Paul Groves said...
%
...
% So then the question becomes how do I run a command using another
% user's credentials in c / c++? can system() do this?

Your first step is to get root access, which puts you right back at
allowing sudo execution. I really don't think you want to try reinventing
the wheel...


HAND

:-D
--
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt


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

< Previous Next >
List Navigation
Follow Ups