Why does reboot and poweroff require root privileges?
What security risk is posed by not requiring this to have root privileges? The GUI provides a way for any user to shut off or restart, so why do the terminal commands need to be run as root?
What security risk is posed by not requiring this to have root privileges? The GUI provides a way for any user to shut off or restart, so why do the terminal commands need to be run as root?
Process model
On Slackware, using sbopkg permits one to build a package from source. Repos is not big as Debian, but it’s nice.
On my personal machine, I often type sudo in front of certain commands in order to accomplish administrative tasks. I had hoped to avoid doing this throughout the day, by typing su root and providing the same password I usually do for sudo. However, the two passwords are not the same(I don’t know how to log in to su root). Is running a command with sudo different than logging in with su root and running the same command?
Is this a correct way for passing an environment variable in sudo ?
I want to run a command on a shell on behalf of another user. The command is as follows:
I am able to run anything using sudo; my password is accepted. But whenever I try to do su from a shell, it fails with:
When I was using kubuntu, I could always open X applications with sudo, sudo kate for example. Now that I’ve switched to arch that doesn’t work. I know I’ve always been told to use kdesu, but what setting is there in kubuntu that lets me use sudo on X apps that prevents me from doing it on arch?
According to the comments in /etc/sudoers (Fedora 13):