<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Synology on Wael Nasreddine</title><link>https://risala.pages.dev/tags/synology/</link><description>Recent content in Synology on Wael Nasreddine</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://risala.pages.dev/tags/synology/index.xml" rel="self" type="application/rss+xml"/><item><title>Synology - Allow SSH for non-admin users</title><link>https://risala.pages.dev/posts/synology-allow-ssh-for-non-admin-users/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://risala.pages.dev/posts/synology-allow-ssh-for-non-admin-users/</guid><description>&lt;h2 id="problem"&gt;&#10; Problem&#10; &lt;a class="heading-link" href="#problem"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;I need to grant regular users SSH access to my Synology NAS, specifically for a &lt;a href="https://www.borgbackup.org/" class="external-link" target="_blank" rel="noopener"&gt;Borg&lt;/a&gt; account used to back up my TrueNAS.&lt;/p&gt;&#10;&lt;p&gt;By default, DSM restricts SSH access to users in the &lt;strong&gt;administrators&lt;/strong&gt; group, as noted at the bottom of &lt;a href="https://kb.synology.com/en-af/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet" class="external-link" target="_blank" rel="noopener"&gt;this page&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="solution"&gt;&#10; Solution&#10; &lt;a class="heading-link" href="#solution"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;The workaround is to modify &lt;code&gt;/etc/passwd&lt;/code&gt; and change the target user's shell from &lt;code&gt;/sbin/nologin&lt;/code&gt; to a valid shell like &lt;code&gt;/bin/sh&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>