Linux 101 : Error : Could not chdir to home directory /home/user: No such file or directory
Adduser is a linux command that adds a user to the system. After adding a user to the system using:
We set the user password using:
Could not chdir to home directory /home/user: No such file or directory
Creating the directory with the right permissions:
To fix the above error, we would need to create a home directory for the user "user_name":
We also need to set the right permissions for the directory:
Comments