So I was testing different desktop environments on (kali) Linux, and I noticed, besides how it looks, it also changes when to use sudo before commands.
With a clean install on both machines with everything default:
XFCE -> have to use sudo for ifconfig
GNOME -> dont need sudo for ifconfig
After more research I found that its the complete sbin folder..:
XFCE -> have to use sudo for sbin folder
GNOME -> dont need sudo for sbin folder
Both machines have indentical sudoers file.
First of all why dont I need to use sudo on GNOME for sbin programs? Bc sbin need sudo right?
And secondly I noticed a lot of people online just use the command 'ifconfig' without sudo. So they propably dont need to use sudo for sbin programs. Isnt this weird? Reference to first questions.
SOCIAL SHARE CARD GENERATOR