Results 1 to 6 of 6

Thread: open as administrator

  1. #1
    Join Date
    Apr 2011
    Beans
    6

    open as administrator

    how do i get "open as administrator" for ubuntu 13.10.

  2. #2
    Join Date
    Sep 2008
    Location
    /home/Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: open as administrator

    One of the reasons Windows is so insecure is that it allows--even courts!--such dangerous behavior. If you want to "open as administrator" you'll have to open a terminal and do something like
    Code:
    sudo myprog
    If myprog has a pretty GUI, then do this:
    Code:
    gksudo myprog
    Imagine how hard it would be for a virusmonger to do this without being noticed! What you gain from not having an "open as administrator" option is security. That's how Linux is built.
    Last edited by whitesmith; October 31st, 2013 at 08:38 PM. Reason: accuracy
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: open as administrator

    See http://ubuntuhandbook.org/index.php/...3-10-nautilus/
    Warning: I haven't tried this myself so I have no idea whether it works or not. Caveat emptor.

  4. #4
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: open as administrator

    I don't think this is anything new in 13.10, is it?

    Prior to 12.04 there was a package called nautilus-gksu or gksu-nautilus, I can't remember, which did this for us but no longer available so since 12.04 a script has been needed which I have added it to my system. My script is much simpler than the one shown in the link above, but as I am not using 13.10, I don't know if it will work in that version of nautilus.
    Code:
    for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
    gksudo "gnome-open $uri" &
    done
    You could edit the second line of the script to gksudo "exo-open $uri" & if not using gnome, but if you have nautilus instaslled I think the gnome-open will work.
    Last edited by ajgreeny; November 1st, 2013 at 12:39 AM.
    DISTRO: Xubuntu 12.04-64bit --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  5. #5
    Join Date
    Mar 2012
    Location
    New Meadows, Idaho
    Beans
    200
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: open as administrator

    On Lubuntu or LXDE desktop the pcmanfm (Lubuntu's File manger) has a function for opening folders as root.
    Michael Nelson -=- AKA: Mopar1973Man
    Running 4 computers all with Ubuntu Linux 12.04 LTS

  6. #6
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: open as administrator

    Quote Originally Posted by Mopar1973Man View Post
    On Lubuntu or LXDE desktop the pcmanfm (Lubuntu's File manger) has a function for opening folders as root.
    Of course it does !! I forgot that.
    DISTRO: Xubuntu 12.04-64bit --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

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
  •