Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-15-2004, 11:15 PM   #1
Registered: Jul 2004
Posts: 72

Rep: Reputation: 15
Is it possible to start a service but not as a root user

I have just added a service, Is it possible to start a service at boot time as a normal user.

I would like to explain the problem in detail, I added a service
for eg: Myservice
It works fine, runs as a service every time i boot the machine. This service creates some dirs and files on the running process.

If i stop the service after logging in as normal user and run the same as an application, I have problem accessing the dirs and files created by the service which is run as root.
Is it possible to run the service as user mode so that the dirs and files created can be accesed by any normal user.
Could anyone help me how to solve the problem,
Old 10-15-2004, 11:26 PM   #2
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 357

Rep: Reputation: 30
Your question is a bit foggy. If the service is started with a script, make sure the script is executable for your user's group. Or make sure the service creates the files and dirs with permissions such that regular users can access them.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to start x as user and not root? SharpyWarpy Fedora 5 06-22-2005 04:17 PM
Service won't start unless run as root user gauge73 Linux - General 3 05-07-2005 10:37 PM
Starting a service as non root user? dee3lmo Linux - General 2 07-30-2004 07:37 PM
I can start X with root but not with another user pewillette Linux - Newbie 4 04-21-2004 06:58 PM
Startup service run by user other than root? WeNdeL Linux - Newbie 5 03-20-2003 02:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration