its good practice not to work as 'root' all the time. Use root only when you really need to (root is too powerful be used as a regular user). Ubuntu by default will not let you login as 'root'. It always uses 'sudo' command. But this is not the case with FC, in FC you can be root. So better practice lets give the user sudo permissions.
Users who can use 'sudo' command is controlled by the
sudoers file in /etc. you have to add the user to this file with level of permissions you are willing to give him. In my case I need to do everything so the following command will make me a sudoers user and give me all permissions.
echo '
username ALL=(ALL)ALL' >>/etc/sudoers
to limit the level of permission on sudo read the sudoers file in /etc
No comments:
Post a Comment