Tags: accessing, adapt, allowing, application, approach, installed, instance, linux, programming, root, specific, toaccess, unix, users, withroot

non root users accessing application installed with root instance

On Programmer » Unix & Linux

2,223 words with 1 Comments; publish: Sun, 18 May 2008 19:45:00 GMT; (20076.17, « »)

Hi all,

I am looking for an approach to adapt for allowing non root users to

access application(s) (some specific ones) that were installed with

root privileges. I cannot adapt an approach in which the user

intervention is required(the 'su' coomand one) as well as would not

look for something that will compromise the security of the application

and the system as well.

I Thought of creating a group and assigning it read-and-execute rights

for the application(s) but as with root install, the application will

reside in the general default install dirs (/etc/ , /lib/ , etc) this

will require giving execute rights (for browsing thru the directories)

and may eventually cause some security threats. Please do comment upon

this apporach, pointing out flaws in it.

Any other idea/appraoch suggested would only help me in evaluating

things in a better way.

Regards,

Hector

All Comments

Leave a comment...

  • 1 Comments
    • Hello Hector,

      > I am looking for an approach to adapt for allowing non root users to

      > access application(s) (some specific ones) that were installed with

      > root privileges. I cannot adapt an approach in which the user

      > intervention is required(the 'su' coomand one) as well as would not

      > look for something that will compromise the security of the application

      > and the system as well.

      > I Thought of creating a group and assigning it read-and-execute rights

      > for the application(s) but as with root install, the application will

      > reside in the general default install dirs (/etc/ , /lib/ , etc) this

      > will require giving execute rights (for browsing thru the directories)

      > and may eventually cause some security threats. Please do comment upon

      > this apporach, pointing out flaws in it.

      > Any other idea/appraoch suggested would only help me in evaluating

      > things in a better way.

      What about using sudo? With sudo, you can allow certain users to run

      the commands you specified with elevated priviledges:

      http://www.courtesan.com/sudo/

      HTH,

      Loic.

      #1; Sun, 18 May 2008 19:46:00 GMT