Results 1 to 7 of 7

Thread: no root privileges ...

  1. #1
    Join Date
    Feb 2008
    Location
    In my skin.
    Beans
    Hidden!
    Distro
    Xubuntu

    Exclamation no root privileges ...

    I have just installed Ubuntu Studio Hardy on my desktop and had a few problems logging in. Refer to this solved post below for detials:

    HTML Code:
    http://ubuntuforums.org/showthread.php?t=890707
    Now I am in (posting from the machine in question) and exploring the new desktop set up. Trouble is, I have no root priveleges to anything. Try to open nautilus and this is the result;

    Code:
    gksudo nautilus
    Failed to run nautilus as user root.
    
    The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator.
    The beat goes on. All ideas appreciated ...

  2. #2
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: no root privileges ...

    it seems as if you arent in the sudoers file but lets just give it a test:
    Code:
    sudo nano ~/test.txt
    If you still get an error you should restart and boot into recovery mode (hit escape at the grub prompt and select recovery).

    Then follow this guide to modify sudoers. It is best if you make a backup.

    https://help.ubuntu.com/community/Sudoers

    The other thing you should check is to make sure you are in the admin group.

    EDIT: now that I think about it it is probably best if you do the admin group stuff first. So run the test, go to recovery mode, check admin group, check sudoers.
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  3. #3
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: no root privileges ...


    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  4. #4
    Join Date
    Feb 2008
    Location
    In my skin.
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: no root privileges ...

    Code:
    $ visudo
    visudo: /etc/sudoers: Permission denied
    $ sudo visudo
    [sudo] password for ustudio: 
    ustudio is not in the sudoers file.  This incident will be reported.
    $
    Thatś about the size of it so far. Note how I have just got ´$´ and not ´root@user´ first. (?) This does not seem normal.

  5. #5
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: no root privileges ...

    have you logged in through recovery mode (single user mode). If you do this you will automatically be root.
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  6. #6
    Join Date
    Feb 2008
    Location
    In my skin.
    Beans
    Hidden!
    Distro
    Xubuntu

    Red face Re: no root privileges ...

    Quote Originally Posted by tamoneya View Post
    have you logged in through recovery mode (single user mode). If you do this you will automatically be root.
    Yep, gave that a go and looked at the instructions but not really sure what I should be doing in there. Ran ´visudo´ as suggested but not sure how to edit that file to make any difference, apart from unhash passwords so no-one requires one, and I don´t want to do that.

    Oddly, it shows root@ustudio on the way out of there and that is what is missing from my terminal when I am logged into ustudio desktop. Hmm. I am confused ....

  7. #7
    Join Date
    Feb 2008
    Location
    In my skin.
    Beans
    Hidden!
    Distro
    Xubuntu

    Cool Re: no root privileges ...

    Okay, latest update ...

    I have been booting into the recovery kernel, going to a terminal shell and plugging in;

    Code:
    visudo
    It show me the file but won´t let me edit it. I am wanting to try adding;

    Code:
    ustudio ALL=(ALL) ALL
    under the line that says;

    Code:
    root ALL=(ALL) ALL
    ... an idea from this page ...

    HTML Code:
    http://www.pendrivelinux.com/2007/10/05/how-to-add-a-user-to-the-sudoers-list/
    I seem to be getting somewhere but can´t edit that file ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •