Ubuntu - 带 ACL 的 sudo

Ubuntu - sudo with ACL

很抱歉,如果这是显而易见的事情,但我是 Linux 的新手。 我试图设置一个 git 裸目录,为此我在 Ubuntu 上安装了 ACL。然后我 运行 以下命令:

adduser git
mkdir /repositories
chmod 700 /repositories
setfacl -m defaut:user::rwx /repositories
sudo chown git:git /repositories

一切正常,直到我重新启动机器。现在我无法再执行 sudo 了。每次我自己做时,我都会收到以下消息:

[[sudo]] password for Andre:
Sorry, try again

我输入的密码与我一直使用的密码相同,使用这些帐户凭据进行 SSH 访问没有任何问题。 有谁知道发生了什么以及如何解决它?

我认为问题出在 setfacl 上。我应该使用 'repositories' 而不是 '/repositories'。通过这种方式,我在根目录中设置了 acl。我最终重新安装了 Linux。