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
很惭愧,只做了一点微小的工作