create new user

Sergio Schvezov sergio.schvezov at canonical.com
Thu Jun 11 14:27:03 UTC 2015


On Thu, Jun 11, 2015 at 03:13:01PM +0100, roger peppe wrote:
> I'd quite like to make a new user on my snappy instance (so that I don't
> need to use "ssh ubuntu at ..." every time), but I get this response:
> 
> ubuntu at localhost:~$ sudo adduser rog
> Adding user `rog' ...
> Adding new group `rog' (1001) ...
> groupadd: cannot lock /etc/group; try again later.
> adduser: `/usr/sbin/groupadd -g 1001 rog' returned error code 10. Exiting.
> ubuntu at localhost:~$
> 
> What am I doing wrong?

Nothing, /etc/group and /etc/passwd are read only.

Someone needs to teach adduser to look at lib-nssextrausers



More information about the snappy-devel mailing list