useradd: cannot lock /etc/passwd; try again later. By anario • On 02/15/2013 • In Unix/Linux #useradd -m -g users -s /bin/bash anar useradd: cannot lock /etc/passwd; try again later. Remove any files called /etc/passwd.lock /etc/group.lock /etc/gshadow.lock /etc/shadow.lock