Re: 2 newb questions

albi_at_scii.nl
Date: 03/23/05

  • Next message: Vladimir V. Khramtsov: "ipfw2"
    Date: Wed, 23 Mar 2005 01:18:44 +0100
    To: goatse@Phreaker.net
    
    

    On Tue, 22 Mar 2005 22:10:24 +0100
    Anon <goatse@Phreaker.net> wrote:

    > Hi im running freebsd 5.3 and I have some questions:
    >
    > 1. how do I log ssh login attempts to a file? say /var/log/auth I have
    > read syslogd man page and I dont get it at all
    >

    i'm using openssh-portable from ports, and it works fine,
    perhaps you need this in sshd_config as default ?

    SyslogFacility AUTH
    LogLevel INFO

    > 2. how do I get some kind of a system that "warns" me when a port is
    > old (there is a new in cvs database), example: I want to get an email
    > when a new version of the port "firefox" comes out

    this is a possible script to use :

    #!/bin/sh
    /usr/local/sbin/portsclean -CD
    /usr/local/bin/cvsup -g -L 2 /root/bin/ports-supfile
    # /usr/local/sbin/portsdb -uU
    # changed this (line above) because making the INDEX takes really long
    cd /usr/ports/
    make fetchindex
    # these last 2 lines needs to be 1 line :
    /usr/local/sbin/portversion -v | /usr/bin/grep needs | /usr/bin/mail -s
    "Ports die niet up to date zijn" your@emailaddress.nu

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Vladimir V. Khramtsov: "ipfw2"

    Relevant Pages

    • Re[2]: 2 newb questions
      ... > Check out freshports.org for the information on ports. ... > everything you want and gives pretty simple instructions. ... >> read syslogd man page and I dont get it at all ... To unsubscribe, ...
      (freebsd-newbies)
    • Re: [6.3] How are those daemons started?
      ... I'll probably turn off Sendmail and Syslogd, ... although this host is already behind a firewall and those ports ...
      (freebsd-questions)
    • How to not start syslogd
      ... I've installed and configured syslog-ng from ports and no longer wish to have the standard syslogd run. ...
      (freebsd-questions)
    • Re: Various package/ports problems
      ... i dont understand what im checking hte manpage to ... Running pkgdb -fu does rebuild the package ... its portupgrade version 2.0.1 (as reported ... all the ports listed, and now pkg_info is working correctly. ...
      (freebsd-questions)
    • Re[3]: interrupt routing
      ... Bad Tyan, no cookie. ... I dont experience any problems with the base system ... The ports collection isnt amd64-ready though. ... (I needed it to install Oracle) ...
      (freebsd-stable)