This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16393|Reply: 0

[linux] Creating mailbox file: File exists

[Copy link]
Posted on 11/9/2016 10:38:59 AM | | | |
I get a hint when adding a user via useradd itsvse in Linux:
Creating mailbox file: The file already exists


The reason for the error is that an itsvse user was created before, and then I deleted the itsvse user and respecified the folder to create the user, and an error will be reported.

There are two solutions:

The first type:
find / -name "*itsvse*"
Check the location of this file, it looks like this:
/var/spool/mail/itsvse
Delete this file and add it again

The second type:
//重新彻底删除该用户,然后重新创建
userdel -r itsvse
//重新创建
useradd -d /sb/www/test -s /sbin/nologin itsvse





Previous:ef uses System.Data.Entity.DbFunctions.DiffDays to query the data for the current day and yesterday
Next:CentOS looks at the directory location where the program is running
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com