Synology Benutzer SSH Zugang erstellen: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „==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…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 6: | Zeile 6: | ||
localhost$ ssh root@diskstation | localhost$ ssh root@diskstation | ||
Edit the /etc/passwd file | Edit the /etc/passwd file | ||
DiskStation>vi /etc/passwd | DiskStation> vi /etc/passwd | ||
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) | 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 | git:x:1000:100:git hosting user:/var/services/homes/git:/bin/ash | ||
Aktuelle Version vom 8. Januar 2013, 22:01 Uhr
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