Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up git using my Synology DS212J NAS Server.

I've been following these instructions:

But I am very much a beginner with git.

So far I am stuck on the part where it says to:

Then edit /etc/passwd to enable the user for ssh use. We change he home dir set the login shell:


I keep getting:

-ash: user1:x:1026:100::/volume1/home/user1:/bin/sh: not found

Does anyone have any ideas?

share|improve this question
up vote 2 down vote accepted

It appears that your are just typing the line into the shell, you need to edit the /etc/passwd file as it says (using vi or whatever editor you have installed) and add the line (assuming user):

vi /etc/passed

Go to the end of the file, hit shift-a to get to insert mode, hit Enter to start a new line, and paste the following:


Then Esc Then save the file:

share|improve this answer
Thank you so much! That did the trick perfectly :D – Jay May 27 '12 at 11:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.