Ubuntu Server or Desktop- Terminal enter into Admin Mode

Can we enter commands in a terminal without the Sudo at start of every command in Linux.

Yes we can absolutely do that you need to type in Sudo Su at the starting once you enter into terminal in Linux and it will request for your password and once your password is authenticated you have entered the Admin Mode of it. It is similar to open CMD in Administrator mode in Windows. Once you are in Sudo Su mode you can enter all the commands without Sudo and it will work.

If you have only one or 2 commands to pc executed you can just add Sudo at the start and it should prompt for password and execute it once authenticated.

No comments:

Post a Comment