Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-04-2001, 10:21 AM   #1
LQ Newbie
Registered: Jul 2001
Posts: 2

Rep: Reputation: 0
Question daemons

I am running Audio Galaxy ( connected to the internet all the time ) as a daemon in the background.
Now I heard that you can run it as a special user ( with no rights ).
But how?

MfG acren
Old 07-04-2001, 11:39 AM   #2
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
Your referring to the users called "nobody"
Look through its configuration files to see if you can change its current id.

I'll go and have a look and see what I can find.

Old 07-04-2001, 10:02 PM   #3
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
You could use the user 'nobody', but to Apache the user nobody is somebody. The nobody user would have rights to whatever files he owned.
I'd suggest that you create a new user called 'agalaxy' (or whatever) and make him non-login able and dedicated to this application ONLY. Set the ownership of the directory and all the Audio Galaxy files to this user, and launch the program as this user.
Old 07-06-2001, 05:28 AM   #4
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31

Apache didn't invent the user, it's a standard trust no-one over networks logging name from the BSD days.

If Apache is run correctly the daemon runs as user nobody but the files it runs should be owned by someother user like "webadmin" and group "webstuff" then all the files should have the privileges set with chmod 644.

This way if a bug lets someone run files with the id of the httpd your not going to get very far.



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
writing daemons masand Programming 2 04-29-2004 01:16 PM
daemons and permissions stabu Linux - Newbie 2 03-30-2004 11:19 AM
daemons LinuxLala Linux - General 4 11-28-2003 02:37 PM
Daemons mariua Linux - General 0 10-11-2001 06:03 AM
Daemons mariua Linux - Newbie 0 10-11-2001 06:00 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:29 AM.

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
Open Source Consulting | Domain Registration