Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Run applications as sudo without command line


    Is there a way to run programs from an icon as sudo?

    Basically i have vmware workstation installed in ubuntu, it works fine if i type sudo vmware from the terminal then enter my password, but is there a way to always run this as sudo without having to type my password - ie launch it straight from the menu / icon


  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Either at home or at work or down the pub
    It sounds like you need gksu vmware (but you will still need your password)
    If you are using KUbuntu I believe the equivalent id kdesu vmware
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!

    The Fifth Continent

  3. #3
    thats great...i don't mind about the i just create a launcher to gksu vmware?

  4. $spacer_open
  5. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007

    Thumbs up

    Use nopasswd in sudoer file using visudo command ... example
    denis_cooper  ALL=NOPASSWD:  /bin/cat
    you should find
    man sudoers
    will provide most of the options you need

Posting Permissions

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