[Freeipa-users] How to use sudo rules on ubuntu

Natxo Asenjo natxo.asenjo at gmail.com
Mon Sep 1 13:05:55 UTC 2014


On Mon, Sep 1, 2014 at 2:48 PM, Tevfik Ceydeliler <
tevfik.ceydeliler at astron.yasar.com.tr> wrote:

>  Actually All I wanna do is , give permission to user to use some commanf.
> for example apt-get or something else.
> I Think I can do it with IPA
> right?
>
>
sure,  I do it all the time. But  Lukas was pointing to the fact that there
are no sudo commands in the example you posted.

there should be something like:


sudo /usr/bin/apt-get (running as user1, so you need to login as that user
first and then run the sudo command).

instead of su - user1 apt-get install ..


On 01-09-2014 15:42, Lukas Slebodnik wrote:
>
> ogin: Mon Sep  1 13:47:08 2014 from 10.65.8.100>user1 at clnt:~$ su - user1 apt-get install>Password:>/usr/bin/apt-get: /usr/bin/apt-get: cannot execute binary file>>Does anyone have an article about ubuntu+ipa entegration?
>
>
> -
>

-- 
--
Groeten,
natxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140901/1bf25b1b/attachment.htm>


More information about the Freeipa-users mailing list