You are not logged in.

#1 2012-08-08 13:35:30

Archdove
Member
Registered: 2011-09-23
Posts: 118

Start Program with specific user

Hi

Many programs bring their own user to run with. This improves security because its easier to control the access privileges.

Ok. So lets say my Package installs a new User to be run with. This user has more right than a normal user, since he can modify some files a normal user cant.
The normal user howerver should still be able to run my software, and when run, my software should automatically use this special user.

I hope my point is clear. How do i achieve this? Maybe its better to use a Group instead of an user?

Regards, Archdove

Offline

#2 2012-08-08 13:54:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,593
Website

Re: Start Program with specific user

Are you talking about setuid?

https://en.wikipedia.org/wiki/Setuid


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2012-08-08 21:06:22

Archdove
Member
Registered: 2011-09-23
Posts: 118

Re: Start Program with specific user

This looks very promising. Thank you!

Offline

Board footer

Powered by FluxBB