Re: Converting xinetd files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 11 Feb 2022 01:53:32 +0000
Wol <antlists@xxxxxxxxxxxxxxx> wrote:

> On 11/02/2022 01:08, Stephen Hemminger wrote:
> > On Fri, 11 Feb 2022 00:57:11 +0000
> > Wol <antlists@xxxxxxxxxxxxxxx> wrote:
> >   
> >> I've found the pid0 blog, and had no real trouble (I think, I haven't
> >> tested it yet :-) converting an xinetd setup.
> >>
> >> But the documentation (man systemd.service) didn't tell me how to
> >> convert a couple of settings, namely xinetd had "user=" and "group=".
> >> Okay, user= was root, so group= probably doesn't matter either, but how
> >> do you get a service to change user and drop privileges? It would be
> >> nice to know for the future, even the near future to try and modify
> >> qm/scarletdme so it doesn't need root and lower any possible attack surface.
> >>
> >> Cheers,
> >> Wol  
> > 
> > You probably want DynamicUser=  
> 
> Thanks. Just looked in the man page and it doesn't appear to be there... 
> How many other undocumented options are there? :-)
> 
> Cheers,
> Wol

https://0pointer.net/blog/dynamic-users-with-systemd.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux