How do I allow a standard user to update the kernel modules for VMware?

Posted by GUI Junkie on Ask Ubuntu See other posts from Ask Ubuntu or by GUI Junkie
Published on 2012-07-02T15:35:05Z Indexed on 2012/09/10 15:50 UTC
Read the original article Hit count: 257

Filed under:
|
|
|

I've set up VMWare Player for my wife. Every once in a while (notably after a kernel update), the VMWare Player needs to be compiled into the kernel.

My spouse does not have su- activated (if anybody screws up the OS, it's going to be me). I'd like to give her permission to do this, but only for that program.

Is this possible? Can it be done safely (for the OS)? How can it be done?

Edit: I tried to add the following to visudo

guijunkette ALL=(ALL) NOPASSWD: /usr/bin/vmware-modconfig

When running with her user, after typing her password, the following error occurred: Error

So, in the end, no cigar.

Edit: I've given up on VMWare Player and moved to VirtualBox. Made a clean install.

© Ask Ubuntu or respective owner

Related posts about sudo

Related posts about virtualization