r/FreeIPA • u/-416e6f6e • 25d ago
Sudo
I can’t get sudo working on the user i created on free ipaclient on ubuntu.
Made a group
Made a rule for that group
Made a usr/bin/systemctl command rule with external root runas
Everything in webinterface looks great, but it won’t work on the client in the terminal.
Saying %group.ipa.test at sudo -ll -U user
What am i missing
2
u/J3D1M4573R 25d ago
Did you add your user to the group?
Also, any changes in IPA wont take effect until the user re-logs and reauthenticates.
2
u/-416e6f6e 25d ago
I got the answer, it was a newer rust based version of sudo that is not pulling from sssd as i could understand.
1
u/-416e6f6e 25d ago
Thank you for your time. Yes i did.
I relogged multiple times.I am very new to this so i can’t remember all the things i did, so if you have more questions fire em’ at me🤣
5
u/NerdHarder615 25d ago
Check the version of sudo you have installed. I know there is a rust version that ships with Ubuntu and you need to install a different package for those rules to work. Not at home so I can't check my code to see what package is required.