Results 1 to 5 of 5

Thread: Is it possible to make ubuntu ask for user password on chosen apps?

  1. #1
    Join Date
    Aug 2010
    Beans
    102

    Is it possible to make ubuntu ask for user password on chosen apps?

    Is it possible to make ubuntu ask for user password on chosen apps like Openoffice or Firefox like it does when launching gparted, for example?

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Is it possible to make ubuntu ask for user password on chosen apps?

    Quote Originally Posted by vcrpcant View Post
    Is it possible to make ubuntu ask for user password on chosen apps like Openoffice or Firefox like it does when launching gparted, for example?
    Gparted and other system tools are launched with sudo privileges, and it is inappropriate to run user applications in that way.

    If you don't want users to be able to run certain applications then you may have to play with the Group permissions.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: Is it possible to make ubuntu ask for user password on chosen apps?

    Just add wrapper around the program.

    something as simple as renaming firefox to firefox.real create a script called firefox that just contains the line:

    Code:
    gksu -u firefox-users --description Firefox firefox.real
    and set the perms of the script to 711
    create a user called firefox-users
    Last edited by iponeverything; December 18th, 2010 at 10:34 AM.

  4. #4
    Join Date
    Aug 2010
    Beans
    102

    Re: Is it possible to make ubuntu ask for user password on chosen apps?

    Quote Originally Posted by iponeverything View Post
    Just add wrapper around the program.

    something as simple as renaming firefox to firefox.real create a script called firefox that just contains the line:

    Code:
    gksu -u firefox-users --description Firefox firefox.real
    and set the perms of the script to 711
    create a user called firefox-users
    Thanks iponeverything for your reply.
    However, isn't there another method?

  5. #5
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: Is it possible to make ubuntu ask for user password on chosen apps?

    Quote Originally Posted by vcrpcant View Post
    Thanks iponeverything for your reply.
    However, isn't there another method?
    there are probably at least 10 different ways it could be done..

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
  •