gshadow 中缺少组条目

gshadow 中缺少组条目

我最近安装了ArcoLinux (Arch),但我不熟悉很多核心linux 功能。我注意到服务shadow.service失败了。

以下是 的输出systemctl status shadow.service

● shadow.service - Verify integrity of password and group files
     Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
     Active: failed (Result: exit-code) since Wed 2021-01-27 13:15:38 CET; 5min left
TriggeredBy: ● shadow.timer
    Process: 326 ExecStart=/bin/sh -c /usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r (code=exited, status=2)
   Main PID: 326 (code=exited, status=2)

Jan 27 13:15:38 mpc5 sh[333]: add group 'audio' in /etc/gshadow? No
Jan 27 13:15:38 mpc5 sh[333]: no matching group file entry in /etc/gshadow
Jan 27 13:15:38 mpc5 sh[333]: add group 'users' in /etc/gshadow? No
Jan 27 13:15:38 mpc5 sh[333]: no matching group file entry in /etc/gshadow
Jan 27 13:15:38 mpc5 sh[333]: add group 'nopasswdlogin' in /etc/gshadow? No
Jan 27 13:15:38 mpc5 sh[333]: no matching group file entry in /etc/gshadow
Jan 27 13:15:38 mpc5 sh[333]: add group 'autologin' in /etc/gshadow? No
Jan 27 13:15:38 mpc5 sh[333]: grpck: no changes
Jan 27 13:15:38 mpc5 systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 27 13:15:38 mpc5 systemd[1]: shadow.service: Failed with result 'exit-code'.

我从中得出结论,有一些团体缺失,但/etc/gshadow实际上确实存在于/etc/group.我没有对这两个文件进行任何直接更改。

这是否值得担忧?我应该添加这些组吗?

相关内容