linux下增加useradd提示existing lock file /etc/subgid.lock without a PID

# useradd git -g git
useradd: existing lock file /etc/subgid.lock without a PID
useradd: cannot lock /etc/subgid; try again later.

肿木办呢?把lock文件删掉不就行了吗

rm -rf /etc/subgid.lock 
useradd git -g git

 

posted @ 2017-05-27 10:47  巫谢  阅读(3045)  评论(0编辑  收藏  举报