OpenSUSE Yast permissions for user
Posted
by
pajton
on Server Fault
See other posts from Server Fault
or by pajton
Published on 2011-11-26T00:41:12Z
Indexed on
2011/11/26
1:53 UTC
Read the original article
Hit count: 643
I have an OpenSUSE 11.4 box with Kde 4.6. I am currently working to create a sandbox environment for the user, let's call hime bob. Bob isn't allowed to do much in the system, but I'd like to let him configure certain things in yast. I have dektop shortcuts for particular yast modules, e.g. the shortcut executes xdg-su -c "/sbin/yast2 lan"
to launch yast lan configuration.
Now, I do not want Bob to have to enter password to launch this configuration (just please don't tell me it's insecure - I know this, in this particular setting it is going to be OK).
I wanted to do this with setuid, but obiously setting it on *.desktop shortcut doesn't work. There is sudo approach, but I would have to allow Bob to use all yast modules. So, is there anything more fine-grained to set the permissions for exact yast modules?
Thanks in advance!
© Server Fault or respective owner