I am trying to create a media server and NAS and don't exactly know what I'm doing. I setup my user with no issues and can access my server through SMB on my windows 11 pc and SSH. The problem I'm having is that any new user that I create gets a permission denied error anywhere I try to login. Smb says permission denied and SSH says...
"Could not chdir to home directory /home/(user): Permission denied
/bin/bash: Permission denied
Connection to mediaserver closed."
the auth.log says...
"Accepted password for (user) from ::1 port 40872 ssh2
pam_unix(sshd:session): session opened for user (user)(uid=1002) by (uid=0)
error: /dev/pts/2: Permission denied
Received disconnect from ::1 port 40872:11: disconnected by user
pam_unix(sshd:session): session closed for user (user)"
The new users have the same permissions as my main user that actually works, but refuses to login. Any ideas would be greatly appreciated.