On 2026-11-06, Antoine Jacoutot <[email protected]> wrote:
> On Fri, Nov 06, 2026 at 05:52:15PM +0100, Paolo Aglialoro wrote:
>> 
>> Point is that "rcctl check <service>" needs no root rights, but I'd have to 
>> run it n-times for
>> all the services in /etc/rc.d/ which is damn slow.

Run them in parallel?

(I don't really see the point of doing this for each login shell anyway
but to each their own..)

> Read what I wrote. Some scripts needs root to check.
>
> $ /etc/rc.d/smbd check
> /etc/rc.d/smbd: need root privileges

i.e. if "rcctl ls started" could be run by non-root, the list could
be incomplete.


-- 
Please keep replies on the mailing list.

Reply via email to