user application execute commands with root privileges
I am developing a small linux terminal. It is built from scratch and not based on any linux distribution. It has an autologin feature to directly login as a normal user from boot and run a GUI java application.
It works well until now, but now we want to add features which are associated with commands with root privileges. for example to change ip address of the terminal, to mount/unmount usb disk attached on it. I use busybox for the basic system application.
Any hints how to do this? since "sudo" command is not available in busybox package, and even tough if there is one, how to bypass prompting asking for a root password.
Thanks for any hint
Last edited by lbdgwgt; 01-17-2007 at 03:22 AM.