I have fedora core 3 on my desktop. like everyone, i usually work on a normal user accounf, and login as root only when needed.
how do i create a script that performs tasks which only the superuser can? i mean, without the intermediate "enter password" prompt?
for example, i create a link on the desktop, that executes the command "poweroff" on the desktop when i click on it. but can i fix it so that it doesnt ask for the root password? something like allowing the particular command to be run by a normal user?
i hope i cud get my point accross.
thanx in anticipation,