I am connected to an Ubuntu 12.04.3 LTS server via SSH; when I try to add a group, I get the following message:
groupadd: cannot lock /etc/group; try again later.
In researching this problem, I found some suggestions to look for and remove a .pwd.lock
file in the same directory. I found such a file, created over a year ago; I removed it but this did not change the behavior of groupadd
.
I've read Cannot lock '/etc/group' in recovery mode but I am not booted into recovery mode and all partitions are mounted read-write. I am not logged in as the root user.