Re: Howto make root commands available to any user
Otto Wyss wrote:
I want to setup a desktop system where the current user can do anything
he needs and that means also commands like halt (since he started the
system he should be able to stop it). There are many more such commands
but halt is rather typical. Such a user may never know the root password
since he should not be able to install software etc.
"apt-get install sudo"
then "visudo" to add your user to the sudoers file. This file can be
tailored so the user can do ALL commands or just specific commands.
Then the user can "sudo [command]". He'll be asked for his password the
first time, and after five minutes (configurable) has passed since his
last sudo command.