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

Tevfik Ceydeliler tevfik.ceydeliler at astron.yasar.com.tr
Mon Sep 1 13:25:11 UTC 2014


I think something wrong or miss in ym configuration:
user1 at clnt:~$ sudo /usr/bin/apt-get install
[sudo] password for user1:
user1 is not allowed to run sudo on clnt.  This incident will be reported.
On 01-09-2014 16:05, Natxo Asenjo wrote:
>
>
>
> On Mon, Sep 1, 2014 at 2:48 PM, Tevfik Ceydeliler 
> <tevfik.ceydeliler at astron.yasar.com.tr 
> <mailto: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

-- 


<br>
<img src="http://www.yasar.com.tr/banner/yhbanner.jpg"> </img>
<br><br>
Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve mesaji sisteminizden siliniz.The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and Yasar Group Companies do not accept legal responsibility for the contents. If you are not the intended recipient, please immediately notify the sender and delete it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140901/7651dc3f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 15216 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140901/7651dc3f/attachment.png>


More information about the Freeipa-users mailing list