Comment 9 for bug 459474

Revision history for this message
cosmos (alantonop) wrote :

I have a similar problem.I'm trying to create an account for the user sofoklis and i get the message below.I tried erasing the files described in post #8 but i always get the same message.The problem existed under Ubuntu 9.10 Karmic and also in 10.04 Lucid.

uname -a
Linux alexandros-desktop 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linux

sudo adduser sofoklis
Adding user `sofoklis' ...
Adding new group `sofoklis' (1001) ...
Adding new user `sofoklis' (1001) with group `sofoklis' ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /home/sofoklis -g sofoklis -s /bin/bash -u 1001 sofoklis' returned error code 1. Exiting.