Re: [問題] CentOS 5.5 useradd 出現command not found
shell > who a i
如果不是 root 就用su 切換成root
# rpm -qa | grep shadow-utils
# yum install shadow-utils
# which useradd
※ 引述《prolog (波卡)》之銘言:
: 大家好 我安裝centos5.5
: 然後使用sudo useradd user這個指令時
: 出現command not found訊息
: 突然覺得很意外 結果我到/usr/sbin/裡面
: 用sudo ./useradd 就可以執行了
: 怎麼會出現這種路徑上的問題
: 我的centos5.5是新安裝乾淨的i386版本
: 請問這是個bug嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.194.48.230
推
12/27 19:15, , 1F
12/27 19:15, 1F
→
12/27 19:16, , 2F
12/27 19:16, 2F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):