In netbook, user needs to type the absolute path to execute certain commands. For example: xuser@atom-pc:~$ ifconfig /bin/sh: ifconfig: not found xuser@atom-pc:~$ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr C8:0A:A9:36:F8:2C inet addr:10.239.36.102 Bcast:10.239.36.255 Mask:255.255.255.0 inet6 addr: fe80::ca0a:a9ff:fe36:f82c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:231 errors:0 dropped:0 overruns:0 frame:0 TX packets:120 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30217 (29.5 KiB) TX bytes:17764 (17.3 KiB) Interrupt:16 Base address:0x8000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:25 errors:0 dropped:0 overruns:0 frame:0 TX packets:25 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3540 (3.4 KiB) TX bytes:3540 (3.4 KiB) wlan0 Link encap:Ethernet HWaddr F0:7B:CB:19:1A:BD UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) The cause should be that, some certain paths, like sbin, are not added into PATH environement variable.
I use the following commit to reproduce the bug. a778fb311540580476976e43f9c0576284f8dc38 Thanks, Dongxiao
This is a standard convention for non-root user accounts to not /sbin and /usr/sbin in the default path.