[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

help on daemon gui/uid (again)



Hi everybody and sorry if last time I wrote I posed my questions
in the wrong terms. I was not asking how to create a new system
group/user but if doing it in my case is right. Let me explain
a little better (I hope):

I have wwwoffled, a daemon thar works like a proxy when you
are on line and like a cache when you are offline.
It runs as root.root and writes the cache to /var/spool/wwwoffle.

The program can set is uid/gid on start. It is better to

1. run it as root.root just like now.

2. change to wwwoffle.wwwoffle and have /var/spool/wwwoffle
   reflect that (i.e., have it owned by that user/group)

3. run it as nobody.nogroup and have /var/spool/wwwoffle owned
   by nouser/nogroup.

What's the best for security? What are the problems?

Thanx.

*************************    ____*********************************
* Federico Di Gregorio   |  /      the number you dialled is     *
* Debian developer!      | / -1   imaginary... please, rotate    *
* <friend of penguins>   |/      the phone PI/2 and try again!   *
****************DE 9E B2 75 B4 F6 CC 5B  C3 D5 71 51 04 AB F3 B2**



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: