LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 01-15-2005, 11:01 AM   #1
GUIPenguin
Member
 
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.

Thanks
 
Old 01-15-2005, 11:06 AM   #2
Artanicus
Member
 
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:
Code:
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
Code:
man sudo
 
  


Reply


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 10: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 08:54 AM
IFconfig....super n00b question. nightstalker_BH Linux - Networking 3 09-26-2003 10: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 09:27 AM
Super User mode, my root password doesn't work? kko88 Linux - Newbie 8 05-20-2003 07:01 PM


All times are GMT -5. The time now is 11:16 AM.

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