20
Sudo user vs root
(lemmy.ml)
Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.
In security terms it's slightly different, in that if an attacker gains access to your account they would have to do a small amount of trivial work to gain root. But yeah it makes no real difference to security. Cargo cultists would object to this but they don't know what they're talking about:
sudo
.I think the real reason to use a normal user account and give it sudo privileges is that it prevents you accidentally hosing your system. You can't accidentally
rm -rf /
.Another reason you might not want to do it is that a fair amount of software will get pissy with you if you run it as root and tell you not to.
Thanks, this is very clear.