why is gophernicus installed in /usr/sbin in the debian 11 install it dosent seem to be in a path?
robert houlihan rhoulihan52@gmail.com wrote:
I'm trying to set a gopher server for the first time. However nothing seems to work!
First I plan to Reconfigure all the stuff on the command line.
Gophernicus was weird to me too at first but its because it does not do network requests by itself. It needs a listener. This listener can be the classic inetd or the more modern systemd.
Personnally I use inetd and I installed gophernicus in /usr/local/sbin, I host a gopher server at gopher://froude.eu and I installed all my files in /var/gopher which is the default directory served by gophernicus. So I added this to my inetd.conf.
gopher stream tcp46 nowait nobody /usr/local/sbin/gophernicus gophernicus -nf -h froude.eu -o UTF-8
why is gophernicus installed in /usr/sbin in the debian 11 install it dosent seem to be in a path?
/usr/sbin is only in the path of the root user. As such it can be started by inetd or systemd as designed but not by an unprivileged user.
-- Regards, Thomas
gophernicus@lists.tildeverse.org