Use "su -" to switch to root, not just "su".
"su" will give you root's permissions, but "su -" will also give you root's path, which should include the sbin's normally not available to regular users.
I believe ifconfig is usually found in /sbin/, FYI. You should be able to run it by hand with /sbin/ifconfig even if it's not in your path.
Last edited by suicidaleggroll; 04-13-2012 at 12:44 PM.
|