它不属于任何人,我想知道这是否可以解释我在关闭时遇到的困难。
drwxr-xr-x 2 root root 4.0K Nov 28 09:59 bin
drwxr-xr-x 4 root root 4.0K Jan 16 08:28 boot
drwxr-xr-x 2 root root 4.0K Mar 31 2012 cdrom
drwxr-xr-x 15 root root 4.4K Jan 16 13:23 dev
drwxr-xr-x 175 root root 12K Jan 16 13:24 etc
drwxr-xr-x 6 root root 4.0K May 22 2012 home
lrwxrwxrwx 1 root root 37 Jan 13 12:34 initrd.img -> /boot/initrd.img-3.2.0-35-generic-pae
lrwxrwxrwx 1 root root 37 Oct 15 19:01 initrd.img.old -> /boot/initrd.img-3.2.0-32-generic-pae
drwxr-xr-x 25 root root 4.0K Jan 16 08:25 lib
drwx------ 2 root root 16K Mar 31 2012 lost+found
drwxr-xr-x 6 root root 4.0K Jan 16 13:17 media
drwxr-xr-x 2 root root 4.0K Jan 27 2012 mnt
drwxr-xr-x 2 nobody root 4.0K Oct 22 17:53 nonexistent
drwxr-xr-x 34 root root 4.0K Nov 5 19:09 opt
dr-xr-xr-x 222 root root 0 Jan 16 13:21 proc
drwx------ 20 root root 4.0K Jan 14 23:26 root
drwxr-xr-x 28 root root 980 Jan 16 13:22 run
drwxr-xr-x 2 root root 12K Jan 15 18:42 sbin
drwxr-xr-x 2 root root 4.0K Mar 5 2012 selinux
drwxr-xr-x 2 root root 4.0K Mar 28 2012 srv
drwxr-xr-x 13 root root 0 Jan 16 13:21 sys
drwxrwxrwt 13 root root 4.0K Jan 16 13:33 tmp
drwxr-xr-x 12 root root 4.0K Oct 26 22:36 usr
drwxr-xr-x 14 root root 4.0K Jan 16 13:21 var
lrwxrwxrwx 1 root root 33 Jan 13 12:34 vmlinuz -> boot/vmlinuz-3.2.0-35-generic-pae
lrwxrwxrwx 1 root root 33 Oct 15 19:01 vmlinuz.old -> boot/vmlinuz-3.2.0-32-generic-pae
按照要求
jarlath@jarlath-EP35-DS3:~$ ls -la /nonexistent/
total 8
drwxr-xr-x 2 nobody root 4096 Oct 22 17:53 .
drwxr-xr-x 25 root root 4096 Jan 13 12:34 ..
答案1
您可以在这里阅读有关 nobody 用户名的更多信息: http://en.wikipedia.org/wiki/Nobody_%28username%29
当有人尝试使用 nobody 用户名时,会创建文件夹 nonexistent。它类似于 /home/nobody/ 目录 - 但显然它通常不应该存在。值得检查该目录中有哪些文件,以查看特定服务是否存在问题。例如,Spamassassin 或 sshd 都使用 nobody 用户名。