Why does sudo
ask for a password when one can sudo su
without a password and perform the same commands? Is there a way to make sudo not ask for a password when you're logged in as the an admin anyway?
Why does sudo ask for a password in terminal
sudoterminal
Related Question
- Terminal becomes unresponsive when a “sudo” password prompt is displayed
- MacOS – Enable sudo without a password on MacOS
- How to make sudo in 2 tabs ask for the password only once
- MacOS – User login password not working for sudo
- Admin password not working for sudo
- I know the sudo password, can I use sudo and install software without logging out and switching to the admin user
- MacOS – can I not use `sudo` as a `Standard` user in macOS
Best Answer
sudo su
asks for a password on my system. Did you run anothersudo
command before thesudo su
? Once you've runsudo
and entered your password, it doesn't require a password again for a period of time.