On 13/5/23 17:57, Vincent Lefevre wrote:
Moreover, it should not be necessary to be root: you are just
reading non-private data. However, "list countries" does not
seem to exist.
Debian 11 seems to have a different opinion on who can run ifconfig.
Sudo or root is required.
jeremy@client:~$ ifconfig enp8s0
bash: ifconfig: command not found
jeremy@client:~$ sudo ifconfig enp8s0
enp8s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 0c:9d:92:75:b4:f7 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0