Linux.. love it, hate it
On a new Debian 10 server I wanted to create some system accounts. Like those being used by mysql, postfix and ntp: messagebus:x:104:105::/nonexistent:/usr/sbin/nologin unscd:x:105:109::/var/lib/unscd:/usr/sbin/nologin ntp:x:106:112::/nonexistent:/usr/sbin/nologin mysql:x:108:114:MySQL Server,,,:/nonexistent:/bin/false postfix:x:109:116::/var/spool/postfix:/usr/sbin/nologin Account are created with useradd, or adduser? Well, man useradd tells me this is a low level command, so better use adduser. Fair enough. man adduser clearly states how to create a system account, use the –system flag. Reading futher, man adduser tells me, that “A home directory is created by the same rules as for normal users“. Really, for a system user? No problem, just add the –no-create-home flag and the problem is solved. What thisRead More →