/l3/users/16-10-2018/NT-Ladm/debian3.net.nt/root :1 :2 :3 :4 :5 |
|
#cd /etc/cron.daily/
![]() |
#ls
![]() apt aptitude bsdmainutils dpkg exim4-base locate logrotate man-db passwd |
#cat logrotate
![]() #!/bin/sh test -x /usr/sbin/logrotate || exit 0 /usr/sbin/logrotate /etc/logrotate.conf |
#cat logrotate
#!/bin/sh test -x /usr/sbin/logrotate || exit 0 /usr/sbin/logrotate /etc/logrotate.conf |
#apt-get install samba
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbus libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbus-1-3 libfile-copy-recursive-perl libldap-2.4-2 libsasl2-2 libsasl2-modules libsystemd-login0 libtalloc2 libtdb1 libwbclient0 samba-common samba-common-bin tdb-tools update-inetd Suggested packages: dbus-x11 cups-common libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb ... Fetched 649 kB in 0s (1,182 kB/s) Failed to fetch http://ftp.ua.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.31-1+nmu2_amd64.deb 404 Not Found Failed to fetch http://security.debian.org/pool/updates/main/d/dbus/libdbus-1-3_1.6.8-1+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/c/cups/libcups2_1.5.3-5+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/libwbclient0_3.6.6-6+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/samba-common_3.6.6-6+deb7u4_all.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/samba_3.6.6-6+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/samba-common-bin_3.6.6-6+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/d/dbus/dbus_1.6.8-1+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? |
#apt-get install samba
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbus libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbus-1-3 libfile-copy-recursive-perl libldap-2.4-2 libsasl2-2 libsasl2-modules libsystemd-login0 libtalloc2 libtdb1 libwbclient0 samba-common samba-common-bin tdb-tools update-inetd Suggested packages: dbus-x11 cups-common libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb ... Fetched 649 kB in 0s (1,182 kB/s) Failed to fetch http://ftp.ua.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.31-1+nmu2_amd64.deb 404 Not Found Failed to fetch http://security.debian.org/pool/updates/main/d/dbus/libdbus-1-3_1.6.8-1+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/c/cups/libcups2_1.5.3-5+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/libwbclient0_3.6.6-6+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/samba-common_3.6.6-6+deb7u4_all.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/samba_3.6.6-6+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/s/samba/samba-common-bin_3.6.6-6+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] Failed to fetch http://security.debian.org/pool/updates/main/d/dbus/dbus_1.6.8-1+deb7u4_amd64.deb 404 Not Found [IP: 217.196.149.233 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? |
#apt-get update
![]() Get:1 http://ftp.ua.debian.org wheezy Release.gpg [2,373 B] Get:2 http://ftp.ua.debian.org wheezy-updates Release.gpg [1,601 B] Get:3 http://ftp.ua.debian.org wheezy Release [191 kB] Get:4 http://security.debian.org wheezy/updates Release.gpg [1,601 B] Get:5 http://security.debian.org wheezy/updates Release [52.3 kB] Get:6 http://ftp.ua.debian.org wheezy-updates Release [155 kB] Get:7 http://ftp.ua.debian.org wheezy/main Sources [5,993 kB] Get:8 http://security.debian.org wheezy/updates/main Sources [354 kB] Get:9 http://security.debian.org wheezy/updates/contrib Sources [14 B] Get:10 http://security.debian.org wheezy/updates/non-free Sources [1,372 B] ... Get:36 http://ftp.ua.debian.org wheezy-updates/main Translation-en [4,879 B] Get:37 http://ftp.ua.debian.org wheezy-updates/non-free Translation-en [496 B] Fetched 17.8 MB in 15s (1,141 kB/s) Reading package lists... Done W: There is no public key available for the following key IDs: 7638D0442B90D010 W: There is no public key available for the following key IDs: 7638D0442B90D010 W: There is no public key available for the following key IDs: 9D6D8F6BC857C906 |
#apt-get update
Get:1 http://ftp.ua.debian.org wheezy Release.gpg [2,373 B] Get:2 http://ftp.ua.debian.org wheezy-updates Release.gpg [1,601 B] Get:3 http://ftp.ua.debian.org wheezy Release [191 kB] Get:4 http://security.debian.org wheezy/updates Release.gpg [1,601 B] Get:5 http://security.debian.org wheezy/updates Release [52.3 kB] Get:6 http://ftp.ua.debian.org wheezy-updates Release [155 kB] Get:7 http://ftp.ua.debian.org wheezy/main Sources [5,993 kB] Get:8 http://security.debian.org wheezy/updates/main Sources [354 kB] Get:9 http://security.debian.org wheezy/updates/contrib Sources [14 B] Get:10 http://security.debian.org wheezy/updates/non-free Sources [1,372 B] ... Get:36 http://ftp.ua.debian.org wheezy-updates/main Translation-en [4,879 B] Get:37 http://ftp.ua.debian.org wheezy-updates/non-free Translation-en [496 B] Fetched 17.8 MB in 15s (1,141 kB/s) Reading package lists... Done W: There is no public key available for the following key IDs: 7638D0442B90D010 W: There is no public key available for the following key IDs: 7638D0442B90D010 W: There is no public key available for the following key IDs: 9D6D8F6BC857C906 |
#apt-get install samba
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbus libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbus-1-3 libfile-copy-recursive-perl libldap-2.4-2 libsasl2-2 libsasl2-modules libsystemd-login0 libtalloc2 libtdb1 libwbclient0 samba-common samba-common-bin tdb-tools update-inetd Suggested packages: dbus-x11 cups-common libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb ... Setting up samba-common-bin (2:3.6.6-6+deb7u16) ... update-alternatives: using /usr/bin/nmblookup.samba3 to provide /usr/bin/nmblookup (nmblookup) in auto mode update-alternatives: using /usr/bin/net.samba3 to provide /usr/bin/net (net) in auto mode update-alternatives: using /usr/bin/testparm.samba3 to provide /usr/bin/testparm (testparm) in auto mode Setting up libsystemd-login0:amd64 (44-11+deb7u5) ... Setting up dbus (1.6.8-1+deb7u6) ... [ ok ] Starting system message bus: dbus. Setting up libsasl2-modules:amd64 (2.1.25.dfsg1-6+deb7u1) ... Setting up tdb-tools (1.2.10-2) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode |
#apt-get install samba
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbus libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbus-1-3 libfile-copy-recursive-perl libldap-2.4-2 libsasl2-2 libsasl2-modules libsystemd-login0 libtalloc2 libtdb1 libwbclient0 samba-common samba-common-bin tdb-tools update-inetd Suggested packages: dbus-x11 cups-common libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb ... Setting up samba-common-bin (2:3.6.6-6+deb7u16) ... update-alternatives: using /usr/bin/nmblookup.samba3 to provide /usr/bin/nmblookup (nmblookup) in auto mode update-alternatives: using /usr/bin/net.samba3 to provide /usr/bin/net (net) in auto mode update-alternatives: using /usr/bin/testparm.samba3 to provide /usr/bin/testparm (testparm) in auto mode Setting up libsystemd-login0:amd64 (44-11+deb7u5) ... Setting up dbus (1.6.8-1+deb7u6) ... [ ok ] Starting system message bus: dbus. Setting up libsasl2-modules:amd64 (2.1.25.dfsg1-6+deb7u1) ... Setting up tdb-tools (1.2.10-2) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode |
#cat samba
![]() /var/log/samba/log.smbd { weekly missingok rotate 7 postrotate /etc/init.d/samba reload > /dev/null endscript compress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid` endscript compress notifempty } |
#cat samba
/var/log/samba/log.smbd { weekly missingok rotate 7 postrotate /etc/init.d/samba reload > /dev/null endscript compress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid` endscript compress notifempty } |
#apt-get install logwatch
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libdate-manip-perl libyaml-syck-perl Suggested packages: fortune-mod The following NEW packages will be installed: libdate-manip-perl libyaml-syck-perl logwatch 0 upgraded, 3 newly installed, 0 to remove and 99 not upgraded. ... (Reading database ... 29294 files and directories currently installed.) Unpacking libyaml-syck-perl (from .../libyaml-syck-perl_1.20-1_amd64.deb) ... Selecting previously unselected package libdate-manip-perl. Unpacking libdate-manip-perl (from .../libdate-manip-perl_6.32-1_all.deb) ... Selecting previously unselected package logwatch. Unpacking logwatch (from .../logwatch_7.4.0+svn20120502rev103-1_all.deb) ... Processing triggers for man-db ... Setting up libyaml-syck-perl (1.20-1) ... Setting up libdate-manip-perl (6.32-1) ... Setting up logwatch (7.4.0+svn20120502rev103-1) ... |
#apt-get install logwatch
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libdate-manip-perl libyaml-syck-perl Suggested packages: fortune-mod The following NEW packages will be installed: libdate-manip-perl libyaml-syck-perl logwatch 0 upgraded, 3 newly installed, 0 to remove and 99 not upgraded. ... (Reading database ... 29294 files and directories currently installed.) Unpacking libyaml-syck-perl (from .../libyaml-syck-perl_1.20-1_amd64.deb) ... Selecting previously unselected package libdate-manip-perl. Unpacking libdate-manip-perl (from .../libdate-manip-perl_6.32-1_all.deb) ... Selecting previously unselected package logwatch. Unpacking logwatch (from .../logwatch_7.4.0+svn20120502rev103-1_all.deb) ... Processing triggers for man-db ... Setting up libyaml-syck-perl (1.20-1) ... Setting up libdate-manip-perl (6.32-1) ... Setting up logwatch (7.4.0+svn20120502rev103-1) ... |