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

Lukas Slebodnik lslebodn at redhat.com
Mon Sep 1 13:04:10 UTC 2014


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




More information about the Freeipa-users mailing list