I'm a little concerned about the existance of ifconfig
command in /sbin
directory.
I don't really understand the main purpose of /sbin
directory and the lack of the root privilege of those commands in that directory.
For example,
xxxx@Jacks:~$ l -l /sbin/ | grep shut
lrwxrwxrwx 1 root root 14 Feb 6 19:00 shutdown -> /bin/systemctl*
shutdown
command/utility is shown as link to the /bin
directory, that seems pretty normal.
If /sbin
a system (root) directory, why is a normal user(without super user privileges) able to execute ifconfig
command?