There was some problem after edtiting the /etc/sshd/sshd_config and adding to the end:
>And restarted the SSH:
Nothing happens, I gott a error and was disconnected. The problem was in the passwd file. The users created in eTrayz has no shell defined i the passwd file. And after changing the varible /bin/false to /bin/bash or /bin/sh then the SSH login works for that user.
The command passwd -s [user] is not working so to change the file you just hav to edit it with vi as root.
Next problem is; how to restrict users to not see all files and folders.. hmm. Ok, i hope i can shut down my other NAS so I can use port 20,21, that would be better. Well I learnt how to set up SSH for users.
No comments:
Post a Comment