Results 1 to 3 of 3

Thread: Program to ask password in GUI?

  1. #1
    Join Date
    Mar 2009
    Beans
    141

    Question Program to ask password in GUI?

    Hi All!

    I am trying to use the sudo command with the -A option (I can't use the gksudo command for what I need).
    My problem is that I don't know how to set the ask password program nor know any of them. I spent a great deal of time searching for the solution online with no luck.
    Does anyone know which program to use? I would like to know the name of the program that displays the GUI and require the user password when I execute "gksudo".
    Thanks!

  2. #2
    Join Date
    Jun 2007
    Location
    Minneapolis, MN
    Beans
    749
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Program to ask password in GUI?

    Use alacarte (Main Menu) to create a .desktop file (launcher) and start the command line with gksudo.

    Your new .desktop file will be in /home/USER/.local/share/applications.
    Moderation in all things; including moderation.

  3. #3
    Join Date
    Mar 2009
    Beans
    141

    Re: Program to ask password in GUI?

    Hi JRV, thanks for the suggestion. In this particular case it doesn't work because I am calling a script that needs to mount a network share, so I think I am forced to use the "sudo" command instead of "gksudo".

Tags for this Thread

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
  •