Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, how can i enable one user to run one desktop application that was originally installed by a root user? when i try to launch one desktop application from icon ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    Smile enable users to run desktop's application

    Hi,

    how can i enable one user to run one desktop application that was originally installed by a root user?

    when i try to launch one desktop application from icon linked to the binary (like /usr/sbin/pptpconf ) ... i get one error: Permission denied

    anybody know how can i solve this?

    thanks a lot

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    17
    Probably you need to set permission by "chmod +x oneApplication".

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Hi,

    thanks for the answer...
    i check the directory where a binary application is hosted, and i thinks that it is ok:
    lrwxrwxrwx 1 root root 23 2007-01-22 01:58 /usr/sbin/pptpconfig -> /usr/bin/pptpconfig.php
    -rwxr-xr-x 1 root root 60206 2006-03-14 07:49 /usr/bin/pptpconfig.php

    but when a look at the root's directory, i found a desktop link:
    [Desktop Entry]
    Name=PPTP Client
    Comment=Configure and start PPTP tunnels (VPN)
    Categories=System;Application;Network;X-Red-Hat-Base;
    Encoding=UTF-8
    Exec=gnomesu -t "Query" -c "/usr/sbin/pptpconfig" -m "Please supply the root password."
    Icon=/usr/share/pixmaps/pptpconfig.png
    Terminal=false
    Type=Application
    X-Desktop-File-Install-Version=0.10

    so i copy this to user's desktop directory ....This configuration requires the root's password when i try to launch whit another user

    The application works fine(in this case pptpconfig) when launch from a terminal with a root logged. But due to security questions i can't permit that one simple user run this link with password informed in this file.

Posting Permissions

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