Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. Connecting the World - Wang Yubo, Home - [root@bsdbox:~ ]# uname -a FreeBSD bsdbox 6.0-STABLE FreeBSD 6.0-STABLE #2: Thu Nov 3 18:06:34 CST 2005 root@DHCLIENT:/usr/src/sys/i386/compile/BSDBOX i386 [root@bsdbox:~ ]# vmstat procs memory page disk faults cpu r b w avm fre flt re pi po fr sr ad0 in sy cs us sy id 0 0 0 55040 1528 60 0 2 0 39 0 0 1270 243 377 1 17 82 [root@bsdbox:~ ]# df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0 7726 6244 1482 81% 112 142 44% / devfs 1 1 0 100% 0 0 100% /dev procfs 4 4 0 100% 1 0 100% /proc [root@bsdbox:~ ]# passwd Changing local password for root New Password: Retype New Password: [root@bsdbox:~ ]# update Updating /etc and /root contents ... Done. [root@bsdbox:~ ]# ll / total 23 drwxrwxr-x 2 root operator 512 Nov 3 22:05 .snap lrwxr-xr-x 1 root wheel 6 Nov 3 22:05 bin -> /stand dr-xr-xr-x 4 root wheel 512 Jan 1 1970 dev drwxr-xr-x 5 root wheel 1024 Nov 5 01:19 etc lrwxr-xr-x 1 root wheel 6 Nov 3 22:05 lib -> /stand lrwxr-xr-x 1 root wheel 6 Nov 3 22:05 libexec -> /stand drwxr-xr-x 2 root wheel 512 Nov 3 22:05 mnt dr-xr-xr-x 1 root wheel 0 Nov 5 01:19 proc drwxr-xr-x 3 root wheel 512 May 25 16:51 root lrwxr-xr-x 1 root wheel 6 Nov 3 22:05 sbin -> /stand drwxr-xr-x 2 root wheel 3584 Nov 3 22:05 stand drwxr-xr-x 2 root wheel 512 Nov 3 22:05 start_box drwxr-xr-x 2 root wheel 512 Nov 3 22:05 tftpboot drwxr-xr-x 2 root wheel 512 Nov 3 22:05 tmp drwxr-xr-x 4 root wheel 512 Nov 3 22:05 usr drwxr-xr-x 6 root wheel 512 Nov 3 22:05 var [root@bsdbox:~ ]# ls /bin -csh fsck_msdosfs mount_procfs ssh-keygen -sh fsck_ufs mount_std ssh-keyscan [ fstat msdos ssh-keysign ac ftp mtree sshd apply getopt mv stty arp getty natd sync banner grep netstat sysctl basename gzip newfs syslogd bdes halt newfs_msdos systat bsdlabel hd nfs tail bzip2 head nice talk cat hexdump nohup tar cd9660 hostname ns tee chflags id openssl telnet chgrp ifconfig passwd test chmod inetd paste tftp chown init pax time chroot iostat ping top cksum ipfw ppp touch cmp kill pppctl tput col kldconfig pr tr colrm kldload printf traceroute column kldstat procfs trt comm kldunload ps true cp lam pstat tset csh last pwd tty cut ldconfig pwd_mkdb tunefs date ldd reboot umount dd leave renice uname df less restore uniq diff limits rev unvis dirname ln rm users disklabel lock rmdir uudecode dmesg lockf route uuencode du login rs vi dump logname scp vipw dumpfs ls script vis echo md5 sed vmstat env mdconfig sftp w expr mdmfs sftp-server wall false mesg sh watch fasthalt mkdir shutdown wc fastreboot mknod sleep who fetch more sockstat whois find mount sort write finger mount_cd9660 split xargs fsck mount_mfs ssh yes fsck_4.2bsd mount_msdosfs ssh-add fsck_ffs mount_nfs ssh-agent [root@bsdbox:~ ]# mount /start_box/ [root@bsdbox:~ ]# df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0 7726 6244 1482 81% 112 142 44% / devfs 1 1 0 100% 0 0 100% /dev procfs 4 4 0 100% 1 0 100% /proc /dev/ad0a 7718 5146 2572 67% 95 159 37% /start_box [root@bsdbox:~ ]# ll -R /start_box/ total 12 drwxrwxr-x 2 root operator 512 Nov 3 22:05 .snap drwxr-xr-x 3 root wheel 512 Nov 3 22:05 boot drwxr-xr-x 2 root wheel 512 May 25 16:51 dev drwxr-xr-x 5 root wheel 1024 Nov 5 01:19 etc drwxr-xr-x 3 root wheel 512 May 25 16:51 root drwxr-xr-x 2 root wheel 512 May 25 16:51 src /start_box/.snap: total 0 /start_box/boot: total 136 drwxr-xr-x 2 root wheel 512 Nov 3 22:05 kernel -rwxr-xr-x 1 root wheel 117510 Nov 3 22:05 loader -r--r--r-- 1 root wheel 14309 Nov 3 14:46 loader.help -rw-r--r-- 1 root wheel 2105 Nov 3 22:05 loader.rc /start_box/boot/kernel: total 4522 -rwxr--r-- 1 root wheel 2 May 25 16:51 kernel.config -rw-r--r-- 1 root wheel 1686961 Nov 3 22:05 kernel.gz -rw-r--r-- 1 root wheel 2828863 Nov 3 22:05 mfs.gz -rw-r--r-- 1 root wheel 64584 May 25 16:51 splash.bmp -r-xr-xr-x 1 root wheel 8136 Nov 3 18:03 splash_bmp.ko /start_box/dev: total 0 /start_box/etc: total 244 -rw-r--r-- 1 root wheel 231 Nov 3 22:05 auth.conf -rw-r--r-- 1 root wheel 242 May 25 16:51 csh.cshrc -rw-r--r-- 1 root wheel 481 May 25 16:51 csh.login -rw-r--r-- 1 root wheel 110 May 25 16:51 csh.logout -rw-r--r-- 1 root wheel 6621 Nov 3 22:05 disktab -rw-r--r-- 1 root wheel 5904 Nov 3 22:05 gettytab -rwxr--r-- 1 root wheel 276 Nov 3 21:44 group -rwxr--r-- 1 root wheel 11 May 25 16:51 host.conf -rwxr--r-- 1 root wheel 379 May 25 16:51 hosts -rwxr--r-- 1 root wheel 5317 May 25 16:51 inetd.conf -r--r--r-- 1 root wheel 165 Nov 3 22:05 localtime -rw-r--r-- 1 root wheel 6802 Nov 3 22:05 login.conf -rw------- 1 root wheel 790 Nov 5 01:19 master.passwd -rwxr--r-- 1 root wheel 143 May 25 16:51 motd -rw-r--r-- 1 root wheel 783 Nov 3 22:05 netconfig -rw-r--r-- 1 root wheel 365 Nov 3 22:05 networks -rw-r--r-- 1 root wheel 113 Nov 3 22:05 nsswitch.conf -rw-r--r-- 1 root wheel 0 Nov 5 01:18 opiekeys drwxr-xr-x 2 root wheel 512 Nov 3 21:54 pam.d drwxr-xr-x 2 root wheel 512 May 25 16:51 ppp -rwxr--r-- 1 root wheel 96 May 25 16:51 profile -rw-r--r-- 1 root wheel 5803 Nov 3 22:05 protocols -rwxr--r-- 1 root wheel 1879 May 25 16:51 rc -rwxr--r-- 1 root wheel 380 Nov 3 21:55 rc.conf -rwxr--r-- 1 root wheel 5237 May 25 16:51 rc.firewall -rwxr--r-- 1 root wheel 2513 May 25 16:51 rc.network -rwxr--r-- 1 root wheel 3414 May 25 16:51 rc.serial -rw-r--r-- 1 root wheel 2387 Nov 3 22:05 remote -rwxr--r-- 1 root wheel 48 May 25 16:51 resolv.conf -rw-r--r-- 1 root wheel 73410 Nov 3 22:05 services -rwxr--r-- 1 root wheel 141 May 25 16:51 shells drwxr-xr-x 2 root wheel 512 Nov 3 21:59 ssh -rw-r--r-- 1 root wheel 69425 Nov 3 22:05 termcap.gz -rw-r--r-- 1 root wheel 7658 Nov 3 22:05 ttys -rwxr--r-- 1 root wheel 471 Nov 2 12:17 update /start_box/etc/pam.d: total 36 -r--r--r-- 1 root wheel 2902 Nov 3 21:54 README -rw-r--r-- 1 root wheel 546 Nov 3 21:54 ftp -rw-r--r-- 1 root wheel 546 Nov 3 21:54 ftpd -rw-r--r-- 1 root wheel 466 Nov 3 21:54 gdm -rw-r--r-- 1 root wheel 324 Nov 3 21:54 imap -rw-r--r-- 1 root wheel 466 Nov 3 21:54 kde -rw-r--r-- 1 root wheel 371 Nov 3 21:54 login -rw-r--r-- 1 root wheel 661 Nov 3 21:54 other -rw-r--r-- 1 root wheel 309 Nov 3 21:54 passwd -rw-r--r-- 1 root wheel 324 Nov 3 21:54 pop3 -rw-r--r-- 1 root wheel 405 Nov 3 21:54 rexecd -rw-r--r-- 1 root wheel 325 Nov 3 21:54 rsh -rw-r--r-- 1 root wheel 738 Nov 3 21:54 sshd -rw-r--r-- 1 root wheel 370 Nov 3 21:54 su -rw-r--r-- 1 root wheel 695 Nov 3 21:54 system -rw-r--r-- 1 root wheel 753 Nov 3 21:54 telnetd -rw-r--r-- 1 root wheel 518 Nov 3 21:54 xdm /start_box/etc/ppp: total 8 -rwxr--r-- 1 root wheel 240 May 25 16:51 ppp.conf -rwxr--r-- 1 root wheel 159 May 25 16:51 ppp.deny -rwxr--r-- 1 root wheel 159 May 25 16:51 ppp.linkup -rwxr--r-- 1 root wheel 903 May 25 16:51 ppp.secret.sample /start_box/etc/ssh: total 148 -rw-r--r-- 1 root wheel 132839 Nov 3 21:43 moduli -rw-r--r-- 1 root wheel 1411 Nov 3 21:43 ssh_config -rw------- 1 root wheel 668 Nov 3 21:59 ssh_host_dsa_key -rw-r--r-- 1 root wheel 604 Nov 3 21:59 ssh_host_dsa_key.pub -rw------- 1 root wheel 529 Nov 3 21:59 ssh_host_key -rw-r--r-- 1 root wheel 333 Nov 3 21:59 ssh_host_key.pub -rw------- 1 root wheel 883 Nov 3 21:59 ssh_host_rsa_key -rw-r--r-- 1 root wheel 224 Nov 3 21:59 ssh_host_rsa_key.pub -rw-r--r-- 1 root wheel 3042 Nov 3 21:43 sshd_config /start_box/root: total 6 -rwxr-xr-x 1 root wheel 116 May 25 16:51 bell5 drwxr-xr-x 5 root wheel 512 May 25 16:51 more -rwxr-xr-x 1 root wheel 175 May 25 16:51 rc.root /start_box/root/more: total 6 drwxr-xr-x 2 root wheel 512 May 25 16:51 bin drwxr-xr-x 2 root wheel 512 May 25 16:51 lib drwxr-xr-x 2 root wheel 512 May 25 16:51 libexec /start_box/root/more/bin: total 0 /start_box/root/more/lib: total 0 /start_box/root/more/libexec: total 0 /start_box/src: total 26 -rw-r--r-- 1 root wheel 2430 Nov 2 14:38 README -rwxr--r-- 1 root wheel 286 Nov 3 21:52 bsdbox.conf -rw-r--r-- 1 root wheel 355 May 25 16:51 bsdbox.vmdk -rwxr-xr-x 1 root wheel 595 May 25 16:51 build -rwxr--r-- 1 root wheel 2625 Nov 2 12:43 crunch.conf -rwxr-xr-x 1 root wheel 6003 Nov 3 21:51 functions -rwxr--r-- 1 root wheel 2975 Nov 2 12:48 kernel.conf -rwxr--r-- 1 root wheel 691 Nov 3 21:45 mfs.conf [root@bsdbox:~ ]# exit