Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Windows "RunAs" Equivelant Question

  1. #11
    Join Date
    Dec 2005
    Location
    USA
    Beans
    886
    Distro
    Ubuntu

    Re: Windows "RunAs" Equivelant Question

    Quote Originally Posted by lian1238 View Post
    No, it still should be "gksu nautilus". Just type nautilus, then go to the front (press Home) then type gksu (and space). You should end up with (gksu nautilus). The reason is that the icon will be automatically chosen for you, for the first command you type.
    Ah, I misunderstood the last part of your previous post. Thanks!
    I use both Windows and Linux. Is that a crime? || Ubuntu User # 16597

  2. #12
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: Windows "RunAs" Equivelant Question

    there are few ways to approach this problem like

    *shortcuts - you are currently trying.

    * nautilus actions? sounds interesting, havent used it

    * "open with" but set it to "gksu xterm" in the properties


    all of these, if you are aware, requires super user access, are you sure you want to give that power to your user?

  3. #13
    Join Date
    Dec 2005
    Location
    USA
    Beans
    886
    Distro
    Ubuntu

    Re: Windows "RunAs" Equivelant Question

    Quote Originally Posted by loell View Post
    there are few ways to approach this problem like

    *shortcuts - you are currently trying.

    * nautilus actions? sounds interesting, havent used it

    * "open with" but set it to "gksu xterm" in the properties


    all of these, if you are aware, requires super user access, are you sure you want to give that power to your user?
    The shortcut -> Nautilus as root seems to work in my test thus far.

    Nautilus actions is a little more difficult to test - I can't figure out how to get it to work against launchers (like from the Applications menu).

    As for giving this to my users - this is for my own personal setup - along with pointing out a usability issue (in my opinion) to my fellow Ubuntu users. I should be able to open up a program as root without having to resort to a command prompt, or logging off.

    Thanks for the help everyone! I knew that something had to exist, I just didn't know what to look for. I'm hoping to test Nautilus Actions a bit more in the next few days.

    -Richard
    I use both Windows and Linux. Is that a crime? || Ubuntu User # 16597

  4. #14
    Join Date
    Aug 2007
    Location
    Bangkok, TH
    Beans
    410

    Re: Windows "RunAs" Equivelant Question

    Nautilus Actions is pretty cool, now that I've tried it.

    The way to configure it is using nautilus-actions-config. (System->Preferences->Nautilus Actions Configuration) or run nautilus-actions-config from terminal or Run dialog (Alt+F2).

    Once opened, click Add. Label is what will appear when you right-click on a file. The Path is the command. For example, if the command-line version is
    Code:
    sudo sh /path/to/file.run
    For the path, put "gksu sh" (w/o quotes). For parameters, put "%u" for filename (w/o quotes). You can also set the Conditions, so that the right-click menu item will show only for certain files, e.g. *.run

  5. #15
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Windows "RunAs" Equivelant Question

    Install the package "nautilus-gksu". Restart X, then right-click on a file and choose 'Open as Administrator.'

  6. #16
    Join Date
    Dec 2005
    Location
    USA
    Beans
    886
    Distro
    Ubuntu

    Re: Windows "RunAs" Equivelant Question

    Quote Originally Posted by oldos2er View Post
    Install the package "nautilus-gksu". Restart X, then right-click on a file and choose 'Open as Administrator.'
    Thanks! So far that one is working really well too!

    Any idea why I can't use these "Run As" options from the Gnome panels or menus?

    Thanks,
    Richard
    I use both Windows and Linux. Is that a crime? || Ubuntu User # 16597

  7. #17
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: Windows "RunAs" Equivelant Question

    Quote Originally Posted by rickyjones View Post
    Thanks! So far that one is working really well too!

    Any idea why I can't use these "Run As" options from the Gnome panels or menus?

    Thanks,
    Richard
    because you can just right click it, and go to properties , just add the gksu at the beginning of the command.

  8. #18
    Join Date
    Dec 2005
    Location
    USA
    Beans
    886
    Distro
    Ubuntu

    Re: Windows "RunAs" Equivelant Question

    Quote Originally Posted by loell View Post
    because you can just right click it, and go to properties , just add the gksu at the beginning of the command.
    I'd rather limit the number of extra shortcuts/launchers but this will work as well.

    Thank you for the help!

    Sincerely,
    Richard
    I use both Windows and Linux. Is that a crime? || Ubuntu User # 16597

Page 2 of 2 FirstFirst 12

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
  •