NOTE: I’ve written about getting SSH access in another related post.
I recently installed some additional tools onto my NSA 325v2 by using the following command:
# slacker -UaA uli:nano uli:aspell6-de uli:screen mz:htop mz:nmon
These are more or less fundamental Linux tools, there is an explanation on what these tools to on fr32k.de (German).
After installing these tools I tried to reconnect via SSH, but after entering Username and Password got the following error message:
/ffp/etc/profile: Permission denied
I was able to use the connection, but obviously my profile wasn’t loaded and therefore some environment variables etc weren’t initialized. After some googling I found the problem and its easy solution:
One of the above setups reset the access right of my /ffp/etc directory. The result was that my default user wasn’t allowed to load his profile anymore. Simply process the following commands to fix that:
# su # chmod 755 /ffp # chmod 755 /ffp/etc
Then you can relogin and everything should work again (at least it did for me). I think the problem was that I installed the above software with my root account, so the directory rules were rewritten to that user.
Update: As user picard notes in the comments, the installation of the tools are probably not the cause of the problem. If you experienced similar issues please take the time to write about it in the comments.