1

I am trying to create new account in Ubuntu:

$ sudo adduser --force-badname "jenkins"

Adding user `jenkins' ...

Adding new group `jenkins' (1001) ...

configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)

Adding new user `jenkins' (1001) with group `jenkins' ...

configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)

Creating home directory `/home/jenkins' ...

Copying files from `/etc/skel' ...

passwd: Permission denied
passwd: password unchanged

I commented out the PASS_MIN_LEN item in /etc/login.defs, but the following errors still occur:

passwd: Permission denied
passwd: password unchanged

How I can resolve this issue?

1

Look under /etc/security/*. The files under there control the limits imposed by PAM now. There are notes about this move in the /etc/pam.d files, specifically the login file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.