You are not logged in.

#1 2016-10-25 10:02:03

medicineman25
Member
Registered: 2014-12-03
Posts: 110

[SOLVED] running a program with it's own user account

Hey all,

I am running up a little file server with etherpad-lite, for editing documents. I'm using this as, less a colaborative tool and more, a logical solution for a basic cvs and singly-copy browser-based word-editor... mouthfull. I have noticed on the aur page for etherpad-lite that people mentioned running it as it's own user i.e. etherpad. I did a little digging about running a program as it's own user and have come across these two pages:

link:
http://www.cyberciti.biz/open-source/co … rent-user/

link:
http://serverfault.com/questions/258820 … n-a-server


However, I can't seem to find anything that goes into explicit detail as to HOW I run a program, as it's own user without logging into said user. Or is that how it's generally done? surely not.. this seems illogical. Is it achievable through 'runuser' as detailed in the first link? (maybe I have found the solution within these two links, I honestly can't tell atm.)

I know this might not seem absolutely necessary; I'm not exactly BHP. But I figured now is the time to learn this and I have always been curious as to how this works.

Thanks in advance
MedicineMan25

Last edited by medicineman25 (2016-10-25 10:06:57)

Offline

#2 2016-10-25 10:06:29

medicineman25
Member
Registered: 2014-12-03
Posts: 110

Re: [SOLVED] running a program with it's own user account

Just found this handy tutorial on running wine as it's own user.

http://www.bobulous.org.uk/misc/Spotify-Linux-Wine.html

It seems to mainly revolve around adding a user, adding that user to a group, then changing the umask. If there is more to this process please don't hesitate to comment smile

Offline

Board footer

Powered by FluxBB