LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2007, 10:52 PM   #1
gr-martins
LQ Newbie
 
Registered: Feb 2007
Location: Brasil
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Question sudo


Dear Slackers

I want to use the sudo command but every time I use it I have the response below:
gmartins@mozart:/usr/src/SlackBuilds/VMware$ sudo ifconfig
Password:
sudo: ifconfig: command not found
Does any one know what is going on??

thanks for any advise.

g.
 
Old 11-23-2007, 11:19 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
You don't have /sbin in your PATH so try:
Code:
sudo /sbin/ifconfig
 
Old 11-25-2007, 08:14 PM   #3
gr-martins
LQ Newbie
 
Registered: Feb 2007
Location: Brasil
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Vincent

thanks!it works
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 02:36 AM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
Sudo without having to type "sudo?" Mitch G Linux - Security 3 09-28-2006 03:16 PM
sudo XaViaR Linux - General 6 06-21-2005 07:12 PM
need help with sudo mla Linux - Software 4 10-02-2003 12:05 PM


All times are GMT -5. The time now is 03:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration