ds> ipkg updateds> ipkg install bash
root:x:0:0:root:/root:/opt/bin/bash
ds> ln -s /opt/etc/profile /root/.bash_profileds> ln -s /opt/etc/profile /root/.bashrc4. /opt/etc/profile 수정 - 필요에 따라 적당히 수정## Bash initialization script#PS1='[\u@\h:\w]# 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/bin:/usr/syno/sbin:/opt/sbin:/opt/binLD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}export PS1 PATH LD_LIBRARY_PATHMANPATH=/opt/man:${MANPATH}if [ `/usr/bin/id -u` -eq 0 ]; then HOME=/rootelse HOME=/volume1/`/usr/bin/id -n -u`fiEDITOR=vimPAGER=lessTERM=linuxTERMINFO=/opt/lib/terminfoMANPAGER='less -isrR'RSYNC_RSH=sshexport PATH OUTPUT_CHARSET MANPATH HOME EDITOR PAGER TERM MANPAGER RSYNC_RSH TERMINFOalias ll='ls -la --color=auto'이제 해당 계정으로 로그인하면 bash 쉘이 사용됩니다.
ds> ln -s /opt/etc/profile /root/.bash_profileds> ln -s /opt/etc/profile /root/.bashrc
/opt/etc/profile
## Bash initialization script#PS1='[\u@\h:\w]# 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/bin:/usr/syno/sbin:/opt/sbin:/opt/binLD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}export PS1 PATH LD_LIBRARY_PATHMANPATH=/opt/man:${MANPATH}if [ `/usr/bin/id -u` -eq 0 ]; then HOME=/rootelse HOME=/volume1/`/usr/bin/id -n -u`fiEDITOR=vimPAGER=lessTERM=linuxTERMINFO=/opt/lib/terminfoMANPAGER='less -isrR'RSYNC_RSH=sshexport PATH OUTPUT_CHARSET MANPATH HOME EDITOR PAGER TERM MANPAGER RSYNC_RSH TERMINFOalias ll='ls -la --color=auto'
/opt/sbin:/opt/bin
[root@ds:~]# lltotal 28drwxr-xr-x 3 root root 4096 Jun 27 15:03 .drwxr-xr-x 20 root root 4096 Jun 27 13:48 ..-rw------- 1 root root 1109 Jun 27 15:38 .bash_historylrwxrwxrwx 1 root root 16 Jun 27 15:03 .bash_profile -> /opt/etc/profilelrwxrwxrwx 1 root root 16 Jun 27 15:03 .bashrc -> /opt/etc/profiledrwxr-xr-x 2 root root 4096 Jun 24 19:44 .ncftp-rw-r--r-- 1 root root 505 Jun 24 19:50 .profile-rw------- 1 root root 67 Jun 23 20:21 nohup.out-rwxr-xr-x 1 root root 105 Jun 23 09:53 wol.sh[root@ds:~]# cd /usr/local/[root@ds:/usr/local]#