Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] Run command as another user
On Fri, Sep 29, 2017 at 2:44 PM, David T-G <d13@xxxxxxxxxxxxxxx> wrote:
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,

wrong. Read my earlier reply.

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

< Previous Next >
List Navigation
Follow Ups