Tag: passwd

‘root’用户不存在?

当我运行su命令时,终端返回: user ‘su’ does not exist 如何添加root用户? 谁能回答这个问题? 我试过sudo adduser su ,但在此之后,我遇到了同样的问题。

尝试更改默认shell时,/ etc / passwd中不存在用户

我想将我的默认shell从tcsh更改为bash。 所以我试过,这就是发生的事情: >sudo chsh userid Changing the login shell for userid Enter the new value, or press ENTER for the default Login Shell [/xhbin/tcsh]: /bin/bash chsh: user ‘userid’ does not exist in /etc/passwd 确实,我不在/ etc / passwd中。 我不知道为什么。 我能做什么?

如何检查创建用户的包?

怀疑某些软件包在安装时运行脚本,这些脚本在/etc/passwd创建用户帐户。 如何查看创建特定用户的软件包?