亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: groups 命令不能用。使用時(shí)出錯(cuò)。 [打印本頁(yè)]

作者: Ace_kream    時(shí)間: 2012-08-24 14:49
標(biāo)題: groups 命令不能用。使用時(shí)出錯(cuò)。
在終端上輸入
#groups
/bin/groups: line 61: id: not found
錯(cuò)誤信息。

毫無頭緒。

求解。
作者: zjhxmjl    時(shí)間: 2012-08-24 19:25
本帖最后由 zjhxmjl 于 2012-08-24 19:34 編輯
Ace_kream 發(fā)表于 2012-08-24 14:49
在終端上輸入
#groups
/bin/groups: line 61: id: not found

什么發(fā)行版及版本?當(dāng)前運(yùn)行此命令的用戶名?終端運(yùn)行(內(nèi)容貼上來)
  1. cat ~/.bash_profile
復(fù)制代碼
  1. cat -n /etc/group
復(fù)制代碼
  1. echo $SHELL
復(fù)制代碼

作者: chenyx    時(shí)間: 2012-08-25 08:20
groups=`id -Gn -- $name`

樓主檢查下id命令是否被刪除了
作者: chenyx    時(shí)間: 2012-08-25 08:21
[chenyx@5250 ~]$ which id
/usr/bin/id
[chenyx@5250 ~]$ rpm -qf /usr/bin/id
coreutils-5.97-23.el5_4.2





歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2