Solve the problem of Creating mailbox file: the file already exists when creating a user under linux

When adding a user with useradd under linux, an error occurs: Creating mailbox file: The file already exists?
  How to solve:
      After adding a user under linux, a mailbox (system mailbox) will be automatically added to the system, and the path is: /var/spool /mail/username.
     You can directly use the command #rm -rf /var/spool/mail/username
   to add a user with the same name again.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325790259&siteId=291194637