euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] keyboard strangeness



    Mr OFri Jul 23 08:22:52 PDT 2004

    Why would my PS/2 keyboard suddenly stop working? No response
    from it whatsoever and it was working fine just an hour ago.
    Grab my USB keyboard and I can type away just fine. 
    
    Wait!! Here's the strange one, I just flipped over to a VC and
    back with the USB keyboard and now the PS/2 works fine! I'm
    scratching my head on this one.
    
    Anyone got a clue as to why it would happen? 
    
    
    	
    		
    __________________________________
    Do you Yahoo!?
    Vote for the stars of Yahoo!'s next ad campaign!
    http://advision.webevents.yahoo.com/yahoo/votelifeengine/
    
  • [Eug-lug] Gentoo and TrueType fonts



    Rob HudsonThu Jul 22 21:21:09 PDT 2004

    Can someone share their Gentoo font setup with me?  I chose to install
    xorg-x11 on my new system.  I've installed the bitstream-vera fonts, and
    also the core fonts from Microsoft.  I *think* xorg-x11 comes with xfs,
    but I'm not completely sure.
    
    In KDE, though, when I go to the configuration panel to adjust the
    fonts, I'm only presented with a small few...
        Bitstream Charter
        Courier
        Cursor
        Luxi Mono
        Luxi Sans
        Monospace
        Sans Serif
        Serif
        Utopia
    
    I found various references online.  Some said to comment out all
    FontPaths from the /etc/X11/XF86Config and just have the "unix/:7100"
    font server.  Other show having a truetype path.
    
    Anyone else have a similar setup?
    
    Thanks,
    Rob
    
  • [Eug-lug] Debugging your email for mandrake



    larry priceThu Jul 22 20:02:50 PDT 2004

    Kmail on mandrake 
    receives but won't send
    
    (Alan didn't bring his computer in so we have no idea what his
    computer is actually)
    
    Our diagnosis was that the most likely reason for this is that the
    local MTA is not running.
    
    look for .xsession-errors to see if Kmail is writing errors to a file
    
    test whether your network lets you talk to other mail servers by
    opening a shell and typing
    
    telnet smtp.comcast.net 25
    
    you should get a prompt from comcasts' mailserver.
    
    if this doesn't occur you have other problems; but this seems unlikely.
    
    then try sending mail from the command line.
    
    say:
    mail you at ddress.com
    
    and type a few lines
    
    check to see if it goes through.
    
    if it does then it's not your sendmail it's something else.
    
    if it doesn't go through then go through your configuration
    (DrakeConf) and see what it says about sendmail. You will probably
    need to set it up so that it uses smtp.comcast.net as a smarthost, and
    set it up so that sendmail is started at boot and isn't listening for
    outside connections.
    
    You will probably want to join the euglug at euglug.org list to get more advice.
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Bob MillerThu Jul 22 17:56:19 PDT 2004

    Jason Van Cleve wrote:
    
    > After years of procrastination, I'm now trying to master the Zen of
    > email on linux.  I've been using an MUA to poll my remote (POP) server
    > directly, but now I want to run fetchmail as a daemon and incorporate
    > procmail for filtering somehow.
    > 
    > There's a ton of Web pages on installing/configuring these app's for
    > specific purposes, but none explains the basic relationships between
    > them, which I consider preliminary knowledge.
    
    Try this one.  http://wiki.mutt.org/index.cgi?MailConcept
    
    > Question 1:  How do fetchmail, my local spool file, and procmail all
    > relate?  None of the sample config's I've looked at for fetchmail
    > indicate to where fetchmail fetches, and in what format.  Kinda looks
    > like it only knows how to append emails to a local spool file.  Is that
    > right?  So procmail can split messages into different folders.  Does
    > that occur at some later stage, or can a fetchmail daemon route messages
    > directly to procmail, so that they are there ready for my MUA to read? 
    > If not, it seems like the MUA will have to retrieve them actively, and
    > since they're now on my local machine, I'll need something like postfix
    > running locally to serve them from the spool.  That seems far too
    > complicated for an end user, so I must be confused.
    
    You can configure fetchmail to poll a pop server and write the mail to
    one of several places.  One of those places is into procmail, using
    
    	... mda "/usr/bin/procmail -d %T" ...
    
    in your .fetchmailrc .
    
    You'd then have to set up your .procmailrc to write messages to your
    mailbox, whatever/wherever it is.
    
    
    > Question 2:  Do I need sendmail?  I've heard it's only required if I
    > want cron jobs and such to be able to email things.  Otherwise, I can
    > just use my remote SMTP server, yes?
    
    Not necessarily.  It *is* a good idea to have outgoing mail working on
    all your machines, because various programs will try to send mail when
    they fail.  Cron, for instance.  But you don't need sendmail.  A
    simpler smtp client is fine.  See this page.
    
    http://wiki.mutt.org/index.cgi?LightWeightSmtpClients
    
    
    > Question 3:  I have my saved mail in a strange place, not ~/.mail, or
    > whatever the standard location is.  There's a directory for each mail
    > folder, and each message is a separate file, which I believe is the mbox
    > format, yes?  Will procmail conform to this?
    
    No, that's not the mbox format.  mbox uses one file per folder, with
    messages separated by a "From " line.  If the folder directory has
    three subdirectories called tmp, new and cur, and each message is a
    separate file in one of those directories, then it's Maildir format.
    If each message is in a separate file whose name is a small integer,
    then it's mh format.  Those are the most common.
    
    > Question 4:  After installing fetchmail on Gentoo, I tried running the
    > start script in /etc/init.d, but it couldn't find /etc/fetchmailrc. 
    > What needs to go into that file?  Will it effectively replace my
    > ~/.fetchmailrc file, since I'm running it as root at bootup?  If yes,
    > then I presume the contents would be the same as that dot file in my
    > home.
    
    I think they're the same.  Read the fetchmail man page (RTFM (-: ).
    
    > What I want in general (and maybe should said in the first place) is for
    > some daemon to start at boot time, system-wide, so I could configure it
    > for my email service and then not think about it again.  Ideally, that
    > process would invoke procmail, which would then distribute the mail
    > finally into my mbox directories, just the way I like it (filtering out
    > my spam in the process); and my MUA, Sylpheed claws ("It bites!"),
    > wouldn't have to sort or filter or anything.  Better still, I could run
    > a different MUA against the same files, with minimal configuration.  Am
    > I only dreaming?
    
    No, that's a good way to do it.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Cory PetkovsekThu Jul 22 16:54:20 PDT 2004

    On Thu, Jul 22, 2004 at 04:50:21PM -0700, Jason Van Cleve wrote:
    > There's a ton of Web pages on installing/configuring these app's for
    > specific purposes, but none explains the basic relationships between
    > them, which I consider preliminary knowledge.
    Just read the fetchmail man page.
    
    > Question 1:  How do fetchmail, my local spool file, and procmail all
    > relate?  
    Fetchmail checks mail on the pop server like an MUA.  It then sends that mail
    to your local MTA, like an MTA.  Your local mta then delivers to your local
    spool file or mail dir.  If you've configured the local mta to deliver with
    procmail, then it will check for a .procmailrc filter file before writing the
    email to the final destination.
    
    > Question 2:  Do I need sendmail?  I've heard it's only required if I
    > want cron jobs and such to be able to email things.  Otherwise, I can
    > just use my remote SMTP server, yes?
    Depends on your mua.  With the above setup you'll need an MTA like sendmail or
    postfix.  I recommend postfix.  Your distribution should make it easy to
    install and configure.
    
    > Question 3:  I have my saved mail in a strange place, not ~/.mail, or
    > whatever the standard location is.  There's a directory for each mail
    > folder, and each message is a separate file, which I believe is the mbox
    > format, yes?  Will procmail conform to this?
    Sounds like maildir, which procmail can write to.
    
    
    > Question 4:  After installing fetchmail on Gentoo, I tried running the
    > start script in /etc/init.d, but it couldn't find /etc/fetchmailrc. 
    > What needs to go into that file?  
    This is the system wide fetchmail configuration.  You have to make that
    file according to the man page specifications.  Then it will run like a daemon,
    if that's what you tell it to do.
    
    > Will it effectively replace my
    > ~/.fetchmailrc file, since I'm running it as root at bootup?  If yes,
    > then I presume the contents would be the same as that dot file in my
    > home.
    Yes, pretty close if not identical. 
    
     
    > Am I only dreaming?
    No, set it up as I described.  It will run without maintenance and you'll learn
    something too.
    
    
    > Would that I could find a simple diagram of how these pieces fit
    > together.  But perhaps one of you system admin types could wax eloquent
    > on the matter.
    
      .===========.
      v          ||
    POP3 ---> fetchmail ---> postfix ---> procmail ---> maildir
    inet	  local/root     local/root   local/user    ~/maildir
    
    ---> email flow
    ===> initiated by fetchmail
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jason Van CleveThu Jul 22 16:50:21 PDT 2004

    After years of procrastination, I'm now trying to master the Zen of
    email on linux.  I've been using an MUA to poll my remote (POP) server
    directly, but now I want to run fetchmail as a daemon and incorporate
    procmail for filtering somehow.
    
    There's a ton of Web pages on installing/configuring these app's for
    specific purposes, but none explains the basic relationships between
    them, which I consider preliminary knowledge.
    
    Question 1:  How do fetchmail, my local spool file, and procmail all
    relate?  None of the sample config's I've looked at for fetchmail
    indicate to where fetchmail fetches, and in what format.  Kinda looks
    like it only knows how to append emails to a local spool file.  Is that
    right?  So procmail can split messages into different folders.  Does
    that occur at some later stage, or can a fetchmail daemon route messages
    directly to procmail, so that they are there ready for my MUA to read? 
    If not, it seems like the MUA will have to retrieve them actively, and
    since they're now on my local machine, I'll need something like postfix
    running locally to serve them from the spool.  That seems far too
    complicated for an end user, so I must be confused.
    
    Question 2:  Do I need sendmail?  I've heard it's only required if I
    want cron jobs and such to be able to email things.  Otherwise, I can
    just use my remote SMTP server, yes?
    
    Question 3:  I have my saved mail in a strange place, not ~/.mail, or
    whatever the standard location is.  There's a directory for each mail
    folder, and each message is a separate file, which I believe is the mbox
    format, yes?  Will procmail conform to this?
    
    Question 4:  After installing fetchmail on Gentoo, I tried running the
    start script in /etc/init.d, but it couldn't find /etc/fetchmailrc. 
    What needs to go into that file?  Will it effectively replace my
    ~/.fetchmailrc file, since I'm running it as root at bootup?  If yes,
    then I presume the contents would be the same as that dot file in my
    home.
    
    What I want in general (and maybe should said in the first place) is for
    some daemon to start at boot time, system-wide, so I could configure it
    for my email service and then not think about it again.  Ideally, that
    process would invoke procmail, which would then distribute the mail
    finally into my mbox directories, just the way I like it (filtering out
    my spam in the process); and my MUA, Sylpheed claws ("It bites!"),
    wouldn't have to sort or filter or anything.  Better still, I could run
    a different MUA against the same files, with minimal configuration.  Am
    I only dreaming?
    
    Would that I could find a simple diagram of how these pieces fit
    together.  But perhaps one of you system admin types could wax eloquent
    on the matter.
    
    Merci en avance,
    
    --Jason Van Cleve
    
    --
    What's the difference between ignorance and apathy?  I don't know, and I
    don't care.
    
  • [Eug-lug] Newsletter from O’Reilly UG Program, July 22



    Marsee HenonThu Jul 22 16:49:44 PDT 2004

    ================================================================
    O'Reilly UG Program News--Just for User Group Leaders
    July 22, 2004
    ================================================================
    -Is there a Special Event You Want to Share?
    -Wanted: Slashdot Reviewers
    ----------------------------------------------------------------
    Book Info
    ----------------------------------------------------------------
    ***Review books are available 
    Copies of our books are available for your members to review--
    send me an email and please include the book's ISBN number on 
    your request. Let me know if you need your book by a certain date. 
    Allow at least four weeks for shipping. 
    
    ***Please send copies of your book reviews
    Email me a copy of your newsletters or book reviews.
    For tips and suggestions on writing book reviews, go to:
    http://ug.oreilly.com/bookreviews.html
    
    ***Discount information
    Don't forget to remind your members about our 20% discount on O'Reilly, 
    No Starch, Paraglyph, Pragmatic Bookshelf, and Syngress books and O'Reilly
    conferences. 
    Just use code DSUG.
    
    ***Group purchases with better discounts are available
    Please let me know if you are interested and I can put you in 
    touch with our sales department.
    
    ----------------------------------------------------------------
    General News
    ----------------------------------------------------------------
    ***Is there a Special Event You Want to Share? 
    Make sure you include it on our UG events page.
    You can add and edit your own info anytime.
    http://wiki.oreillynet.com/usergroups/mt-xmlrpc.cgi?UGEvents
    
    ***Wanted: Slashdot Reviewers
    We are looking for folks to submit reviews to Slashdot. We've got some hot
    new books coming out this fall and winter we want to get Slashdotted. Here
    are their guidelines:
    http://slashdot.org/book.review.guidelines.shtml
    
    Here's a list of our upcoming books:
    http://www.oreilly.com/catalog/new.html
    
    ================================================================
    O'Reilly News for User Group Members
    July 22, 2004
    ================================================================
    ----------------------------------------------------------------
    Book News
    ----------------------------------------------------------------
    -Pragmatic Project Automation: How to Build, Deploy, and 
    Monitor Java Apps
    -The Book of Nero 6 Ultra Edition
    -Enterprise JavaBeans, 4th Edition
    -Learning PHP 5
    -Java 1.5 Tiger: A Developer's Notebook
    -Enterprise Service Bus
    -GarageBand: The Missing Manual
    -Mac OS X Panther Hacks
    ----------------------------------------------------------------
    Upcoming Events
    ----------------------------------------------------------------
    -O'Reilly Open Source Convention, Portland, OR--July 26-30
    -Dan Gillmor ("We the Media") and Paul Graham ("Hackers & Painters"), 
    Powell's Books, Portland, OR--July 28
    -Tim O'Reilly Speaks at the Portland Area .NET User Group Meeting, 
    Portland, OR--July 29
    -Alex Martelli ("Python in a Nutshell"), Powell's Books, 
    Portland, OR--July 29
    -Niel M. Bornstein (".NET and XML"), Extreme Markup Languages 2004, 
    Montreal, Canada--August 2-6
    -O'Reilly at LinuxWorld, San Francisco, CA--August 2-5
    -MERLOT International Conference, Costa Mesa, CA--August 3-6
    -Steve Bass ("PC Annoyances"), 11th Annual Southwest Computer 
    User Group Conference, San Diego, CA--August 6-8
    -Wil Wheaton ("Just a Geek"), Powell's Technical Books, 
    Portland, OR--August 6
    ----------------------------------------------------------------
    Conference News
    ----------------------------------------------------------------
    -O'Reilly Open Source Convention User Group Discount
    ----------------------------------------------------------------
    News
    ----------------------------------------------------------------
    -The Ideal Digital Photographer's Workflow, Part 5
    -SafariU: Create, Customize, and Share Teaching Material
    -The Great Linux Desktop Migration Contest
    -Why PHP 5 Rocks!
    -How to Fall in Love with Your iSight, Again
    -12 Steps to Improving Your Mac's Performance
    -Macworld Boston 2004: Brains Over Beauty
    -Windows Server Hacks: Restoring Shadow Copies Using the Command Line
    -Understanding WinFX in Longhorn
    -Better, Faster, Lighter Programming in .NET and Java
    -Cooking with Eclipse
    -Writing Cross-Platform Mobile Applications Using Crossfire
    ----------------------------------------------------------------
    News From Your Peers
    ----------------------------------------------------------------
    -How to Write a Book Review by the Melbourne PHP User Group
    
    ================================================
    Book News
    ================================================
    Did you know you can request a free book to review for your
    group? Ask your group leader for more information.
    
    For book review writing tips and suggestions, go to:
    http://ug.oreilly.com/bookreviews.html
    
    Don't forget, you can receive 20% off any O'Reilly, No Starch, 
    Paraglyph, Pragmatic Bookshelf, or Syngress book you purchase directly
    from O'Reilly.
    Just use code DSUG when ordering online or by phone 800-998-9938.
    http://www.oreilly.com/
    
    
    ***Free ground shipping is available for online orders of at 
    least $29.95 that go to a single U.S. address. This offer 
    applies to U.S. delivery addresses in the 50 states and Puerto Rico.
    For more details, go to:
    http://www.oreilly.com/news/freeshipping_0703.html
    
    ----------------------------------------------------------------
    New Releases
    ----------------------------------------------------------------
    ***Pragmatic Project Automation: How to Build, Deploy, and Monitor Java
    Apps
    Publisher: Pragmatic Bookshelf
    ISBN: 0974514039
    Forget wizards, you need a slave--someone to do your repetitive, tedious
    and boring tasks, without complaint and without pay, so you'll have more
    time to design and write exciting code. Enlist your computer to automate
    all of your Java project's repetitive tasks from individual builds and
    testing through to product release and deployment. Enjoy pragmatic,
    automatic, unattended software production that's reliable and accurate
    every time.
    http://www.oreilly.com/catalog/0974514039/
    
    
    ***The Book of Nero 6 Ultra Edition
    Publisher: No Starch Press
    ISBN: 1593270437
    The Nero Ultra 6 software makes it easier to burn a CD or DVD, but to use
    it you first need to understand how it works, as well as things such as
    whether to burn a multisession CD, what mode to use, how to burn music
    files, and much more. The Book of Nero 6 Ultra Edition takes you step by
    step through using Nero for these tasks, and many others, so you'll be
    ready to burn in no time.
    http://www.oreilly.com/catalog/1593270437/
    
    
    ***Enterprise JavaBeans, 4th Edition
    Publisher: O'Reilly
    ISBN: 059600530X
    "Enterprise JavaBeans, 4th Edition" includes everything that made previous
    editions the single must-have book for EJB developers. Providing a solid
    grasp of EJBs’ complexities; hundreds of clear, practical examples; and
    adept coverage of EJBs' key concepts, this fourth edition also includes
    everything you need to get up to speed quickly on the changes in EJB
    version 2.1, including an architecture overview, design strategies, XML
    deployment descriptors, and more. The book also includes a JBoss
    implementation guide. 
    http://www.oreilly.com/catalog/entjbeans4/
    
    A sample excerpt, "Workbook 8: Exercises for Chapter 11," is available
    online:
    http://www.oreilly.com/catalog/entjbeans4/chapter/index.html
    
    
    ***Learning PHP 5
    Publisher: O'Reilly
    ISBN: 0596005601
    "Learning PHP 5" is the ideal tutorial for graphic designers, bloggers,
    and other web crafters who want a thorough but non-intimidating way to
    understand the code that makes web sites dynamic. The book begins with an
    introduction to the just-released PHP 5, then moves to more advanced
    features: language basics, arrays and functions, web forms, connecting to
    databases, and much more. Complete with exercises to make sure the lessons
    stick, this book offers the ideal classroom experience to learning PHP 5.
    
    http://www.oreilly.com/catalog/learnphp5/
    
    Chapter 8, "Remembering Users with Cookies and Sessions,' is available
    online:
    http://www.oreilly.com/catalog/learnphp5/chapter/index.html
    
    
    ***Java 1.5 Tiger: A Developer's Notebook
    Publisher: O'Reilly
    ISBN: 0596007388
    Java 1.5, code-named "Tiger," promises to be the most significant new
    version of Java since the language's introduction. But with so many
    changes, where do you start? This no-nonsense, down-and-dirty guide is the
    answer, providing complete coverage of generics, boxing and unboxing,
    varargs, enums, annotations, formatting, the for/in loop, concurrency, and
    more. Following the task-oriented format unique to this new series, this
    book allows you to get straight to work with Tiger's new features.
    http://www.oreilly.com/catalog/learnphp5/chapter/index.html
    
    Chapter 3, "Enumerated Types," is available free online:
    http://www.oreilly.com/catalog/javaadn/chapter/index.html
    
    
    ***Enterprise Service Bus
    Publisher: O'Reilly
    ISBN: 0596006756
    "Enterprise Service Bus" provides an architectural overview of the ESB,
    showing how it can bring the task of integrating enterprise applications
    and services built on J2EE, .NET, C/C++, and other legacy environments
    into the reach of everyday IT professionals, using an event-driven
    Service-Oriented Architecture. Through the study of real-world-use cases
    drawn from several industries deploying ESB, this book coherently outlines
    the benefits of moving toward this integration strategy, and it compares
    and contrasts ESB to other integration architectures.
    http://www.oreilly.com/catalog/esb/
    
    Chapter 3, "Necessity Is the Mother of Invention," is available online:
    http://www.oreilly.com/catalog/esb/chapter/index.html
    
    
    ***GarageBand: The Missing Manual
    Publisher: O'Reilly
    ISBN: 0596006950
    Imagine how many thousands of musicians, though enormously talented,
    remain undiscovered because they lack recording studios and backup bands.
    For them, GarageBand may open doors--or just offer a lot of fun.
    GarageBand can turn the inspiration of musical novices into
    commercial-sounding demos, but you have to know how to take advantage of
    all  that the program offers. This book provides that knowledge.
    "GarageBand: The Missing Manual" is an authoritative, witty guide to
    constructing your digital recordings. 
    http://www.oreilly.com/catalog/garageband/
    
    Check out the GarageBand examples CD available for download:
    http://www.missingmanuals.com/cds/#garageband
    
    
    ***Mac OS X Panther Hacks
    Publisher: O'Reilly
    ISBN: 0596007183
    This book offers the perfect combination of tips, tricks, and tools to
    help serious Mac users get the most from their machines. This newly
    revised collection provides hands-on solutions in topics such as user
    interface, accessories, wired and wireless networking, email, messaging,
    and much more. Written for users who need to go beyond what's covered in
    conventional manuals, "Mac OS X Panther Hacks" will bring your Mac to its
    full potential.
    http://www.oreilly.com/catalog/0596007183/
    
    Ten sample hacks are available online:
    http://www.oreilly.com/catalog/0596007183/chapter/index.html
    
    ================================================
    Upcoming Events
    ================================================
    ***For more events, please see:
    http://events.oreilly.com/
    
    
    ***O'Reilly Open Source Convention, Portland, OR--July 26-30
    Mark your calendar to join us for the sixth annual O'Reilly Open Source
    Convention this summer. Fresh ideas are already sizzling on the OSCON
    program barbie, including keynote addresses by two of 2003's most riveting
    speakers, Robert Lefkowitz and Milton Ngan, as well as a trio of Dysons:
    Esther, Freeman, and George. Bring the family along--Portland has
    something for everyone.
    Portland Marriott Downtown, Portland, OR
    http://conferences.oreilly.com/oscon/
    
    
    ***Dan Gillmor ("We the Media") and Paul Graham ("Hackers & Painters"), 
    Powell's Books, Portland OR--July 28
    Powell's hosts a special double-header with two authors in town for OSCON.
    Powell's Technical Books, Portland, OR
    http://www.powells.com/calendar.html
    
    
    ***Tim O'Reilly Speaks at the Portland Area .NET User Group Meeting
    Portland, OR--July 29
    "An Evening With Tim O'Reilly--Tim discusses what is on the 
    O'Reilly Radar."
    The meeting starts at 6:30pm
    Portland Community College Auditorium,
    Room 104, 1626 SE Water Ave., Portland, OR
    http://www.padnug.org
    
    
    ***Alex Martelli ("Python in a Nutshell"), Powell's Books, 
    Portland, OR--July 29
    Alex stops in for an appearance at Portland's favorite bookstore.
    Powell's Technical Books, Portland, OR
    http://www.powells.com/calendar.html
    
    
    ***Niel M. Bornstein (".NET and XML"), Extreme Markup Languages 2004, 
    Montreal, Canada--August 2-6
    Niel presents a tutorial based on his book.
    Hotel Europa, Montreal, Canada
    http://www.mulberrytech.com/Extreme/Tutorial/Bornstein_tutorial.html
    
    
    ***O'Reilly at LinuxWorld, San Francisco, CA--August 2-5
    Come by and say hello in the Exhibit Hall (I--Marsee--will be there on
    Thursday, August 5th), and page through our latest publications, as well
    as our classic references, at our booth (#873). Be sure to catch a panel
    on The Future of Open Source with Tim O'Reilly on Tuesday, August 3.
    Moscone Center, San Francisco, CA
    http://www.linuxworldexpo.com/live/12/
    
    
    ***MERLOT International Conference, Costa Mesa, CA--August 3-6
    We'll be exhibiting at this event for faculty members, digital library
    providers and developers, authors of digital learning materials, and those
    involved in administering and supporting instructional technology. Stop by
    for a preview of our SafariU service.
    Hilton Costa Mesa, Costa Mesa, CA
    http://conference.merlot.org/
    
    
    ***Steve Bass ("PC Annoyances"), 11th Annual Southwest Computer User Group
    Conference, San Diego, CA--August 6-8
    If you'll be there on the evening of August 7, be sure to drop by the
    Vendor Fair and say hello to Steve.
    Hilton Hotel--Mission Valley, San Diego, CA
    http://www.swugconf.org/
    
    
    ***Wil Wheaton ("Just a Geek"), Powell's Technical Books, Portland,
    OR--August 6
    Wil  heads north for an appearance and book signing.
    33 NW Park Avenue Portland, OR
    http://www.powells.com/calendar.html
    
    ================================================
    Conference News
    ================================================
    ***O'Reilly Open Source Convention User Group Discount
    User Group use code DSUG when you register, and you'll get 20% off the
    conference price.
    
    To register, go to:
    http://conferences.oreillynet.com/cs/os2004/create/ord_os04
    
    O'Reilly Open Source Convention
    Portland Marriott Downtown
    Portland, OR
    July 26-30, 2004
    http://conferences.oreilly.com/oscon/
    
    ================================================
    News From O'Reilly & Beyond
    ================================================
    ---------------------
    General News
    ---------------------
    ***The Ideal Digital Photographer's Workflow, Part 5 
    Ken Milburn, author of "Digital Photography: Expert Techniques," offers
    the latest installment in his series on creating ideal (and least
    destructive) workflows for digital photography. This week, he offers
    step-by-step routines for performing the three stages of sharpening that
    are almost always necessary: rescue, effect, and output. And he offers
    advice on a few things you should do before you even start sharpening your
    images.
    http://www.oreillynet.com/pub/a/javascript/2004/07/20/digital_photography.html
    
    
    ***SafariU: Create, Customize, and Share Teaching Material
    Looking for a way to truly customize your course textbook and offer
    students exactly the material you choose to teach, while saving them a
    good bit of money? Become a SafariU beta tester and check out the new
    web-based publishing platform from O'Reilly that allows you to create
    custom textbooks and online syllabi.
    http://academic.oreilly.com/safariu-more.csp
    
    ---------------------
    Open Source
    ---------------------
    ***The Great Linux Desktop Migration Contest
    If you're considering, or you have already embarked upon, a Linux desktop
    migration, here's your chance to help guide and inspire others and be
    eligible to win an all-expense-paid  trip to Barcelona, Spain. Novell and
    O'Reilly Media have joined forces to present this contest and are looking
    for entries that describe the benefits realized from a desktop migration,
    a phased migration plan, or the most practical tips for migrating to
    Linux. The contest deadline is August 9.
    http://www.linuxdevcenter.com/linux/contest/
    
    
    ***Why PHP 5 Rocks! 
    Adam Trachtenberg provides a quick tour around PHP 5, highlighting seven
    of his favorite new features. These features (including better support for
    OOP, bundled SQLite, iterators, and more cool stuff) will allow your PHP 5
    code to be more concise, more elegant, and more flexible than ever. Adam
    is the author of the upcoming "Upgrading to PHP 5."
    http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html
    
    ---------------------
    Mac
    ---------------------
    ***How to Fall in Love with Your iSight, Again 
    Snaggy and Nitrozac are back to show you how to fall in love with your
    iSight, again, and provide a few chuckles along the way. Consider them
    your personal tech-therapists, willing to help bring you and your gorgeous
    hardware back together, with advice on apps and add-ons that will enhance
    your iSight relationship. If you like the way S and N weave humor and tech
    talk, check out their book, "The Best of The Joy of Tech."
    http://www.macdevcenter.com/pub/a/mac/2004/07/20/iSightLove.html
    
    
    ***12 Steps to Improving Your Mac's Performance 
    Keeping your Mac happy and performing as it did the day you brought it
    home takes a bit of degunking. Joli Ballew offers 12 steps to improving
    your Mac's performance that will have it humming along in no time. For
    more in-depth details on why the Mac slowdown occurs and what you can do
    about it, check out Joli's new book, "Degunking Your Mac."
    http://www.macdevcenter.com/pub/a/mac/2004/07/16/DegunkYourMac.html
    
    
    ***Macworld Boston 2004: Brains Over Beauty 
    In the late 1700s, Boston culture facilitated debate by some of the
    greatest American minds. Now in 2004, it's once again the home for the Mac
    elite on the East Coast. Derrick Story photographs and comments on the
    character of this year's Macworld Boston.
    
    http://www.macdevcenter.com/pub/a/mac/2004/07/14/macworld.html
    
    ---------------------
    Windows
    ---------------------
    ***Windows Server Hacks: Restoring Shadow Copies Using the Command Line
    Shadow copies is a new feature of Windows Server 2003 that automatically
    creates point-in-time copies or snapshots of files in shared folders.
    Mitch Tulloch, author of "Windows Server Hacks," shows you the easiest way
    to restore them.
    http://www.windowsdevcenter.com/pub/a/windows/2004/07/20/shadow_copies.html
    
    
    ***Understanding WinFX in Longhorn
    Longhorn is still in pre-beta, but it's time to get ready for developing
    apps for it. Wei-Meng Lee, author of "Windows XP Unwired," gives a rundown
    about the APIs that developers will use to write the next generation of
    Windows applications.
    http://www.windowsdevcenter.com/pub/a/windows/2004/07/13/winfx.html
    
    ---------------------
    Java
    ---------------------
    ***Better, Faster, Lighter Programming in .NET and Java 
    In "Better, Faster, Lighter Java," authors Bruce Tate and Justin Gehtland
    lay out five basic principles to combat the "bloat" that has built up over
    time in modern Java programming. In this article, Justin shows how
    programmers developing .NET apps can apply the same principles, and along
    the way, cultivate still more ideas that make programming simpler and fun
    again.
    http://www.onjava.com/pub/a/onjava/2004/07/14/BFLJava.html
    
    
    ***Cooking with Eclipse
    In these sample recipes from O'Reilly's "Eclipse Cookbook" learn how to
    create a custom perspective in Eclipse, and how to speed up the JDT
    Editor.
    http://www.onjava.com/pub/a/onjava/excerpt/eclipseckbk_chap1/index.html
    
    ---------------------
    .NET
    ---------------------
    *** Writing Cross-Platform Mobile Applications Using Crossfire
    If you are a Microsoft developer familiar with the .NET Framework, you
    generally have two options if you want to write mobile applications. For
    mobile handsets, you can develop mobile web applications using the ASP.NET
    Mobile controls. For standalone applications, you can use the .NET Compact
    Framework. However, using the .NET Compact Framework you can only target
    Pocket PC devices. And that essentially means that you are out of luck
    when it comes to developing for competing devices such as Palm and Symbian
    Smartphones. In this article, Wei-Meng Lee introduces you to a new open
    source project known as Crossfire that promises to close the gap.
    http://www.ondotnet.com/pub/a/dotnet/2004/07/12/crossfire.html
    
    
    ================================================
    News From Your Peers
    ================================================
    ***How to Write a Book Review by the Melbourne PHP User Group
    http://melbourne.ug.php.net/content/view/63/59/
    
    Thanks to Chris Burgess for sharing this. You can find this URL along
    with other tips and tricks on the O'Reilly UG wiki:
    http://wiki.oreillynet.com/usergroups/lpt?HomePage
     
    Until next time--
    
    Marsee
    
    
    
  • [Eug-lug] rsync



    Rob HudsonThu Jul 22 12:51:06 PDT 2004

    Restricting by host and restricting what that user can do.
    
    On 20040722.1249, Cory Petkovsek said ...
    
    > On Thu, Jul 22, 2004 at 12:43:09PM -0700, Rob Hudson wrote:
    > > Hey cool, I didn't realize you could do something like that.  :)
    > 
    > Which part, restricting ssh access or creating users with a uid of 0?  :)
    > 
    > Cory
    > 
    > -- 
    > Cory Petkovsek                                       Adapting Information
    > Adaptable IT Consulting                                Technology to Your
    > (858) 705-1655                                                   Business
    > cory at AdaptableIT.com                                  www.AdaptableIT.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] rsync



    Cory PetkovsekThu Jul 22 12:49:36 PDT 2004

    On Thu, Jul 22, 2004 at 12:43:09PM -0700, Rob Hudson wrote:
    > Hey cool, I didn't realize you could do something like that.  :)
    
    Which part, restricting ssh access or creating users with a uid of 0?  :)
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com
    
  • [Eug-lug] rsync



    Cory PetkovsekThu Jul 22 12:43:15 PDT 2004

    On Thu, Jul 22, 2004 at 12:22:05PM -0700, larry price wrote:
    > if you don't want to bother with ssh-agent you can use a plaintext
    > key-file but you should make
    > sure that that key is not going to be able to do anything besides rsync files.
    
    Meaning among other things, that in your /home/user/.ssh/authorized_keys file
    you prepent something like:
    from=ip.of.rsync.server, cmd=/usr/local/bin/rsync.script ssh-dsa R5cEfd..
    
    This means using the passphrase-less key, one can only connect to this host
    from the first machine and they can only run one command perhaps with arguments
    if they need to change, preferably not.  If so, you need to take care the the
    arguments aren't something like: "-v; echo guest::0:0::/:/bin/sh>>/etc/passwd"
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com