Add to Favourites Add to Favourites    Print this Article Print this Article

Error creating user: useradd: unable to open password file

When you create a User, if you get the error:

Error creating user: useradd: unable to open password file

that may mean that your /etc/passwd file is not set properly for access.  You can try the command:

chattr -ai /etc/passwd

to set it correctly.

Was this answer helpful?

Also Read