ssh root Æú´õ Á¢±Ù ¹æ¹ýÁ» ¾Ë·Á ÁÖ¼¼¿ä
ÇູÇѸÁÄ¡ 2020-08 2020-08-14 18:27:33 Á¶È¸ 8106 Ãßõ 0
suik@ds3615xs:/$ cd root
-sh: cd: root: Permission denied
suik@ds3615xs:/$
폴더로 이동이 안됩니다.
어찌해야 합니까?
Password:
root@ds3615xs:~# cd root
-ash: cd: root: No such file or directory
root@ds3615xs:~#
¾ÈµÇ´Âµ¥¿ä ¤Ñ,.¤Ñ;
cd /
Çغ¸½Ã°í ls·Î root ÀÖ´ÂÁö È®ÀÎÇغ¸¼¼¿ä
suik@ds3615xs:/$ ls
bin dev etc.defaults lib lib64 mnt root sbin tmp usr var.defaults
config etc initrd lib32 lost+found proc run sys tmpRoot var volume1
suik@ds3615xs:/$
suik@ds3615xs:/$ cd root
-sh: cd: root: Permission denied
suik@ds3615xs:/$
Ȥ½Ã ÃÖ»óÀ§Æú´õ¸¦ ãÀ¸½Ã´Â°Ç°¡¿ä?
±×·³ ±×³É cd / ÀÔ´Ï´Ù.
suik@ds3615xs:/$ dir
total 68
drwxr-xr-x 22 root root 4096 Aug 14 17:33 .
drwxr-xr-x 22 root root 4096 Aug 14 17:33 ..
lrwxrwxrwx 1 root root 7 Aug 14 17:30 bin -> usr/bin
drwxr-xr-x 7 root root 0 Aug 14 17:32 config
drwxr-xr-x 11 root root 18460 Aug 14 18:36 dev
drwxr-xr-x 46 root root 4096 Aug 14 18:37 etc
drwxr-xr-x 43 root root 4096 Aug 14 17:32 etc.defaults
drwxr-xr-x 2 root root 4096 May 12 07:06 initrd
lrwxrwxrwx 1 root root 7 Aug 14 17:30 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Aug 14 17:30 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 7 Aug 14 17:30 lib64 -> usr/lib
drwx------ 2 root root 4096 May 12 07:06 lost+found
drwxr-xr-x 2 root root 4096 May 12 07:06 mnt
drwxr-xr-x 2 root root 4096 Aug 14 17:30 .old_patch_info
dr-xr-xr-x 199 root root 0 Aug 14 17:32 proc
-rw------- 1 root root 1024 Aug 14 17:30 .rnd
drwx------ 3 root root 4096 Aug 14 17:30 root
drwxr-xr-x 30 root root 1360 Aug 14 18:39 run
lrwxrwxrwx 1 root root 8 Aug 14 17:30 sbin -> usr/sbin
drwxr-xr-x 4 root root 4096 Aug 14 17:31 .syno
dr-xr-xr-x 12 root root 0 Aug 14 17:32 sys
drwxr-xr-x 2 root root 4096 Aug 14 18:37 .system_info
drwxrwxrwt 14 root root 1580 Aug 14 19:01 tmp
drwxr-xr-x 2 root root 4096 Aug 14 17:31 tmpRoot
drwxr-xr-x 11 root root 4096 May 12 06:30 usr
drwxr-xr-x 17 root root 4096 Aug 14 17:55 var
drwxr-xr-x 14 root root 4096 Aug 14 17:30 var.defaults
drwxr-xr-x 9 root root 4096 Aug 14 18:40 volume1
suik@ds3615xs:/$ cd root
-sh: cd: root: Permission denied
suik@ds3615xs:/$
cd ..
ÀÌ·¸°Ô Ãĺ¸¼¼¿ä.
°Å±æ µé¾î°¡¾ß Çϴµ¥ ¾Èµé¾î°¡Á®¼ Áú¹® µå¸°°Í ÀÔ´Ï´Ù.
3½Ã°£ÂÅ ÀÌ°ÍÀú°Í Çغ¸´Âµ¥ ¾ÈµÇ³×¿ä
Çϵå 16°³ ´Þ¾Æ¾ß Çϴµ¥ ......
cd /root
1 config etc initrd lib32 lost+found opt root sbin tmp var volume1 volume3 volume6
bin dev etc.defaults lib lib64 mnt proc run sys usr var.defaults volume2 volume4
suik@DS3615sx:/$ sudo -i
root@DS3615sx:~# ls
root@DS3615sx:~#
¿ª½Ã ¾ÈµÊ......
pwd ÀÔ·ÂÇؼ °æ·Î È®ÀÎÇϼ¼¿ä.
±»ÀÌ µé¾î°¡·Á¸é cd /root °°ÀÌ Àý´ë°æ·Î ÀÔ·ÂÇØÁÖ¸é µË´Ï´Ù.
·Î °¡°í ½ÍÀºµ¥ cd root Çϸé
-ash: cd: root: No such file or directory
¶ó°í ¸Þ¼¼Áö Ãâ·Â µÇ¿ä µð·ºÅ丮 À̵¿ ¾ÈµÇ¾î ¹®ÀÇ µå¸°°Í ÀÔ´Ï´Ù.
/root°¡ root¿Í ´Ù¸¥ Æú´õ°¡ ¾Æ´Ï¶ó, /(ÃÖ»óÀ§) ¾Æ·¡¿¡ ÀÖ´Â root Æú´õ¸¦ ¸»Çϴ°ſ¡¿ä
/ = C:\. /root = C:\root
root ·Î±×ÀÎ ÈÄ ¹Ù·Î cd root¸¦ ÀÔ·ÂÇϸé, C:\root\root¸¦ ãÀ¸½Ã´Â°Ì´Ï´Ù.
Ãß°¡ ÀÛ¾÷À» ÇØ¾ß ÇÕ´Ï´Ù.