Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect.

Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands such as pvcreate,lvcreate,vgcreate, especially if the hard disk is not encrypted.

share|improve this question
    
Is livecd okay? Maybe you want to be more specific: What kind of hard drive? What commands are you trying exactly? –  slhck Jul 21 '11 at 21:12
    
What exactly are you trying to do? Something disk-oriented by the examples? –  Linker3000 Jul 21 '11 at 21:13
    
I'm trying to upgrade from F11-F15 but the Anaconda installer is not doing what I need it to do. I've researched how, but my current idea requires disk formatting from the LiveMedia on the destination drive. As far as the commands, I've already listed them, there up there (^_^). –  xtian Jul 21 '11 at 21:20

1 Answer 1

up vote 3 down vote accepted

Some distros do not use sudo as their method of rights elevation. Try using su - to become root and then doing whatever you need to do as root.

share|improve this answer
    
trying it right now... –  xtian Jul 21 '11 at 21:42
    
sudo is a separate package in Fedora/Redhat. You can istall it if you want by becoming root and running yum install sudo. –  Joe Internet Jul 21 '11 at 23:47
    
That did it. No password required--you simply change users. (>_<) –  xtian Jul 22 '11 at 1:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.