How to perform root level commands on Linux (Fedora) Live Media

10,571

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:
10,571

Related videos on Youtube

xtian
Author by

xtian

Updated on September 18, 2022

Comments

  • xtian
    xtian over 1 year

    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.

    • slhck
      slhck almost 13 years
      Is livecd okay? Maybe you want to be more specific: What kind of hard drive? What commands are you trying exactly?
    • Linker3000
      Linker3000 almost 13 years
      What exactly are you trying to do? Something disk-oriented by the examples?
    • xtian
      xtian almost 13 years
      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
    xtian almost 13 years
    trying it right now...
  • Joe Internet
    Joe Internet almost 13 years
    sudo is a separate package in Fedora/Redhat. You can istall it if you want by becoming root and running yum install sudo.
  • xtian
    xtian almost 13 years
    That did it. No password required--you simply change users. (>_<)