Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 21:58:19 +0200
From:      Tomasz CEDRO <tomek@cedro.info>
To:        K Lu <kludev@gmail.com>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Can non-root user create/start services?
Message-ID:  <CAM8r67CD1Sd9nFz=1Wrui414eVUNuRMRkOJp4BONeO%2Bgep2zMA@mail.gmail.com>
In-Reply-To: <ED008A9A-A5BE-4BEB-B636-D60295F59C8A@gmail.com>
References:  <ED008A9A-A5BE-4BEB-B636-D60295F59C8A@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 18, 2021 at 9:47 PM K Lu <kludev@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM8r67CD1Sd9nFz=1Wrui414eVUNuRMRkOJp4BONeO%2Bgep2zMA>