Link to home
Start Free TrialLog in
Avatar of Jasmin shahrzad
Jasmin shahrzad

asked on

sudores on server from ipa

how to create sudores policy for server on free-ipa.
i used following doc : https://docs.fedoraproject.org/en-US/Fedora/17/html/FreeIPA_Guide/defining-sudorules.html
but it's not working.
i add server then i login to server and try command sudo apt update. error message say:

is not allowed to execute..... as root on server ....
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

can you post the entry you added?
Avatar of Jasmin shahrzad
Jasmin shahrzad

ASKER

i create a sudo rule /usr//bin/apt-get  name it update
then   ipa sudorule-add update
then   ipa sudrule-add-user update --users='my account_name"
then add the sudo rul to an ubuntu server
login to ubuntu server on my account (ubuntu server is add to domain) then i say sudo apt-get update write my password
and output say don't permission .....
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.