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

RE:conflict between system user and normal user



Hello,

I dig a little bit in the debian documentation, and I found this snipset
in the section 9.2 of securing-debian-howto [1]

It is interesting to see the code used to create a system user.
But the step 4 bother me

       usermod -c "$SERVER_NAME" \
               -d $SERVER_HOME   \
               -g $SERVER_GROUP  \
                  $SERVER_USER

So it seems that this code update silently the user home during the package installation.

Is it a good practice ?

[1] https://www.debian.org/doc/manuals/securing-debian-howto/ch9.en.html


Cheers

Fred

Reply to: