/l3/users/10-09-2007/nt-bsdnet/fbsd3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 |
|
#make install
===> Compressing manual pages for p5-HTML-Tagset-3.10 ===> Registering installation for p5-HTML-Tagset-3.10 ===> Returning to build of p5-HTML-Parser-3.55 ===> p5-HTML-Parser-3.55 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/URI.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.8/URI.pm in /usr/ports/net/p5-URI ===> Vulnerability check disabled, database not found => URI-1.35.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/URI/. URI-1.35.tar.gz 100% of 93 kB 15 kBps ===> Extracting for p5-URI-1.35 => MD5 Checksum OK for URI-1.35.tar.gz. |
#cd /usr/ports/mail/mai
mail-notification/ maildirsync/ mailman/ mailscanner-mrtg/ mail2procmailrc/ maildrop/ mailmgr/ mailsync/ mail2sms/ mailfmt/ mailrep/ mailx/ mailagent/ mailfront/ mailscanner/ mairix/ mailcrypt/ mailgraph/ mailscanner-devel/ |
#cd /usr/ports/mail/mai
mail-notification/ maildirsync/ mailman/ mailscanner-mrtg/ mail2procmailrc/ maildrop/ mailmgr/ mailsync/ mail2sms/ mailfmt/ mailrep/ mailx/ mailagent/ mailfront/ mailscanner/ mairix/ mailcrypt/ mailgraph/ mailscanner-devel/ |
#cd /usr/ports/mail/mimedefang/
|
#cd /usr/ports/mail/mimedefang/
|
#make install
Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::libnetFAQ.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Domain.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Cmd.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::FTP.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Netrc.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::NNTP.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Time.3 Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Net/.packlist ===> Compressing manual pages for p5-Net-1.19,1 ===> Registering installation for p5-Net-1.19,1 ^C |
#make install
Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::libnetFAQ.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Domain.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Cmd.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::FTP.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Netrc.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::NNTP.3 Installing /usr/local/lib/perl5/5.8.8/man/man3/Net::Time.3 Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Net/.packlist ===> Compressing manual pages for p5-Net-1.19,1 ===> Registering installation for p5-Net-1.19,1 ^C |
#make install
SSLeay.c: In function `XS_Net__SSLeay_CTX_new_with_method': SSLeay.c:1870: warning: cast to pointer from integer of different size SSLeay.c:1876: warning: cast from pointer to integer of different size SSLeay.c: In function `XS_Net__SSLeay_CTX_free': SSLeay.c:1889: warning: cast to pointer from integer of different size SSLeay.c: In function `XS_Net__SSLeay_CTX_add_session': SSLeay.c:1904: warning: cast to pointer from integer of different size SSLeay.c:1905: warning: cast to pointer from integer of different size SSLeay.c: In function `XS_Net__SSLeay_CTX_remove_session': SSLeay.c:1923: warning: cast to pointer from integer of different size SSLeay.c:1924: warning: cast to pointer from integer of different size |
#make install
SSLeay.c: In function `XS_Net__SSLeay_CTX_new_with_method': SSLeay.c:1870: warning: cast to pointer from integer of different size SSLeay.c:1876: warning: cast from pointer to integer of different size SSLeay.c: In function `XS_Net__SSLeay_CTX_free': SSLeay.c:1889: warning: cast to pointer from integer of different size SSLeay.c: In function `XS_Net__SSLeay_CTX_add_session': SSLeay.c:1904: warning: cast to pointer from integer of different size SSLeay.c:1905: warning: cast to pointer from integer of different size SSLeay.c: In function `XS_Net__SSLeay_CTX_remove_session': SSLeay.c:1923: warning: cast to pointer from integer of different size SSLeay.c:1924: warning: cast to pointer from integer of different size |
#make install
checking whether libmilter must be linked with libsm... no configure: creating ./config.status config.status: creating Makefile config.status: creating mimedefang.pl config.status: creating examples/init-script config.status: creating mimedefang-filter.5 config.status: creating mimedefang-multiplexor.8 config.status: creating mimedefang-protocol.7 config.status: creating mimedefang-notify.7 config.status: creating mimedefang.8 ... This port has installed the following startup scripts, which may cause these network services to be started at boot time. /usr/local/etc/rc.d/mimedefang.sh-dist If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.mimedefang.org/ |
#make install
checking whether libmilter must be linked with libsm... no configure: creating ./config.status config.status: creating Makefile config.status: creating mimedefang.pl config.status: creating examples/init-script config.status: creating mimedefang-filter.5 config.status: creating mimedefang-multiplexor.8 config.status: creating mimedefang-protocol.7 config.status: creating mimedefang-notify.7 config.status: creating mimedefang.8 ... This port has installed the following startup scripts, which may cause these network services to be started at boot time. /usr/local/etc/rc.d/mimedefang.sh-dist If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.mimedefang.org/ |
#vim /usr/local/etc/clamd.conf
|
#vim /usr/local/etc/clamd.conf
|
#ll
total 18 -rw-r--r-- 1 root wheel 2440 Aug 16 2006 Makefile -rw-r--r-- 1 root wheel 202 Aug 16 2006 distinfo drwxr-xr-x 2 root wheel 512 Sep 7 14:23 files -rw-r--r-- 1 root wheel 842 Apr 28 2003 pkg-descr -rw-r--r-- 1 root wheel 678 Dec 23 2004 pkg-install -rw-r--r-- 1 root wheel 628 Oct 26 2002 pkg-message -rw-r--r-- 1 root wheel 1145 Feb 23 2006 pkg-plist drwxr-xr-x 3 root wheel 512 Sep 14 11:25 work |
#ll /var/log/clamav/
total 2 -rw-r----- 1 clamav clamav 877 Sep 14 11:01 freshclam.log |
#chown mailnull -R /var/run/clamav/
chown: -R: No such file or directory |
#chown mailnull /var/run/clamav/
|
#chown mailnull /var/run/clamav/
|
#chown mailnull /var/run/clamav/
|
#chown mailnull /var/log/clamav/
|
#chown mailnull /var/log/clamav/
|
#chown mailnull /var/log/clamav/
|
#chown mailnull /var/log/clamav/freshclam.log
|
#chown mailnull /var/log/clamav/freshclam.log
|
#/usr/local/etc/rc.d/clamav-
clamav-clamd clamav-freshclam clamav-milter |
#/usr/local/etc/rc.d/clamav-
clamav-clamd clamav-freshclam clamav-milter |
#/usr/local/etc/rc.d/clamav-clamd start
Starting clamav_clamd. LibClamAV Warning: ******************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html *** LibClamAV Warning: ******************************************************** LibClamAV Warning: ******************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html *** LibClamAV Warning: ******************************************************** LibClamAV Warning: Signature for Trojan.Small-3108 requires new ClamAV version. Please update! ... LibClamAV Warning: Signature for Trojan.Small-3204 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Crypted-4 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-75 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3358 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-89 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Zlob-203 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3658 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3663 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-93 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Downloader-13402 requires new ClamAV version. Please update! |
#/usr/local/etc/rc.d/clamav-clamd start
Starting clamav_clamd. LibClamAV Warning: ******************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html *** LibClamAV Warning: ******************************************************** LibClamAV Warning: ******************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html *** LibClamAV Warning: ******************************************************** LibClamAV Warning: Signature for Trojan.Small-3108 requires new ClamAV version. Please update! ... LibClamAV Warning: Signature for Trojan.Small-3204 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Crypted-4 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-75 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3358 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-89 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Zlob-203 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3658 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3663 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-93 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Downloader-13402 requires new ClamAV version. Please update! |
#/usr/local/etc/rc.d/clamav-clamd start
Starting clamav_clamd. LibClamAV Warning: ******************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html *** LibClamAV Warning: ******************************************************** LibClamAV Warning: ******************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html *** LibClamAV Warning: ******************************************************** LibClamAV Warning: Signature for Trojan.Small-3108 requires new ClamAV version. Please update! ... LibClamAV Warning: Signature for Trojan.Small-3204 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Crypted-4 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-75 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3358 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-89 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Zlob-203 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3658 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Small-3663 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Packed-93 requires new ClamAV version. Please update! LibClamAV Warning: Signature for Trojan.Downloader-13402 requires new ClamAV version. Please update! |
#vim /etc/rc.conf
34a35 > clamav_freshclam_flags="-umailnull --deamon-notify=/usr/local/etc/clamd.conf" |
#vim /etc/rc.conf
34a35 > clamav_freshclam_flags="-umailnull --deamon-notify=/usr/local/etc/clamd.conf" |
#vim /etc/rc.conf
34a35 > clamav_freshclam_flags="-umailnull --deamon-notify=/usr/local/etc/clamd.conf" |
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger. |
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger. |
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger. |
#ll /var/log/clamav/freshclam.log
-rw-r----- 1 mailnull clamav 877 Sep 14 11:01 /var/log/clamav/freshclam.log |
#ll /var/log/clamav/freshclam.log
-rw-r----- 1 mailnull clamav 877 Sep 14 11:01 /var/log/clamav/freshclam.log |
#ll /var/log/clamav/freshclam.log
-rw-r----- 1 mailnull clamav 877 Sep 14 11:01 /var/log/clamav/freshclam.log |
#ll /var/log/clamav/freshclam.log
-rw-r----- 1 mailnull clamav 877 Sep 14 11:01 /var/log/clamav/freshclam.log |
#ll /var/log/clamav/
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll /var/log/clamav/
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll /var/log/clamav
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll /var/log/clamav
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll /var/log/clamav/
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll /var/log/clamav/
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll -dar/log/clamav/
drwxr-xr-x 2 mailnull clamav 512 Sep 14 11:29 /var/log/clamav/ |
#ll -dar/log/clamav/
drwxr-xr-x 2 mailnull clamav 512 Sep 14 11:29 /var/log/clamav/ |
#cd /var/log/clamav/
|
#cd /var/log/clamav/
|
#ll
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#less freshclam.log
|
#less freshclam.log
|
#ll
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#ll
total 4 -rw-r----- 1 root clamav 707 Sep 14 11:29 clamd.log -rw-r----- 1 mailnull clamav 877 Sep 14 11:01 freshclam.log |
#su - maiilnull
su: unknown login: maiilnull |
#su - maiilnull
su: unknown login: maiilnull |
#su - maiilnull
su: unknown login: maiilnull |
#su - mailull
This account is currently not available. |
#su - mailull
This account is currently not available. |
#su - mailull
This account is currently not available. |
#less /etc/pa
|
#less /etc/pa
|
#less /etc/passwd|grep mail
smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin cyrus:*:60:60:the cyrus mail server:/nonexistent:/usr/sbin/nologin |
#less /etc/passwd|grep mail
smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin cyrus:*:60:60:the cyrus mail server:/nonexistent:/usr/sbin/nologin |
#su - mailnull
This account is currently not available. |
#su - mailnull
This account is currently not available. |
#freshclam -u mailnull
ClamAV update process started at Fri Sep 14 11:35:56 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.5 Recommended version: 0.91.2 DON'T PANIC! Read http://www.clamav.net/faq.html main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 20 DON'T PANIC! Read http://www.clamav.net/faq.html ERROR: Can't create new file ./clamav-850f5cb36ae91578 in /var/db/clamav ERROR: The database directory must be writable for UID 26 or GID 26 ERROR: Can't download daily.cvd from database.clamav.net (IP: 62.133.206.90) |
#freshclam -u mailnull
ClamAV update process started at Fri Sep 14 11:35:56 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.5 Recommended version: 0.91.2 DON'T PANIC! Read http://www.clamav.net/faq.html main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 20 DON'T PANIC! Read http://www.clamav.net/faq.html ERROR: Can't create new file ./clamav-850f5cb36ae91578 in /var/db/clamav ERROR: The database directory must be writable for UID 26 or GID 26 ERROR: Can't download daily.cvd from database.clamav.net (IP: 62.133.206.90) |
#freshclam -u mailnull
ClamAV update process started at Fri Sep 14 11:35:56 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.5 Recommended version: 0.91.2 DON'T PANIC! Read http://www.clamav.net/faq.html main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 20 DON'T PANIC! Read http://www.clamav.net/faq.html ERROR: Can't create new file ./clamav-850f5cb36ae91578 in /var/db/clamav ERROR: The database directory must be writable for UID 26 or GID 26 ERROR: Can't download daily.cvd from database.clamav.net (IP: 62.133.206.90) |
#chown mailnull /var/db/clamav/
|
#chown mailnull /var/db/clamav/
|
#chown mailnull /var/db/clamav/
|
#chown mailnull /var/db/clamav/*
|
#chown mailnull /var/db/clamav/*
|
#chown mailnull /var/db/clamav/*
|
#freshclam -u mailnull
ClamAV update process started at Fri Sep 14 11:36:29 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.5 Recommended version: 0.91.2 DON'T PANIC! Read http://www.clamav.net/faq.html main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 20 DON'T PANIC! Read http://www.clamav.net/faq.html Downloading daily.cvd [*] daily.cvd updated (version: 4271, sigs: 19600, f-level: 21, builder: ccordes) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 21 DON'T PANIC! Read http://www.clamav.net/faq.html Database updated (152763 signatures) from database.clamav.net (IP: 212.7.0.71) Clamd successfully notified about the update. |
#freshclam -u mailnull
ClamAV update process started at Fri Sep 14 11:36:29 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.5 Recommended version: 0.91.2 DON'T PANIC! Read http://www.clamav.net/faq.html main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 20 DON'T PANIC! Read http://www.clamav.net/faq.html Downloading daily.cvd [*] daily.cvd updated (version: 4271, sigs: 19600, f-level: 21, builder: ccordes) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 21 DON'T PANIC! Read http://www.clamav.net/faq.html Database updated (152763 signatures) from database.clamav.net (IP: 212.7.0.71) Clamd successfully notified about the update. |
#freshclam -u mailnull
ClamAV update process started at Fri Sep 14 11:36:29 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.5 Recommended version: 0.91.2 DON'T PANIC! Read http://www.clamav.net/faq.html main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 20 DON'T PANIC! Read http://www.clamav.net/faq.html Downloading daily.cvd [*] daily.cvd updated (version: 4271, sigs: 19600, f-level: 21, builder: ccordes) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 9, recommended = 21 DON'T PANIC! Read http://www.clamav.net/faq.html Database updated (152763 signatures) from database.clamav.net (IP: 212.7.0.71) Clamd successfully notified about the update. |
#vim /usr/local/etc/mimedefang/mimedefang-filter
|
#vim /usr/local/etc/mimedefang/mimedefang-filter
|
#pkg_info -Lx defang
Information for mimedefang-2.57: Files: /usr/local/man/man5/mimedefang-filter.5.gz /usr/local/man/man7/mimedefang-notify.7.gz /usr/local/man/man7/mimedefang-protocol.7.gz /usr/local/man/man8/mimedefang.8.gz /usr/local/man/man8/mimedefang.pl.8.gz /usr/local/man/man8/mimedefang-multiplexor.8.gz /usr/local/man/man8/md-mx-ctrl.8.gz /usr/local/man/man8/watch-mimedefang.8.gz ... /usr/local/share/doc/mimedefang/README.SPAMASSASSIN /usr/local/share/doc/mimedefang/README.SOPHIE /usr/local/share/doc/mimedefang/README.NONROOT /usr/local/share/doc/mimedefang/README.SECURITY /usr/local/share/doc/mimedefang/README.TRU64 /usr/local/share/doc/mimedefang/README.IRIX /usr/local/share/doc/mimedefang/README.VEXIRA /usr/local/share/examples/mimedefang/suggested-minimum-filter-for-windows-clients /usr/local/share/examples/mimedefang/stream-by-domain-filter /usr/local/share/examples/mimedefang/README |
#pkg_info -Lx defang
Information for mimedefang-2.57: Files: /usr/local/man/man5/mimedefang-filter.5.gz /usr/local/man/man7/mimedefang-notify.7.gz /usr/local/man/man7/mimedefang-protocol.7.gz /usr/local/man/man8/mimedefang.8.gz /usr/local/man/man8/mimedefang.pl.8.gz /usr/local/man/man8/mimedefang-multiplexor.8.gz /usr/local/man/man8/md-mx-ctrl.8.gz /usr/local/man/man8/watch-mimedefang.8.gz ... /usr/local/share/doc/mimedefang/README.SPAMASSASSIN /usr/local/share/doc/mimedefang/README.SOPHIE /usr/local/share/doc/mimedefang/README.NONROOT /usr/local/share/doc/mimedefang/README.SECURITY /usr/local/share/doc/mimedefang/README.TRU64 /usr/local/share/doc/mimedefang/README.IRIX /usr/local/share/doc/mimedefang/README.VEXIRA /usr/local/share/examples/mimedefang/suggested-minimum-filter-for-windows-clients /usr/local/share/examples/mimedefang/stream-by-domain-filter /usr/local/share/examples/mimedefang/README |
#pkg_info -Lx defang
Information for mimedefang-2.57: Files: /usr/local/man/man5/mimedefang-filter.5.gz /usr/local/man/man7/mimedefang-notify.7.gz /usr/local/man/man7/mimedefang-protocol.7.gz /usr/local/man/man8/mimedefang.8.gz /usr/local/man/man8/mimedefang.pl.8.gz /usr/local/man/man8/mimedefang-multiplexor.8.gz /usr/local/man/man8/md-mx-ctrl.8.gz /usr/local/man/man8/watch-mimedefang.8.gz ... /usr/local/share/doc/mimedefang/README.SPAMASSASSIN /usr/local/share/doc/mimedefang/README.SOPHIE /usr/local/share/doc/mimedefang/README.NONROOT /usr/local/share/doc/mimedefang/README.SECURITY /usr/local/share/doc/mimedefang/README.TRU64 /usr/local/share/doc/mimedefang/README.IRIX /usr/local/share/doc/mimedefang/README.VEXIRA /usr/local/share/examples/mimedefang/suggested-minimum-filter-for-windows-clients /usr/local/share/examples/mimedefang/stream-by-domain-filter /usr/local/share/examples/mimedefang/README |
#pkg_info -Lx defang|grep / |while read; amd $file /dev/nul
> / > ; bash: syntax error near unexpected token `;' |
#pkg_info -Lx defang|grep / |while read;
|
#pkg_info -Lx defang|grep / |while read; amd $file /dev/nul
> / > ; bash: syntax error near unexpected token `;' |
#pkg_info -Lx defang|grep / |while read;
|
#pkg_info -Lx defang|grep / |while read file;
le /dev/null donefang|grep / |while read file; do grep /var/run/clamav/clamd $fil > ; bash: syntax error near unexpected token `;' |
#pkg_info -Lx defang|grep / |while read file;
le /dev/null donefang|grep / |while read file; do grep /var/run/clamav/clamd $fil > ; bash: syntax error near unexpected token `;' |
#pkg_info -Lx defang|grep / |while read file;
le /dev/null donefang|grep / |while read file; do grep /var/run/clamav/clamd $fil > ; bash: syntax error near unexpected token `;' |
#ls -l /var/run/clamav/
total 2 srwxrwxrwx 1 mailnull clamav 0 Sep 14 11:29 clamd -rw-rw---- 1 mailnull clamav 5 Sep 14 11:29 clamd.pid |
#ls -l /var/run/clamav/
total 2 srwxrwxrwx 1 mailnull clamav 0 Sep 14 11:29 clamd -rw-rw---- 1 mailnull clamav 5 Sep 14 11:29 clamd.pid |
#vim /etc/mail
|
#vim /etc/mail
|
#vim /etc/mail
|
#vim /etc/mail
|
#vim /etc/mail
|
#vim /etc/mail
|
#vim /etc/mail/
|
#vim /etc/mail/host1.taras.unix.nt.mc
86c86,87 < DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') --- > dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') > MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T;E:10m')dnl |
Время первой команды журнала | 10:49:49 2007- 9-14 | |||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:43:47 2007- 9-14 | |||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 21.78 | |||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.90 | |||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.87 | |||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008