sudo command without giving password 1

sudo command without giving password

echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers

Here is what the above code is Doing:
1. Install the latest version of Python 3.
2. Install the latest version of pip.
3. Install the latest version of virtualenv.
4. Create a virtual environment called venv.
5. Activate the virtual environment.
6. Install the latest version of Django.
7. Create a new Django project called mysite.
8. Create a new superuser for the Django admin.
9. Add the user to the sudoers file.

Similar Posts