* [gentoo-dev] Freenet questions...
@ 2002-02-06 18:43 Per Wigren
2002-02-07 1:09 ` JR Boyens
0 siblings, 1 reply; 2+ messages in thread
From: Per Wigren @ 2002-02-06 18:43 UTC (permalink / raw
To: gentoo-dev
Hi!
I have a working .ebuild of Freenet now that I'm very satisfied with (and I
hope+think you will also be)!
The problem is that it is pretty insecure (runs as root)..
I'd prefer it to run as user "freenet" instead of root...
I can't run it as "nobody" because then the store-file and logs have to be
writable by "nobody" which is no good...
How can I make the .ebuild add the user "freenet"?
Any better ideas? Or should I let it be run as root?
What is a good default size of the datastore?
Right now I put it in /var/freenet and set the default size to 1/3rd of the
*available* space on /var, up to 1GB, using some df/awk/bash-magic.. :) (To
change it, just change the storeSize= parameter in /etc/freenet.conf)
Regards
Per Wigren
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Freenet questions...
2002-02-06 18:43 [gentoo-dev] Freenet questions Per Wigren
@ 2002-02-07 1:09 ` JR Boyens
0 siblings, 0 replies; 2+ messages in thread
From: JR Boyens @ 2002-02-07 1:09 UTC (permalink / raw
To: gentoo-dev
Take a look at the postfix build, it just asks the user to add the
'postdrop' user.
--
JR Boyens
jboyens@iastate.edu
On Wed, 2002-02-06 at 12:43, Per Wigren wrote:
> Hi!
>
> I have a working .ebuild of Freenet now that I'm very satisfied with (and I
> hope+think you will also be)!
>
> The problem is that it is pretty insecure (runs as root)..
> I'd prefer it to run as user "freenet" instead of root...
> I can't run it as "nobody" because then the store-file and logs have to be
> writable by "nobody" which is no good...
>
> How can I make the .ebuild add the user "freenet"?
> Any better ideas? Or should I let it be run as root?
>
> What is a good default size of the datastore?
> Right now I put it in /var/freenet and set the default size to 1/3rd of the
> *available* space on /var, up to 1GB, using some df/awk/bash-magic.. :) (To
> change it, just change the storeSize= parameter in /etc/freenet.conf)
>
> Regards
> Per Wigren
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-07 1:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-06 18:43 [gentoo-dev] Freenet questions Per Wigren
2002-02-07 1:09 ` JR Boyens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox