You are not logged in.
Hi there!
Well i have a machine running arch that i use for a lot of things and it is always on.
But i like to keep it updated, and some times i reboot it especially to update the kernel.
The thing is, that i have a friend of mine who lives with me, that sometimes needs to program in Visual Studio. I have a windows VM and he can use it for that. But after a kernel update, the vmware modules needs to be compiled against the new kernel. And to do that, one person needs the root password.
For me, to use vmware i just run:
sudo vmware-modconfig --console --install-all && sudo sh /etc/rc.d/vmware-USBArbitrator restart && sudo sh /etc/rc.d/vmware restart
and type the root password.
What i would like is a way to do this (command), but without the need of typing the root password, so my friend can use it without my assistance.
I think this can be achieved fairly easily, just dont know how and i dont want to compromise the system security.
Hope someone can help me
Thanks
Offline
You just need to configure sudo correctly for those commands. The sudoers and visudo man pages have all the details, and the default /etc/sudoers file has examples.
Last edited by tomk (2012-07-25 07:32:58)
Offline