On 4/3/20 2:56 AM, Tim Tassonis via blfs-dev wrote:
Hi all

I'm about to give the new dhcpcd 9.0.0 a go, which has quite an important change: it does privilege separation now.

This means that an unprivileged user has to be created and that user needs to have access to /var/lib/dhcpcd

I thought of doing something similar to openssh:

install  -v -m700 -d /var/lib/dhcpcd


groupadd -g 50 dhcpcd        &&
useradd  -c 'dhcpcd PrivSep' \
          -d /var/lib/dhcpcd  \
          -g dhcpcd           \
          -s /bin/false     \
          -u 50 dhcpcd

chown dhcpcd:dhcpcd /var/lib/dhcpcd



Now, the question is: what uid and gid shall I use? 50 as above is taken by openssh, so what number shall we reserve for dhcpcd?

Use 52.  Also be sure to update "About System Users and Groups".

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to