Can non-root user create/start services?

Tomasz CEDRO tomek at cedro.info
Tue May 18 19:58:41 UTC 2021


On Tue, May 18, 2021 at 9:47 PM K Lu <kludev at gmail.com> wrote:
> And I'm more curious about the general question of "how can a non-root user create/start freebsd services" - Any suggestions :)

Why would you like that?

You can set services to start in /etc/rc.conf as root ans just have
them running (with provided parameters).

You can run your own network services on non-restricted ports (above
1024) as standard user.

You can also use sudo to perform root actions as standard user.

In general Unix always separates root (administrator tasks) from users
(non administrative tasks). This is why "gaining root" as
standard/restricted user is always the most interesting part ;-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


More information about the freebsd-questions mailing list