Re: I have found a pc on the side curb
a pentium 133mhz with freebsd. I was woundering if there was away around the login: admin password: * Of course: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW Congratulations on finding a PC by the roadside! -- If the ends don't justify the means, what does? -- Robert Moses ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD
On Sun, Jul 03, 2005 at 04:36:49PM -0700, Ted Mittelstaedt wrote: Blah... Ted, you're among the easiest troll bait I've seen, and I've seen the whole spectrum of trollees. -- If the ends don't justify the means, what does? -- Robert Moses ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Diagnosing periodic reboot?
On Thu, Jun 30, 2005 at 10:04:15AM -0700, David Kurtz wrote: My hobby FreeBSD box has started to reboot at semi-regular intervals, and I can't figure out why. Check the battery in your uninterruptable power supply. What happens when you unplug it from the wall? -- If the ends don't justify the means, what does? -- Robert Moses ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md5
Compare md5 sums: $ md5 file1 file2 file3 checksum.md5 $ md5 file1 file2 file3 | diff checksum.md5 - On Tue, Mar 29, 2005 at 10:29:39PM -0500, Matt Kosht wrote: Is there a simple way to compare the md5 checksum of a file, to a file that contains possibly more than one md5 checksum entry in it? Kind of like mdsum -c does? -- You can get a lot farther with a kind word and a gun than with a kind word alone. -- Al Capone ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? Try this. Global search and replace, with backup: # find . -type f | xargs sed -i.bak s/oldtext/newtext/g -- Kids can get a free PlayStation 2! http://www.landoverbaptist.org/news0104/ps2.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Are these attempts by password crackers??
Any charts of this nature for quick and easy reference? Maybe it's a stupid question but maybe there are people that wouldn't mind making a poster out of them for their NOC :-) Yes, here's the IP-to-Country database. I use it all the time. http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip For mail, try: http://www.blackholes.us -- Cursed be he that lieth with his father's wife; because he uncovereth his father's skirt. -- Holy Bible, Deuteronomy 27:20 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice: The Right authentication method
Actually I must apologise for being unclear. The sort of thing I was referring to were web applications that manage their own password database in general, not specifically those that use SASL. However, Kevin is right: squirrelmail does contain examples of using SASL to log into IMAP. Cheers, Matthew Thanks, Matthew. I try to read everything you post. You've been very helpful during the 2 1/2 years that I've read this list. -- Wager at the Golden Plate Casino! http://www.landoverbaptist.org/news0502/goldenplate.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice: The Right authentication method
On Thu, Sep 23, 2004 at 12:37:09PM +0100, Matthew Seaman wrote: On Thu, Sep 23, 2004 at 11:53:40AM +0100, Andy Holyer wrote: I'm working on writing the Control Panel scripts which subscribers to our ISP will use to set up their eMail accounts and web space. Here's the Server spec: FreeBSD-Current; Perl 5.6.1, no problem installing any needed modules; Apache 2; I'm keeping ordinary customers off the machine, so I run Postfix and Cyus and use sasl2 for customer passwords. I'd like to use these ID to arrange access to the control panel system. I'm stuck at the very start of my design process. I have two tasks to do: Verify that users have supplied the correct password; and let the perl scripts know who that visitor is, so that we can select the correct accounts to show. Do I use SASL directly? or LDAP? or do I implement an Apache module to handle access and let Apache do the work? I want to do The right thing - that is, the most general and correct thing possible, I've got years of experience in perl scripting, but at the moment I wandering around in a twisty litte maze of standards, all different. Clue, please? You're basically writing a web application. For which you need access control. You've got two choices: either use the HTTP basic or HTTP digest auth mechanisms built into HTTP, and supported by Apache, or (and this is by far the most popular choice) write your own authentication mechanism as part of your application[1]. The second choice gives you a lot more flexibility about how you customise things and how you make the login screen look, which is probably why it's more popular. You can also arrange things to avoid sending passwords across the net in cleartext if you're cunning enough. However you do it, the authentication process is essentially that the client sends you two pieces of information: their username (ie. who they claim to be) and some form of secret. The secret is usually a password, but it can be something more complicated like an Opie one-time password or whatever. Then in your application you compare the secret to your stored version of it, and if they match you believe that the client is who they say they are and that they should have access. Of course, you don't want to keep the secret values lying around in plain text: the standard Unix response to all that is to generate a password hash using DES or MD5 to store, and to try and recreate that hash using the password supplied by the user. That's where SASL comes in: instead of having to code up all that stuff your self, SASL is a library of authentication methods that you can just plug into your application. Yes, you will need some sort of user account database -- often implemented using a RDBMS, but could with little extra effort be made to operate against an LDAP or RADIUS server. Or whatever the database type you're already using for your Postfix+Cyrus setup. There are several examples of doing this sort of thing within the ports system -- most are written in PHP, but check out devel/bugzilla and www/rt3 for perl based examples. Cheers, Matthew I'd be grateful if someone would point out some examples of SASL authentication using PHP in the ports. I've searched through the ports, but had no luck finding any. -- Wager at the Golden Plate Casino! http://www.landoverbaptist.org/news0502/goldenplate.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hi I have a suggestion! To Imporve the perfect Freebsd!
On Sun, Mar 28, 2004 at 11:09:36AM -0800, Joe Falcone wrote: ... make WINE a hidden component in the operating system and tell everyone about the new compatability... I'll bet the folks at OpenBSD would LOVE to hear more ideas like this one. Make your suggestions on THEIR mailing list too! Their address is: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Top posting
I'm with you... Top-posting makes the most sense for me. I was born to top-post. On Fri, Mar 19, 2004 at 02:28:24PM -0800, Charles McManis wrote: Perhaps it isn't logical, if you've read all the email then the quoted thread is just reference anyway. This is the new stuff. I love being able to read mail in the preview-pane vs next message , jump to the bottom, next message jump to the bottom. It comes down to opinion I think --Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Debugger for XSLT ?
I'm learning XSLT and thought a debugger might be helpful. Are there any tools in ports to debug or single-step through XSLT transforms? _ Let the new MSN Premium Internet Software make the most of your high-speed experience. http://join.msn.com/?pgmarket=en-uspage=byoa/premST=1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Debugger for XSLT ?
I'm learning XSLT and thought a debugger might be helpful. Are there any tools in ports to debug or single-step through XSLT transforms? Most XSLT processors include debug flags that generate verbose output. Which processor are you using? I've been using the xalan-c port. _ Check out the new MSN 9 Dial-up fast reliable Internet access with prime features! http://join.msn.com/?pgmarket=en-uspage=dialup/homeST=1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Documentation and DocBook SGML
I'm learning about the FreeBSD documentation, and have read the primer at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/ and have a question. http://www.freebsd.org/docproj/sgml.html states: The Documentation Project is trying to use SGML as the standard method of representing the documentation. DocBook has been defined using both SGML and XML (a subset of SGML). My question is: Why does the FreeBSD Documentation Project prefer SGML to XML? _ Get a FREE online virus check for your PC here, from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]