cannot create another user at all

Asked by singsong on 2010-11-27

I just installed ubuntu 10.10 . Even though the last few ubuntu installations did no work out . This was better . I even managed to install my usb netgear wireless adaptor . The windows wireless option was not there. I had to use another pc to google for the answer and after many tries , the windows wireless option appeared. Why was this not there in the first case. Surely everybody has the need for wireless. Anyway , another problem cropped up. I cannot create a new user at all . I would use system / administration / users and groups . I would create user user-123 and the error would appear.
The configuration could not be saved. You are not allowed to modify the system configuration.
using from command line also could not create new user.

nhsx@ubuntu4:~$ sudo adduser apple-123
[sudo] password for nhsx:
Adding user `apple-123' ...
Adding new group `apple-123' (1001) ...
groupadd: cannot lock /etc/group; try again later.
adduser: `/usr/sbin/groupadd -g 1001 apple-123' returned error code 10. Exiting.

Please can anybody tell me what to do .

This PC has more than 1 user . I used to run windows xp on it . Now on ubuntu 10.10 but only the installed user exists , cannot add any more users to this PC.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
2010-11-27
Last reply:
2010-11-27

You need to delete the file named "/etc/group.lock"
sudo rm /etc/group.lock

Do that and try to add the user again

Regards,
Ricardo

Can you help with this problem?

Provide an answer of your own, or ask singsong for more information if necessary.

To post a message you must log in.