Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Synology DS212+ を使用していますが、ssh 経由でルート パテを使用してログインするときは、常にフォルダ /root に入力します。
どうすればそれを変更できますか? /volume1にデフォルトで入りたい。これを行うことは可能ですか?
前もって感謝します。
/etc/passwd を編集して、root のホーム ディレクトリを変更します。変化する
root:x:0:0:root:/root:/bin/ash
に
root:x:0:0:root:/volume1:/bin/ash