You are not logged in.
I noticed that when adding a # comment after "MAX_DAYS" or "MIN_DAYS" (example in box below) an error occurs at useradd.
MAX_DAYS=4 # this is the max blah blahThe useradd binary reads /etc/login.defs and can't handle comments after a value , it only filters comments at the beginning of the line.
Maybe a coder can pick up on this sometime in the future. My first little noob contribution to your great distro. I thought of feeding you back on here.
Last edited by noob4lnx (2022-09-23 22:29:20)
deleted account
Offline
Comments are introduced with a "#" pound sign and the pound sign must be the first non-white character of the line.
Offline
OK In this case I did not RTFM correctly or missed that section. Thank you for pointing this out. I will close this topic
Update: its now marked as solved.
Thanks again
Last edited by noob4lnx (2022-09-23 22:29:40)
deleted account
Offline