Can non-root user create/start services?

Steve O'Hara-Smith steve at sohara.org
Tue May 18 22:33:55 UTC 2021


On Tue, 18 May 2021 23:28:09 +0200
Tomasz CEDRO <tomek at cedro.info> wrote:

> On Tue, May 18, 2021 at 10:52 PM K Lu  wrote:
> > Right, I don't want to change to root for those tasks.
> >
> > That's why I'm curious, if the user can define and start "per-user"
> > services. Not sure if I elaborate the use cases well :)
> >
> > Another option I can think of is using user cron jobs. Are there other
> > options?
> 
> Cron is good to run periodic tasks - every hour, day, week, month.

	Also @reboot which is ideal for services.

> You may want to put your local services into ~/.profile but that
> requires login for them to be launched. They would not launch at boot.

	They would also launch for every login.

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list