Stop using Sudo on AWS?

1.5k Views Asked by At

I'm really new to AWS. I've just launched an Ubuntu 16.04 instance and I've noticed that I have to use sudo for practically everything. Is there a way to give an Ubuntu user permissions so I don't have to write sudo every time? I have to use sudo even to initialize a git repository.

Thanks

1

There are 1 best solutions below

0
On

Giving your user permissions to run everything without invoking sudo is just wrong. It's a bad security design. Although it's possible, I will not include this in my answer.

However, if you absolutely sure you want to execute a bunch of commands without using sudo on all of them you can run sudo su -. This will give you command line with root priviliges.