Benni.blanko
Dabbler
- Joined
- Dec 18, 2021
- Messages
- 31
Truenas 13.0-U4
I've tried it several times on creating a new Truenas CORE user, which should SSH into the machine.
But logging in always gives: (myuser is the newly created user here)
Welcome to FreeNAS
Could not chdir to home directory /mnt/Pool1/home/myuser: Permission denied
Also it's not possible to change dir to that directory with that user.
But the directory exists and was created by the Truenas GUI:
ls -l shows
drwxr-xr-x 2 myuser myuser 9 Jul 22 18:45 myuser
and there are files in there:
root@freenas[/mnt/Pool1/home/myuser]# ls -l
total 28
-rw-r--r-- 1 myuser myuser 962 Jul 22 18:45 .cshrc
-rw-r--r-- 1 myuser myuser 323 Jul 22 18:45 .login
-rw-r--r-- 1 myuser myuser 91 Jul 22 18:45 .login_conf
-rw-r--r-- 1 myuser myuser 301 Jul 22 18:45 .mail_aliases
-rw-r--r-- 1 myuser myuser 267 Jul 22 18:45 .mailrc
-rw-r--r-- 1 myuser myuser 978 Jul 22 18:45 .profile
-rw-r--r-- 1 myuser myuser 695 Jul 22 18:45 .shrc
root@freenas[/mnt/Pool1/home/myuser]#
So, how do I fix this issue?
Shouldn't the gui create a working environment?
Regards
I've tried it several times on creating a new Truenas CORE user, which should SSH into the machine.
But logging in always gives: (myuser is the newly created user here)
Welcome to FreeNAS
Could not chdir to home directory /mnt/Pool1/home/myuser: Permission denied
Also it's not possible to change dir to that directory with that user.
But the directory exists and was created by the Truenas GUI:
ls -l shows
drwxr-xr-x 2 myuser myuser 9 Jul 22 18:45 myuser
and there are files in there:
root@freenas[/mnt/Pool1/home/myuser]# ls -l
total 28
-rw-r--r-- 1 myuser myuser 962 Jul 22 18:45 .cshrc
-rw-r--r-- 1 myuser myuser 323 Jul 22 18:45 .login
-rw-r--r-- 1 myuser myuser 91 Jul 22 18:45 .login_conf
-rw-r--r-- 1 myuser myuser 301 Jul 22 18:45 .mail_aliases
-rw-r--r-- 1 myuser myuser 267 Jul 22 18:45 .mailrc
-rw-r--r-- 1 myuser myuser 978 Jul 22 18:45 .profile
-rw-r--r-- 1 myuser myuser 695 Jul 22 18:45 .shrc
root@freenas[/mnt/Pool1/home/myuser]#
So, how do I fix this issue?
Shouldn't the gui create a working environment?
Regards