Patrick Wiseman <pwise...@gmail.com> writes: > On Fri, Jul 17, 2015 at 2:25 PM, John J. Boyer > <john.bo...@abilitiessoft.org> wrote: >> I have net-tools. ifconfig works only for root. WHY? On other distros >> ordinary users can use it. > > You haven't been listening to what others have been telling you. > ifconfig resides in sbin, which is in root's but not the ordinary > user's path. So either use '/sbin/ifconfig' or 'sudo ifconfig' as an > ordinary user, or su to root and run ifconfig.
While suggestions of running it as root will work, it strikes me as a bad habit to get into (running things as root that don't have to be). Using the full path will work without running the command as root, so it seems like a better solution to me. -- "Erwin, have you seen the cat?" -- Mrs. Shrödinger -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1b4ml1a4fz....@pfeifferfamily.net