Linux 组:未找到命令
登录后,我遇到以下错误:Linux 组:未找到命令,linux,Linux,登录后,我遇到以下错误: Last login: Thu May 30 15:25:49 2013 from -bash: groups: command not found xxx@Dogbert:~$ /usr/bin/groups -bash: /usr/bin/groups: Permission denied xxx@Dogbert:~# su - root@Dogbert:~# ls -la /usr/bin/groups -rwxr-xr-x 1 root root 2
Last login: Thu May 30 15:25:49 2013 from
-bash: groups: command not found
xxx@Dogbert:~$ /usr/bin/groups
-bash: /usr/bin/groups: Permission denied
xxx@Dogbert:~# su -
root@Dogbert:~# ls -la /usr/bin/groups
-rwxr-xr-x 1 root root 26180 Mai 28 22:21 /usr/bin/groups
有什么想法吗 1简单的可能性(在您提供更多信息之前):
- 当您的登录脚本使用“groups”(没有说“/usr/bin/groups”)时,当前的$PATH还没有包含/usr/bin