booting a CD-ROM
I have an old FreeBSD system that I haven't used for a long time and I have forgotten the passwords. This machine has FreeBSD-4.3 and FreeBSD-4.7 on it, and also MS' Windows98 . I tried getting onto that system by booting with a CD-ROM which started going and gave me the following messages: boot from ATAPI CD-ROM CD Loader 1.2 Building the boot loader arguments Relocating the loader and the BTX The system then did not output for a liitle over 5 minutes and then typed: Starting the and after this I waited for over 5 minutes but the system did not type anything else. Then I tried booting that CD-ROM on another system where it booted successfully and the program on it ( FreesBIE version 2) ran and I could communicate with it. I suspect a problem with the boot loader on the first system. Where can I get a new boot loader for that system?Since I want to get a modern FreeBSD (version 9.1 or higher), I expect that will include a new multi-system loader on it that I can use on the old system if I can load just that. How can I load just the boot loader? Also, what is the structure of the password files (is this on the web with a per system-version note so if it has been changed over time, I can find those I need) on those systems, and how can I find and clear out the password for root so I can get in and set its password and then the other passwords? Thanks in advance for your help. Refinance for 2.00%/3.092% APR Loans under 729K usually qualify for US GOV backed refinance programs http://thirdpartyoffers.juno.com/TGL3141/4f7aba00def6ce8088est02duc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freebsd-questions Digest, Vol 362, Issue 7
I had to do this same thing over 10 years ago, once at work and once at home. At home, I copies ksh and gave it root privileges so it could do the suid . At work, a root person lent me the use of a binary program (with root privileges) that I used to execute ksh (I believe). My memory of this is hazy, so I don't recall if that was a standard program there or it was a special one that he created. Groupon.com Official Site 1 huge daily deal on the best stuff to do in your city. Try it today! http://thirdpartyoffers.juno.com/TGL3141/4dcb9a93721c33da3e2st04duc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
documentation OF FreeBSD
I remember that there was a documentation project going on for FreeBSD and I'd like know its status and URL . Hopefully there is a good index (I consider this an essential tool in books). Another section I would like to see is one about internet access and also the subsection about email . I want to be able to access my juno email account and see a list of the received emails (with the name of the sender, the subject, and date & time sent, possibly other data), be able to select emails to read (and to delete them after they are read at the reader's discretion). There is also the flip side, the ability to create emails, specify to whom they are to be sent, and send them. Moms Asked to Return to School Grant Funding May Be Available to Those That Qualify. http://thirdpartyoffers.juno.com/TGL3141/4d35642919834bf38d6st02duc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Grepping a list of words
If I remember correctly, grep (and all its associated versions) accept "-v" as an option which reports the entries in the list that don't match. Using gref (which is given the name[s] of files) uses those files as a list of the patterns to match. Penny Stock Jumping 2000% Sign up to the #1 voted penny stock newsletter for free today! http://thirdpartyoffers.juno.com/TGL3141/4c6c7ff0a9b321d1bcbst06duc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
internet access from FreeBSD
I have a copy of Greg Lehey's online "book" about FreeBSD, but I believe it is from February 2006. Is there a later copy, and if so, where can I find a copy (URL please)? I searched my copy for the word "internet" and couldn't find it. I did access the internet with a take-off copy of FreeBSD, but I don't have access to it any more. Can I access the internet with a currently gettable copy of FreeBSD, and if so, for what versions is that true (my personal version is old, but it works well so I never upgraded)? Since I get my mail via juno , can I access them nicely from FreeBSD or do I need something to interface to it and present me with my mailbox, listing the items in it and telling me the usual stuff about envelop mail (sender, subject, when received)? $5,000 a Week For Life Publishers Clearing House winner annouced on NBC. Enter now. http://thirdpartyoffers.juno.com/TGL2141/c?cp=NJLnQx9Yu8C9A0FjGKLJHAAAJ1CMuunOdcztR0sdySRQWupwAAQFAArXIzwACQGZAA== ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: scripting suggestion: how to make this command shorter
On 6/27/09, Zhang Weiwu wrote: > Hello. I wrote this one-line command to fetch a page from a long uri, > parse it twice: first time get subject & second time get content, and > send it as email to me. > > $ w3m -dump > 'http://search1.taobao.com/browse/33/n-g,w6y4zzjaxxymvjomxy40--commen d-0-all-33.htm?at_topsearch=1&ssid=e-s5' > | grep -A 100 ¶Ô±È | mail -a 'Content-Type: text/plain; charset=UTF-8' -s > '=?UTF-8?B?'`w3m -dump > 'http://search1.taobao.com/browse/33/n-g,w6y4zzjaxxymvjomxy40--commen d-0-all-33.htm?at_topsearch=1&ssid=e-s5' > | grep ÕÒµ½.*¼þ | base64 -w0`'?=' zhangwe...@realss.com > > > The stupid part of this script is it fetches the page 2 times and parse > 2 times, thus making the command very long. If I can write the command > in a way that the URI only appear once, then it is easier for me to > maintain it. I plan to put it in cron yet avoid having to modify two > places when the URI changes (and it does!). > > How do you suggest optimizing the one-liner? > Whenever I have to look through a long file more than once, I copy the relevant sections into another file (a RAM file if it is short enough and I have the RAM) and then parse it there as many times as I need to do it. Criminal Lawyers - Click here. http://thirdpartyoffers.juno.com/TGL2141/fc/BLSrjpTOVoKXC2vT8bG75jmaBuBBqrFnzp3RY2ufk0rwdaSjMZVA5BqOKCM/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Execute and lock a user into a program upon login
And I think the cleanest solution would be to link .login to vtysh , make sure that your system logs out when it finishes this command or you can't use this technique. Steve Bertrand wrote (earlier today): > I think the cleanest solution would be to create a match block for your > user, and apply the forcecommand within that block... > -- > Olli > On Fr, 2009-03-13 at 21:50 -0400, Steve Bertrand wrote: >> Jonathan Chen wrote: >>> On Sat, Mar 14, 2009 at 02:18:27AM +0100, Polytropon wrote: > >> >> > [..] >> >> If the user's shell is csh (FreeBSD's standard dialog shell), you >> >> could achieve the goal: > >>> > >>> ~/.login >> >> vtysh >> >> logout > >>> > >>> Only problem: I don't know how the shell will act when the user >> >> terminates the vtysh application (^C)... >> > > >> Change the contents of ~/.login to: >> > >> > exec vtysh > >> >> > This overlays the shell with "vtysh". When it exits, the session will >> > be closed. >> >> Thank you. >> >> This appears to be what I want. >> >> I was trying it with the previous setup, but I had to put the user in >> the wheel group. I haven't yet figured where permissions were going astray. >> >> Your procedure will allow me to put the user in the wheel group for now, >> knowing that logout will occur as soon as the program terminates. This >> way, I can safely know it works, and make myself a note for Monday to >> fix the permissions issues ;) >> >> Regards, >> >> Steve Looking for insurance? Compare and save today. Click here. http://thirdpartyoffers.juno.com/TGL2141/fc/BLSrjpTInoLb38jeH2ZxV89B2QnR6ZNekJuaR3qGCHLhnMekVw3DI3haDtu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freebsd-questions Digest, Vol 246, Issue 44
I received this email. Generally I look at the table of contents and see if there is anything there that I wish to read. For this email, the table of contents seems to have been made for some other email file but put on this one by accident. Please correct the problem!!! Click to get a free auto insurance quotes from top companies. http://thirdpartyoffers.juno.com/TGL2141/fc/PnY6rw2PNPfC90IB2i2fuxfi88vWbktzpdTYpZxNJe0YQcS6CfqBi/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"