Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th September 2005, 01:17 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
No fdisk recognition

For some reason I get a no such command error when trying to use fdisk to view my partitions - e.g. fdisk -l. I've checked that the util-linux package is installed and it is, When I try to do a reinstallation I just get a 'nothing to do response'. Any ideas?
Reply With Quote
  #2  
Old 11th September 2005, 01:31 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
Quote:
Who is this root person?

Root is the administrator of your linux Operating System . He/she (for the linux ladies )
can do everything and anything to the system. Root installs and removes packages, updates your system
as well as edit files and many other things. You shouldn't run as root E.G. log in as root.
Security is a high priority in linux and you don't want to kill your system if you make a mistake.
So please don't log in as root.

So how does one padiwan become root in time of need?

~ to run any system specific application you'll need root password
~ in the terminal you can type
su ( to become root in Root's PATH)
su - ( to become root in Your PATH & /sbin ) notice the space and dash
sudo /sbin/fdisk -l

Now to tickle your brain...
http://www.fedorajim.homelinux.com/pages/setupsudo.html
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #3  
Old 11th September 2005, 01:52 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
I was running the command as root. However, i've never needed to put the /sbin path in front of the command before. It now works. Thanks for the help.

By the way, I've just moved to fedora after running ubuntu and that uses sudo as default. Thanks for the link to set it up.

Last edited by steve1961; 11th September 2005 at 01:56 PM.
Reply With Quote
  #4  
Old 11th September 2005, 06:33 PM
CrystalCowboy's Avatar
CrystalCowboy Offline
Registered User
 
Join Date: Sep 2004
Posts: 536
Quote:
Originally Posted by steve1961
I was running the command as root. However, i've never needed to put the /sbin path in front of the command before. It now works. Thanks for the help.

By the way, I've just moved to fedora after running ubuntu and that uses sudo as default. Thanks for the link to set it up.
You have a list of directories called you PATH that are searched for executable programs. Apparently /sbin used to be in your PATH but isn't under the new OS install. You can check your default PATH with
$ echo $PATH
You can change your default path in your startup scripts (e.g. .cshrc), specific syntax will depend on which shell you are using. I use tcsh, so in ~/.cshrc I have lines like this:
set path = (/sbin $path)
__________________
Explore the Core!
Reply With Quote
  #5  
Old 11th September 2005, 06:39 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
Thanks for this, that explains it.
Reply With Quote
Reply

Tags
fdisk, recognition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fat32 Recognition weinerdogus Installation and Live Media 9 18th June 2005 01:25 PM
No Recognition usr Hardware & Laptops 1 5th April 2005 08:34 PM


Current GMT-time: 21:45 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat