Zum Inhalt springen

Synology Benutzer SSH Zugang erstellen

Aus Computech CMS Wiki
Version vom 8. Januar 2013, 22:01 Uhr von Simon Zeberli (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Enable Shell Access a User

Login to your Diskstation as root using SSH. Enter your Diskstation’s admin password when prompted for a password

   localhost$ ssh root@diskstation
   	

localhost$ ssh root@diskstation Edit the /etc/passwd file

   DiskStation> vi /etc/passwd
   	
   DiskStation> vi /etc/passwd

Find the git user entry and change the shell from /sbin/nologin to /bin/ash and save (escape+ZZ)

   git:x:1000:100:git hosting user:/var/services/homes/git:/bin/ash