Debian 7 - Add Sudo!

When creating a fresh installation of Debian 7, you may notice that your sudo commands wont work. Run the following steps to allow sudo to work from a non-root user.

Steps

    Login as root and install sudo capabilities:
    apt-get install sudo
    Now add the user you want to have sudo priveleges
    adduser $MY_SUBUSER sudo
    
    For example:
    adduser programster sudo
    

    You can now log in as that user and run updates etc by just entering your own password.

No comments:

Post a Comment