1. create the user account call "normaluser"
# useradd -d /home/user normaluser
2. then as root run:
# su -
# visudo
3. in the file you will see
root ALL=(ALL) ALL
4. add a line below that line that has
normaluser ALL=(ALL) ALL
* replace "normaluser" with the username you want.
then when you want to do some admin level work you would just use "sudo" before the command.
e.g. sudo /sbin/shutdown -r now


No comments:
Post a Comment