The software that he needs to run Gmorgan, for some reason needs su privileges to use some ALSA libs (I think).
Anyway, my plan is to write a simple c program that will go to su, prompt him for a password, then start gmorgan as su.
However, here's the problem.
When I do
- Code: Select all
if (fork()==0)
execp("su");
then I lose control of the child process.
Is there a way for me to get su privileges from the user? Maybe by using a KDE window?