hungarianhc
Patron
- Joined
- Mar 11, 2014
- Messages
- 234
Hi There,
I'm working on creating a user for SSH access. I've created a dataset called "Homes" and this dataset gives permission for anyone to read / write into it. I then create a new user, and I set his home directory as "Homes" ~ No error is given, and all works well. I put my public key in the user config screen, and I try to SSH in. Oddly enough, it asks for the user password. I enter it, and I'm in, but it shows me an error, saying that it couldn't change to home directory, permission denied. Odd...
So then I go into the shell in the web UI as root, and I take a look. The "Homes" dataset has the fully open permissions to anyone, but when I CD into that and check out the home directory that was created, I see that the owner is root / wheel. Shouldn't the owner of this folder be my user and the group be his group? I'm going to chown the folder, and I expect it should work, but shouldn't it be creating users who own their own home directories? Or do I not get how things work? Thanks!
I'm working on creating a user for SSH access. I've created a dataset called "Homes" and this dataset gives permission for anyone to read / write into it. I then create a new user, and I set his home directory as "Homes" ~ No error is given, and all works well. I put my public key in the user config screen, and I try to SSH in. Oddly enough, it asks for the user password. I enter it, and I'm in, but it shows me an error, saying that it couldn't change to home directory, permission denied. Odd...
So then I go into the shell in the web UI as root, and I take a look. The "Homes" dataset has the fully open permissions to anyone, but when I CD into that and check out the home directory that was created, I see that the owner is root / wheel. Shouldn't the owner of this folder be my user and the group be his group? I'm going to chown the folder, and I expect it should work, but shouldn't it be creating users who own their own home directories? Or do I not get how things work? Thanks!