libnss-extrausers and user tasks

1.6k Views Asked by At

I have Ubuntu 12.04. Installed libnss-extrausers and configured nsswitch.conf. Now, users registered in /var/lib/extrausers/{passwd,group,shadow} are recognized by the system and can login.

However, common user management programs (passwd, userdel, usermod, groupadd, groupmod) only work for users registered at /etc/{passwd,group,shadow}

Is there any configuration to make these programs work with libnss-extrausers, or simply recognize /var/lib/extrausers/{passwd,group,shadow} as user data files?

1

There are 1 best solutions below

6
On

I had the same issue. It was a permission one. Try:

sudo chmod +r /var/lib/extrausers/*

Worked for me.

Cheers,