]> git.ipfire.org Git - thirdparty/shadow.git/commit
Removed hard-coded default mail spool in useradd 231/head
authorGeoffrey Krug <geofkrug@amazon.com>
Wed, 12 Feb 2020 20:21:21 +0000 (20:21 +0000)
committerGeoffrey Krug <geofkrug@amazon.com>
Wed, 11 Mar 2020 20:00:09 +0000 (20:00 +0000)
commit2a991a3ce991f4d253a0b24da4c37d1a702e4ba7
tree888e8057c86c960ec97296b08fb0bcfc15c26ca9
parent3f2bbcfa9160a3a02baa574aea5e970df79f8260
Removed hard-coded default mail spool in useradd

The useradd program should be consistent with userdel and usermod and use the
MAIL_SPOOL_DIR variable as the default spool, if it is defined. Otherwise,
don't create a new mailbox, because it won't be cleaned up by userdel when run
with the -r flag.
src/useradd.c