This is an old revision of the document!


How do you allow different users to access your NAS with SSH?

Use the NAS web-interface to add a user (test in this case) to the device.

if you type at the prompt: cat /etc/passwd it will show…. test:x:504:504:Linux User,,,:/home/ftp:/bin/sh

The problem is that the path for the bash is not correct: :/bin/sh should be /ffp/bin/sh, the same as with the root account.

usermod -s /ffp/bin/sh test

Next use the commands pwck, grpck, pwconv and store-passwd.sh to check, commit the changes to the passwd file and the shadow file.

For use with SSH-keys the NAS lacks space for storing the .ssh folder.


Navigation

Personal Tools