Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-15-2005, 10:01 AM   #1
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
how to run ifconfig as root without super user terminal

Would it be possible to alow root to run ifconfig without having to go through a superuser terminal

I am running Fedora Core 3.

Old 01-15-2005, 10:06 AM   #2
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
well, you can allways run it as a normal user if you just need to check up on things, in all distros ive dealt with it is runnable even without root if you dont need to make modifications.. But anyways.. You could just run:
su -c "/sbin/ifconfig"
as a normal user.. It will su to root after getting the password from you and run ifconfig.. If you need to do this more conviniently, for eg. automagically, I suggest investigating
man sudo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 09:08 AM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM
IFconfig....super n00b question. nightstalker_BH Linux - Networking 3 09-26-2003 09:19 PM
im in user mode and cant run hdparm and ifconfig commands, but if im root, i can. kublador Linux - Newbie 2 09-12-2003 08:27 AM
Super User mode, my root password doesn't work? kko88 Linux - Newbie 8 05-20-2003 06:01 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration