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
Giving your user permissions to run everything without invoking
sudois 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
sudoon all of them you can runsudo su -. This will give you command line withrootpriviliges.