How do I fix the error 'useradd: cannot open /etc/passwd'?
Linode
Linode Staff
I'm trying to create a sudo
user, and am getting the following error:
useradd: cannot open /etc/passwd
How do I fix this?
1 Reply
tommydavidson
Linode Staff
Based on the error, it seems likely this issue is related to permissions on the /etc/passwd
file. This article discusses that error and a possible resolution.