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

Tevfik Ceydeliler tevfik.ceydeliler at astron.yasar.com.tr
Mon Sep 1 14:52:14 UTC 2014


1. I think I configure instead of this document
2. I can login with ordinary user
3.
  Irun the command:
ssh user1 at 10.1.1.174
user1 at 10.1.1.174's password:
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-24-generic x86_64)

  * Documentation:  https://help.ubuntu.com/

Last login: Mon Sep  1 15:03:57 2014 from 10.65.8.100
user1 at clnt:~$ sudo -l
[sudo] password for user1:
User user1 is not allowed to run sudo on clnt.
user1 at clnt:~$

4.  ??

On 01-09-2014 16:04, Lukas Slebodnik wrote:
> On (01/09/14 15:48), Tevfik Ceydeliler 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?
> Yes, but you need to use sudo.
>
> Step 1: configure sudo rules for ordinary user
>      Please follow the instructions from FreeIPA documentation.
>      http://www.freeipa.org/docs/master/html-desktop/index.html#sudo
>
> Step 2: login to machine as ordinary user, which is allowed to use sudo.
> Step 3: run command
>      sudo -l
>      // this command should show you which commands can be executed as root
>      // with sudo
> Step 4: If there weren't any problems then user will be able to run command.
>      sudo some_command_listed_in_step3
>
> LS

-- 


<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/58ed1f76/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/58ed1f76/attachment.png>


More information about the Freeipa-users mailing list