如果我删除 qmail 帐户,是否存在任何潜在问题?

如果我删除 qmail 帐户,是否存在任何潜在问题?

我一直只使用 13.10,但两周前需要安装 12.04。使用默认guest帐户,我获得了其他一组帐户,如您所见:

在此处输入图片描述

我曾经在安装 13.10 时禁用过 guest 账户,但不知道这些别名和 qmail 账户有什么用?

另一个问题是,每次我尝试从更新管理器更新我的 12.04 或使用时,sudo apt-get install都会收到如下错误:

The hostname -f command returned: $1

Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.

Installation aborted.

dpkg: error processing qmail (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of qmail-run:  qmail-run depends on qmail (>= 1.06-2.1); however:   Package qmail is not configured yet. dpkg: error processing qmail-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:  qmail  qmail-run E: Sub-process /usr/bin/dpkg returned an error code (1)

您能否建议是否可以禁用这些帐户并尝试删除这些 qmail 内容?

答案1

请按照以下步骤删除qmail

  1. sudo apt-get remove --auto-remove qmail-uids-gids
  2. sudo apt-get purge qmail-uids-gids

您应该看到以下消息:

Purging this package does not remove the qmail uids and gids.  You might want to do this manually, e.g.:

# userdel alias
# userdel qmaild
# userdel qmaill
# userdel qmailp
# userdel qmailq
# userdel qmailr
# userdel qmails
# groupdel qmail
# groupdel nofiles

使用sudo userdelsudo groupdel来完成工作:

sudo userdel alias
sudo userdel qmaild
sudo userdel qmaill
sudo userdel qmailp
sudo userdel qmailq
sudo userdel qmailr
sudo userdel qmails
sudo groupdel qmail
sudo groupdel nofiles

答案2

这些别名是 qmail 正常运行所必需的。请参阅绿屋村安装部分获取更多信息。您的 FQDN 问题已得到解决这里

相关内容