LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-16-2004, 12:15 AM   #1
appas
Member
 
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-16-2004, 12:26 AM   #2
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
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.
 
  


Reply


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 05:17 PM
Service won't start unless run as root user gauge73 Linux - General 3 05-07-2005 11:37 PM
Starting a service as non root user? dee3lmo Linux - General 2 07-30-2004 08:37 PM
I can start X with root but not with another user pewillette Linux - Newbie 4 04-21-2004 07:58 PM
Startup service run by user other than root? WeNdeL Linux - Newbie 5 03-20-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:19 PM.

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