Low bandwidth suggestions
I'm starting my first steps in FreeBSD, with some experience in Debian GNU/Linux. I also live in Cuba, a third world country with very low bandwidth and I'm very interested in having access to the ported software available for FreeBSD. For now I managed to get the 3 CDs of the 7.0 RELEASE and install it. My question is: what would you recommend to someone who wants to have the software available offline and perhaps update it monthly? Can I download and burn in DVDs the entire ports and package collection? Regards Mauricio López ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to restore a lost root password...
On Sun, Oct 26, 2008 at 4:08 PM, Daniel Bye <[EMAIL PROTECTED]> wrote: > On Sun, Oct 26, 2008 at 09:18:25PM +0100, Rada alive wrote: >> > I have seen a "How to" about this but I have a problem, i set the console >> > to insecure, so when I try to do the step of the "how to" i get a message >> > to input the root password or Ctrl-D to enter in multiuser mode. >> >> What happened to just booting into single-user mode and issuing passwd? > > The OP made a point of letting us know that he has marked his console > `insecure' in /etc/ttys. In order to even get a shell in single user, > he needs the root password. > As far as I know, from my previous Linux experience, you just need a LiveCD in order to boot the PC, mount the / partition, edit /etc/passwd or /etc/shadow and change the hash for one that correspond to one we know. Perhaps you can make it in every UNIX. -- Mauricio López ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for the right "FreeBSD.iso"
7.0-RELEASE-i386-bootonly.iso 7.0-RELEASE-i386-disc1.iso 7.0-RELEASE-i386-disc2.iso 7.0-RELEASE-i386-disc3.iso 7.0-RELEASE-i386-docs.iso 7.0-RELEASE-i386-livefs.iso Please could you tell me which files I exactly need to download & burn to install a "normal" FreeBSD installation? Do I need all three *-disc[n] discs? If so, is there a DVD version available? if you are online just use bootonly Maybe I am wrong, but I feel it shouldn't be necessary to waste 3 CDs from installation if I have a high-speed permanent Internet connection. So wouldn't just 1 DVD-RW do? Anyway, I believe that I'll enjoy FreeBSD and I'm looking forward to see it on my home machine and on my testing machine @ work :-) Thanks for your time! Greetings, Alois "LennyCZ" Mahdal -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
David Christensen wrote: [snip] > > > devel/glib20 and gio-fam-backend seemed to go okay. I think I got > further into firefox3, but it failed: checking for cairo >= 1.6.0 freetype2 fontconfig... Requested 'cairo >= 1.6.0' but version of cairo is 1.4.10 This is telling you the cairo you have installed is old and needs to be updated, probably freetype2 and fontconfig as well. Essentially you have out of date dependencies, with the most common reason for this is having installed packages straight from the release ISOs and subsequently not upgrading them. Many old time FreeBSD'ers only install the system from the ISO, update their ports tree, and then install software. This ensures everything is current and all dependencies are tracked. What you have is a jumble of outdated dependencies which require updating. > > configure: error: Library requirements (cairo >= 1.6.0 freetype2 > fontconfig) not met > > > What's next? > [snip] You can update things manually one or two at a time[1], as you did for the glib20 port. Or you can automate the process. I use portupgrade for this. Now portupgrade has it's own learning curve, but it can make it easier to keep large numbers of ports all up to date. You probably need to learn a little more about how the ports system works. Once you have a more in depth understanding of how to install and maintain software on a FreeBSD system you won't see this kind of situation again. So rather than fixate on just bouncing from dependency to dependency, ad infinitum ad nauseum, try going back and reading up on this subject some more until you understand the process. -Mike [1] Like you did with glib20: make && make deinstall && make reinstall ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
On Sun, Oct 26, 2008 at 11:01 PM, David Christensen < [EMAIL PROTECTED]> wrote: > Sahil Tandon wrote: > > Do these ellipses include a 'make install'? Otherwise, that is likely > > your problem; devel/glib20 is not actually installed. > > Michael Powell wrote: > >> If you previously had glib20-2.14.6 installed, you will need to do a 'make >> deinstall' prior to 'make reinstall'. >> > ... > >> then follow up by doing the gio-fam-backend port. >> > > Thank you both for your help. :-) > > > I didn't understand the need to do a make deinstall/ reinstall on glib20. > So I tried again: > >http://holgerdanske.com/node/392 > > > devel/glib20 and gio-fam-backend seemed to go okay. I think I got further > into firefox3, but it failed: > >configure: error: Library requirements (cairo >= 1.6.0 freetype2 > fontconfig) not met > > > What's next? > > > TIA, > > David > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > install these three cairo >= 1.6.0 freetype2 fontconfig make sure your ports tree is up to date as well with portsnap ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
Sahil Tandon wrote: > Do these ellipses include a 'make install'? Otherwise, that is likely > your problem; devel/glib20 is not actually installed. Michael Powell wrote: If you previously had glib20-2.14.6 installed, you will need to do a 'make deinstall' prior to 'make reinstall'. ... then follow up by doing the gio-fam-backend port. Thank you both for your help. :-) I didn't understand the need to do a make deinstall/ reinstall on glib20. So I tried again: http://holgerdanske.com/node/392 devel/glib20 and gio-fam-backend seemed to go okay. I think I got further into firefox3, but it failed: configure: error: Library requirements (cairo >= 1.6.0 freetype2 fontconfig) not met What's next? TIA, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for the right "FreeBSD.iso"
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 LennyCZ wrote: > Please could you tell me which files I exactly need to download & burn > to install a "normal" FreeBSD installation? Do I need all three *-disc[n] > discs? If so, is there a DVD version available? I'm going to call "normal" "highly minimalistic" and say you only disk - -disk1. Unless you are installing ports I don't think you need anything else. Ports should be done using portsnap. - -- GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkFBugACgkQtl8kq+nCzNFjVwCePiAHX72kTYin9eEk7sKYBdxq DiQAn2Th5T1dwzyFAhkRqEWww5gAzbz7 =Mr7s -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for the right "FreeBSD.iso"
LennyCZ said the following on 2008-10-27 00:34: Hello! Hellu. I would like to try FreeBSD on my machine, but I did not find any information regarding the ISO files on FreeBSD FTP sites. For example, in ISO directory for 7.0 release, I found these files: 7.0-RELEASE-i386-bootonly.iso If you do a network install then you only need the bootonly file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for the right "FreeBSD.iso"
On Mon, Oct 27, 2008 at 12:34:42AM +0100, LennyCZ wrote: > Hello! > > I would like to try FreeBSD on my machine, but I did not find any > information regarding the ISO files on FreeBSD FTP sites. > > For example, in ISO directory for 7.0 release, I found these files: > > 7.0-RELEASE-i386-bootonly.iso > 7.0-RELEASE-i386-disc1.iso > 7.0-RELEASE-i386-disc2.iso > 7.0-RELEASE-i386-disc3.iso > 7.0-RELEASE-i386-docs.iso > 7.0-RELEASE-i386-livefs.iso > > Please could you tell me which files I exactly need to download & burn > to install a "normal" FreeBSD installation? Do I need all three *-disc[n] > discs? If so, is there a DVD version available? You only need one: 7.0-RELEASE-i386-disc1.iso If you plan on installing many binary packages (from the installer, not once FreeBSD is installed), then you might also want "disc2". More importantly, I *strongly* recommend you download the 7.1-BETA2 ISO(s) instead. You'll find them in the releases/ directory on the FTP mirrors. > Maybe I am wrong, but I feel it shouldn't be necessary to waste 3 CDs >from installation if I have a high-speed permanent Internet connection. You should try sending this note to most of the Linux distributions, many of which *require* a DVD drive (what makes you think everyone has one?), or require you to download 2 or 3 CDs. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MTA on non-standard port
On Sun, Oct 26, 2008 at 06:55:53PM -0500, Kevin Kinsey wrote: > Hello, > > Quick thanks to Andrew Clark, Jeremy Chadwick, Tim Kellers, > Jeff Goldberg, and anyone whose reply I've not seen re: > this issue. > > Isn't hard, as several pointed out. Now I've sendmail listening > on any port I want to. Problem is, still can't touch it from > here (and you might have guessed, the base issue is a new provider > of a lower-class service who I'm guessing only allows certain > ports by default). Most consumer ISPs in the United States block two kinds of traffic to their customers' IP blocks: 1) Incoming SMTP (e.g. someIP:* --> yourIP:25) 2) Outbound SMTP (e.g. yourIP:* --> someIP:25) #2 has become prominent in the past few years, and is applied by ISPs because they want to curb their customers sending spam out onto the Internet (usually as a result of viruses, trojans, etc.), getting their IPs blocked by DNSBLs and giving them a bad social rep. Instead, they force customers to relay outbound mail through their own SMTP servers (called a "smart host" in sendmail terms). There's absolutely no way around this; you can beg them all you want, but the chances of them adding a pass-through for you is very slim. Story time again... My setup, just to give you some idea: my home LAN has a FreeBSD box used for all kinds of purposes. The box itself does not have direct Internet access (it sits behind a Linksys WRTSL54GS NAT router, which DOES NOT have incoming port 25/587 forwarded). The BSD box listens on localhost:25,587, and bsdIP:25,587. This allows other machines on the LAN to send mail through the BSD box, and of course local utilities on the BSD box to do the same. The Linksys router has two outbound firewall rules applied to it: it only allows bsdIP on my LAN to connect to someIP:25,587 -- thus, only one machine on my LAN is allowed to speak SMTP to the world. I do this purely as a precautionary measure (in case one of my friends comes over with his/her laptop, which happens to be infected and sends spam, etc. -- it won't work, period). All this worked great until Comcast put in place outbound SMTP filters, which stopped postfix from being able to connect to someIP:25 (where someIP is some random MX/mail server on the Internet). I was forced to set up "smart relaying", causing postfix to siphon all outbound mail through comcastmailserver:25, which worked fine for a few years. A couple months ago, Comcast stirred up the ants. They blocked my ability to send mail to anyIP:25 (including to their own SMTP servers!), citing "an incident of spam from my IP address". I asked them provide timestamps, Reference IDs, or even queue IDs, and also explained my LAN setup and how what they were claiming happened simply could not happen without my knowledge of it. They refused, as in in literally "We will not provide you any of that". Abuse and I got into a very long discussion on the phone about this, and told me a lot of conflicting things (more or less just inducing me to ask more questions, because their story didn't make any sense). They did eventually tell me what *day* the spam was sent, which allowed me to go look through my logs -- over and over, and I found absolutely no sign of any illegitimate mail in my mail logs. I was told they would lift the block (which was done at the cable modem level, not at the router level) if I could "permanently guarantee no more incidents of spam". I told them that was impossible to guarantee, because there *was no incident of spam* from my IP in the first place, and they were refusing to work with me to figure out how/why they were claiming that. So we sat there on the phone, silent, basically saying nothing -- a total standstill. Eventually they stated that I could send mail through their mail servers on port 587. I quickly set this up, and found it failed -- their servers require SMTP AUTH on port 587, no exceptions (note: this is NOT mandatory by the RFC; it's OPTIONAL). This meant I had to go through the pains of dealing with Cyrus SASL2 (thankfully postfix makes this easier to deal with than sendmail), and upon configuring it all, mail once again began to flow. That's how things remain now. The reason I do not like siphoning mail through Comcast: their mail servers are known to act wonky or /dev/null mail for mysterious reasons. I've had two separate incidents of me sending mail to individuals, witnessing Comcast's servers say "OK/accepted", but the mail never reached the destination. In one case, one recipient ran his own mail server, and was able to confirm that he saw absolutely no Comcast IP connect to his server during a 24 hour period. To this day the mail has never arrived. All the anti-spam advocates praise ISPs stepping in and becoming the "middle man" for spam siphoning/filtering, spanking users like this when incidents occur -- but when their setup fails or does what I've described above, they basically turn their cheek and ignore any sort of
Re: audio streaming without kmplayer, etc???
On Sun, Oct 26, 2008 at 07:16:58PM -0400, Chris Hill wrote: > On Sun, 26 Oct 2008, Gary Kline wrote: > > >Only bleep-Doze or linux works, and I'd like a clue how to stream mp3 > >files using X browser on FBSD. If I try to stream or d/load with > >konq, it asks if I want to Save, Cancel, or use KMplayer. For most > >audio-- streams that last several minutes to two hours--KMplayer is > >fine. But for the few French language sites that stream one or two > >syllables at a time, I wind up with multiple KMplayers. (And > >linguist-dunce that I am, I'll reply a word or phrase 20-30 times. > >Yes, sorry, but I'm that bad. > > > >How do I stream an mp3 file without using a player Or is there a > >way? (I'd use Ubuntu 8.10, but the port is busted right now. > >Besides, it's time that it just-worked with FreeBSD. We've already > >got the most rock solid server OS; why can't we go the additional few > >centimeters? > > Maybe I'm misunderstanding the question, but mplayer-plugin has worked > under Firefox for a long time now. If you have a URL, I can try it from > here. > My bad. I guess I mis-clivked because at least usinf firefox I *do* get audio. (I did do a theraputic reboot.) But still at fault was that many of the graphics have that "broken-frame" square. I looked thru my configuration; found an add-oncalled "No-Script" and disabled it. Upon restarting firefox3, the site graphics are back.Live and learn:: *read* before on add a security feature. The free, non-commercial language site is down in Victoria.gov.au. http://www.education.vic.gov.au/languagesonline/ thanks much indeed, gary > -- > Chris Hill [EMAIL PROTECTED] > ** [ Busy Expunging <|> ] -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Looking for the right "FreeBSD.iso"
Hello! I would like to try FreeBSD on my machine, but I did not find any information regarding the ISO files on FreeBSD FTP sites. For example, in ISO directory for 7.0 release, I found these files: 7.0-RELEASE-i386-bootonly.iso 7.0-RELEASE-i386-disc1.iso 7.0-RELEASE-i386-disc2.iso 7.0-RELEASE-i386-disc3.iso 7.0-RELEASE-i386-docs.iso 7.0-RELEASE-i386-livefs.iso Please could you tell me which files I exactly need to download & burn to install a "normal" FreeBSD installation? Do I need all three *-disc[n] discs? If so, is there a DVD version available? Maybe I am wrong, but I feel it shouldn't be necessary to waste 3 CDs from installation if I have a high-speed permanent Internet connection. So wouldn't just 1 DVD-RW do? Anyway, I believe that I'll enjoy FreeBSD and I'm looking forward to see it on my home machine and on my testing machine @ work :-) Thanks for your time! Greetings, Alois "LennyCZ" Mahdal -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MTA on non-standard port
Hello, Quick thanks to Andrew Clark, Jeremy Chadwick, Tim Kellers, Jeff Goldberg, and anyone whose reply I've not seen re: this issue. Isn't hard, as several pointed out. Now I've sendmail listening on any port I want to. Problem is, still can't touch it from here (and you might have guessed, the base issue is a new provider of a lower-class service who I'm guessing only allows certain ports by default). So, I'm sure to have a frustrating couple hours with their tech support sometime Real Soon Now. Meantime, Mutt on the server via SSH is OK, I guess, for me, but no one else likes it ;-) Thanks again, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: audio streaming without kmplayer, etc???
On Sun, 26 Oct 2008, Gary Kline wrote: Only bleep-Doze or linux works, and I'd like a clue how to stream mp3 files using X browser on FBSD. If I try to stream or d/load with konq, it asks if I want to Save, Cancel, or use KMplayer. For most audio-- streams that last several minutes to two hours--KMplayer is fine. But for the few French language sites that stream one or two syllables at a time, I wind up with multiple KMplayers. (And linguist-dunce that I am, I'll reply a word or phrase 20-30 times. Yes, sorry, but I'm that bad. How do I stream an mp3 file without using a player Or is there a way? (I'd use Ubuntu 8.10, but the port is busted right now. Besides, it's time that it just-worked with FreeBSD. We've already got the most rock solid server OS; why can't we go the additional few centimeters? Maybe I'm misunderstanding the question, but mplayer-plugin has worked under Firefox for a long time now. If you have a URL, I can try it from here. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging <|> ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
audio streaming without kmplayer, etc???
Guys, Only bleep-Doze or linux works, and I'd like a clue how to stream mp3 files using X browser on FBSD. If I try to stream or d/load with konq, it asks if I want to Save, Cancel, or use KMplayer. For most audio-- streams that last several minutes to two hours--KMplayer is fine. But for the few French language sites that stream one or two syllables at a time, I wind up with multiple KMplayers. (And linguist-dunce that I am, I'll reply a word or phrase 20-30 times. Yes, sorry, but I'm that bad. How do I stream an mp3 file without using a player Or is there a way? (I'd use Ubuntu 8.10, but the port is busted right now. Besides, it's time that it just-worked with FreeBSD. We've already got the most rock solid server OS; why can't we go the additional few centimeters? gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WINE 21.1.5 QUESTION...
On Sun, Oct 26, 2008 at 11:50:13AM +0100, Tijl Coosemans wrote: > On Saturday 25 October 2008 03:55:26 Gary Kline wrote: > > Maybe somebody here can clue me in on how to get a 1998, windose3.1/w95 > > French-learning game to work on my newly built wine. I asked on the > > Ubuntu forums and altho somebody did try to help; Zip. > > > > I do not have a clue to the DOS-path; it's a CDROM and since I'm using > > the top CD/DVD optical drive, I'm guessing that it D:\; right? since C:\ > > would be the harddrive. > > > > Otherwise, no clue. The disc is due back at the library soon so I want > > to make the most of it ... even if it does crash every 355 minutes! > > You can setup drive letters using the drives tab in winecfg. > So, insert cdrom, mount it, run winecfg and assign a drive letter > to the mount point. If you have hal/dbus enabled most of this is > done automatically. hal/dbus are going. How do I mount the cdrom on C:\ ? I've already run winecfg and sound works, selected "Windows 95". -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to restore a lost root password...
On Sun, Oct 26, 2008 at 09:18:25PM +0100, Rada alive wrote: > > I have seen a "How to" about this but I have a problem, i set the console > > to insecure, so when I try to do the step of the "how to" i get a message > > to input the root password or Ctrl-D to enter in multiuser mode. > > What happened to just booting into single-user mode and issuing passwd? The OP made a point of letting us know that he has marked his console `insecure' in /etc/ttys. In order to even get a shell in single user, he needs the root password. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpdPWpeb3Vw7.pgp Description: PGP signature
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
David Christensen wrote: > mdh wrote: >> The answer is to upgrade your devel/glib20 port to the latest version, >> then try to install or upgrade libgiofam, then install the other >> software. > > Thank you for your response. :-) > > > Here's my attempt to carry out your suggestions: > > 20081026-122203 [EMAIL PROTECTED] ~ > # portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Since I use csup and have no experience with portsnap I can't speak to it's efficacy. > Building new INDEX files... done. > > 20081026-122344 [EMAIL PROTECTED] ~ > # cd /usr/ports/devel/glib20 > > 20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20 > # make If you previously had glib20-2.14.6 installed, you will need to do a 'make deinstall' prior to 'make reinstall'. > gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.16.5' > > 20081026-125854 [EMAIL PROTECTED] /usr/ports/devel/glib20 > # cd ../gio-fam-backend This is wrong somehow. You should be able to make && make deinstall && make reinstall the glib20 port without it going anywhere else. > 20081026-125954 [EMAIL PROTECTED] /usr/ports/devel/gio-fam-backend > # make Also please note that both the glib20 port *and* the gio-fam-backend both utilize the same glib20 tarball. It's just you need to build/install the glib20 (current version == 2.16.5) port first, then follow up by doing the gio-fam-backend port. Something is wrong with your setup as I just successfully built the gio-fam-backend port on my test machine with no difficulties encountered. -Mike [snip] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to restore a lost root password...
On Sun, Oct 26, 2008 at 5:08 AM, FBSD1 <[EMAIL PROTECTED]> wrote: > Go to www.a1poweruser.com and read section 13.7 Forgot Root password > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of DSA - JCR > Sent: Saturday, October 25, 2008 9:56 PM > To: freebsd-questions@freebsd.org > Subject: How to restore a lost root password... > > Hi all > > I have lost the neuron where I stored the root password of an installation > ;D > > I have seen a "How to" about this but I have a problem, i set the console > to insecure, so when I try to do the step of the "how to" i get a message > to input the root password or Ctrl-D to enter in multiuser mode. > > Is there a way to restore/modify it, or not? > > Some ideas? > > > Thanks in advance > > Juan Coruña > Desarrollo de Software Atlantico > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > What happened to just booting into single-user mode and issuing passwd? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
David Christensen <[EMAIL PROTECTED]> wrote: > mdh wrote: >> The answer is to upgrade your devel/glib20 port to the latest version, >> then try to install or upgrade libgiofam, then install the other software. >> > > Thank you for your response. :-) > > Here's my attempt to carry out your suggestions: > > 20081026-122203 [EMAIL PROTECTED] ~ > # portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > ... > Building new INDEX files... done. > > 20081026-122344 [EMAIL PROTECTED] ~ > # cd /usr/ports/devel/glib20 > > 20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20 > # make > ... Do these ellipses include a 'make install'? Otherwise, that is likely your problem; devel/glib20 is not actually installed. -- Sahil Tandon <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
mdh wrote: The answer is to upgrade your devel/glib20 port to the latest version, then try to install or upgrade libgiofam, then install the other software. Thank you for your response. :-) Here's my attempt to carry out your suggestions: 20081026-122203 [EMAIL PROTECTED] ~ # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. ... Building new INDEX files... done. 20081026-122344 [EMAIL PROTECTED] ~ # cd /usr/ports/devel/glib20 20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20 # make ... gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.16.5' 20081026-125854 [EMAIL PROTECTED] /usr/ports/devel/glib20 # cd ../gio-fam-backend 20081026-125954 [EMAIL PROTECTED] /usr/ports/devel/gio-fam-backend # make ===> Building for gio-fam-backend-2.16.5 /bin/sh ../../libtool --tag=CC --mode=link cc -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. /.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS -DGIO_MODUL E_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O 2 -fno-strict-aliasing -pipe -Wall -export_dynamic -avoid-version -module -no-un defined -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lin tl -o libgiofam.la -rpath /usr/local/lib/gio/modules libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfa mfilemonitor.lo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam rm -fr .libs/libgiofam.exp generating symbol list for `libgiofam.la' /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A- Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs /libgiofam.exp /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > ".libs/ libgiofam.expT" mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .lib s/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl, --rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/ local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/l ibglib-2.0.so /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so -Wl,-retain -symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. So, I'm back where I started -- /usr/bin/ld: cannot find -lgio-2.0 Any suggestions? David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disappearing mouse pointer
Robert wrote: On Mon, 20 Oct 2008 10:38:39 -0700 Robert <[EMAIL PROTECTED]> wrote: Greetings FreeBSD When running XFCE4 I will lose the mouse pointer at times. This will only happen when I have the driver set to "nv" in xorg.conf. The mouse will still work as I can see where it is when I pass over icons and watch them highlight. If I can stop on an icon, I can click and it works. If I drop out of the XFCE4 using ctl-alt-backspace, the mouse pointer appears and all is well. If I restart the XFCE4, there is no pointer. If I change the driver to "vesa" and restart then I have a pointer again. The only way I have found to regain the pointer using "nv" is to reboot. All ports are up to date and I am running amd64 RELENG_7 as of last Saturday. uname -a FreeBSD asus64.shasta204.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Sat Oct 18 13:31:00 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 If I should have posted to a different list please let me know. I have also attached my xorg.conf. TIA Robert > > Five days and no responses, so maybe more information. On this computer > I have on board GeForce 6100. > > [EMAIL PROTECTED]:0:5:0: class=0x03 card=0x81bf1043 > chip=0x024210de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' > device = 'GeForce 6100' > class = display > subclass = VGA > > I have the same exact release and ports running on a different computer > equipped with a GeForce 6800 XT in an AGP slot without a problem. The > big difference is that other computer is running i386. It is using "nv" > driver without any problems. > > Can anyone point me in the right direction. Feel free to tell me where > to go. :-) > > Thanks > Robert > This seems like a very strange problem. Let's try focusing on XFCE first. Are any processes conflicting with drawing something on the screen, from your description it seems like XFCE is a problem, but do other window managers do the same thing ? If it's not wm specific then I'd try chasing down the developers of xf86-video-nv . Here is a starting point : http://www.t2-project.org/packages/xf86-video-nv.html Does the driver support any sort of 'debug' mode that you could log to file ? Taking a walk through xf86-video-nv, it looks like there are a few bitshift and & operators that use pointer and move things to and fro. ( in 64-bit land that maybe these moves should be handled differently ? Or are these magic numbers? ) Take a look into the source, nv_cursor.c Examining these lines : #if X_BYTE_ORDER == X_BIG_ENDIAN if ( m & 0x8000) *dst = ( b & 0x8000) ? pNv->curFg : pNv->curBg; else *dst = TRANSPARENT_PIXEL; This case draws the pixel transparently if it fails the test -- which seems to coincide with what you're seeing. This is just a wild guess, it could be used elsewhere though with the same affect. But then again, since this is working at all, then it may point to 1. the wm 2. Xorg may have a problem reporting it to the wm Hope it helps. Report back if you have any progress. Later, Bryant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WINE 21.1.5 QUESTION...
On Fri, 24 Oct 2008 18:55:26 -0700 Gary Kline <[EMAIL PROTECTED]> wrote: > > Maybe somebody here can clue me in on how to get a 1998, > windose3.1/w95 French-learning game to work on my newly built wine. > I asked on the Ubuntu forums and altho somebody did try to help; Zip. > > I do not have a clue to the DOS-path; it's a CDROM and since > I'm using the top CD/DVD optical drive, I'm guessing that it D:\; > right? since C:\ would be the harddrive. I don't know that you actually need to know that. I think you could probably just mount the disk, cd to it, and install or run it from the command line. > Otherwise, no clue. The disc is due back at the library soon > so I want to make the most of it ... even if it does crash every 355 > minutes! You might also try dosbox if the game is DOS compatible. In the mid-nineties at lot of games were either pure DOS applications or had separate windows/dos binaries on the disk, 1998 is a bit late for this though. > The disc is due back at the library soon I doubt anyone would care if you copied it at this stage. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
--- On Sun, 10/26/08, David Christensen <[EMAIL PROTECTED]> wrote: > From: David Christensen <[EMAIL PROTECTED]> > Subject: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find > -lgio-2.0 > To: "Freebsd-Questions" > Date: Sunday, October 26, 2008, 2:10 PM > freebsd-questions: > > If I understand the above, the linker is unable to find the > file > gio-2.0. STFW I found something similar: > The answer is to upgrade your devel/glib20 port to the latest version, then try to install or upgrade libgiofam, then install the other software. - mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
On Sun, Oct 26, 2008 at 11:10:48AM -0700, David Christensen wrote: > freebsd-questions: Try freebsd-ports for this question, as your issue is with a port. :-) -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0
freebsd-questions: I am attempting to build a desktop machine using FreeBSD 7.0-RELEASE (GENERIC) and am having trouble building firefox3: 20081026-104652 [EMAIL PROTECTED] /usr/ports/www/firefox3 # make ===> firefox-3.0.3,1 depends on package: nspr>=4.7 - found ===> firefox-3.0.3,1 depends on executable: zip - found ===> firefox-3.0.3,1 depends on executable: gmake - found ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/printproto. pc - found ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/sm.pc - fou nd ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - fou nd ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/xi.pc - fou nd ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - f ound ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - fo und ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - fo und ===> firefox-3.0.3,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> firefox-3.0.3,1 depends on file: /usr/local/bin/perl5.8.8 - found ===> firefox-3.0.3,1 depends on file: /usr/local/bin/intltool-extract - found ===> firefox-3.0.3,1 depends on executable: pkg-config - found ===> firefox-3.0.3,1 depends on executable: update-desktop-database - not foun d ===>Verifying install for update-desktop-database in /usr/ports/devel/deskto p-file-utils ===> Installing for desktop-file-utils-0.15_1 ===> desktop-file-utils-0.15_1 depends on executable: pkg-config - found ===> desktop-file-utils-0.15_1 depends on file: /usr/local/lib/gio/modules/lib giofam.so - not found ===>Verifying install for /usr/local/lib/gio/modules/libgiofam.so in /usr/po rts/devel/gio-fam-backend ===> Building for gio-fam-backend-2.16.5 /bin/sh ../../libtool --tag=CC --mode=link cc -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. /.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS -DGIO_MODUL E_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O 2 -fno-strict-aliasing -pipe -Wall -export_dynamic -avoid-version -module -no-un defined -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lin tl -o libgiofam.la -rpath /usr/local/lib/gio/modules libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfa mfilemonitor.lo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam rm -fr .libs/libgiofam.exp generating symbol list for `libgiofam.la' /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A- Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs /libgiofam.exp /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > ".libs/ libgiofam.expT" mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .lib s/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl, --rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/ local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/l ibglib-2.0.so /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so -Wl,-retain -symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. *** Error code 1 Stop in /usr/ports/devel/desktop-file-utils. *** Error code 1 Stop in /usr/ports/www/firefox3. *** Error code 1 Stop in /usr/ports/www/firefox3. If I understand the above, the linker is unable to find the file gio-2.0. STFW I found something similar: http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048813.html But I don't understand the answer: http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048814.html and I don't know if it is applicable -- I have been attempting KDE, not Gnome. But, I'll use any desktop that supports Firefox, Thunderbird, and Open Office. Any suggestions? David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: restrict FreeBSD users to their home directory
On Sun, 26 Oct 2008 14:14:50 +0100 Roland Smith <[EMAIL PROTECTED]> wrote: > On Sun, Oct 26, 2008 at 08:19:51PM +0800, joeb wrote: > > >> > I don't want them to be able see any system directories or other > >> > users? > >> > >> User directories are by default both owned by the user and belong > >> to the user's group. So you can set the umask for every user so > >> that their files are not accessible to others. > >> > >> You cannot block read and execute access to a lot of system files > >> (binaries, libraries, /usr/[local/]share/) without making the > >> system useless. > >> > >> What is the problem you're trying to solve? Blocking read access to > >> system files is almost certainly the wrong solution. > >> > > Want to keep all the users from being able to see anything outside > > of their home directory using gnome or kde desktop. > > I ask again, why? The only thing I can imagine is that he is worried about the privacy of other users files. If that is the case a chmod 700 on the directories and a chmod 600 on the (user) files would give a little privacy for others. It's very difficult to see each others files that way. As you already stated: system files are a totally different story. Users should not have to worry about them. > Realize that if the users have physical access to the machine, these > security measures are _useless_. A hostile user could take out the > harddisk, put it in a machine where he has a root account and read all > the disk's contents (unless it's encrypted). You're right here but I get the feeling this is beside the point of the OP question. ;-) -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxce snv99 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WINE 2 1.1.5 QUESTION...
On Fri, 24 Oct 2008 18:55:26 -0700, Gary Kline <[EMAIL PROTECTED]> wrote: > I do not have a clue to the DOS-path; it's a CDROM and since I'm using > the top CD/DVD optical drive, I'm guessing that it D:\; right? since C:\ > would be the harddrive. It's a long long time ago that I've used wine, mostly for gaming-experiments. But I remember a kind of symlink strukture inside ~/.wine called dosdevices/ that included pointers to directories, e. g. the system's root directory and the user's home directory, and maybe mountopoints (or device files?) of removable media. Maybe it is documented in "man wine" how to use this? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: duplicate a drive
On Sat, 25 Oct 2008 08:07:34 +0100 Matthew Seaman <[EMAIL PROTECTED]> wrote: > RW wrote: > > On Fri, 24 Oct 2008 12:19:23 -0600 (MDT) > > Warren Block <[EMAIL PROTECTED]> wrote: > > > >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK > >> > > > > "The best way is to reinstall the OS on the new disk, then move the > > user data over. This is highly recommended if you have been > > tracking -STABLE for more than one release, or have updated a > > release instead of installing a new one." > > > > > > "Highly recommended" seems a very strange thing for the FAQ to be > > saying. It's implying that FreeBSD base-system upgrades are a > > bit flaky. It even goes on "Should you decide not to do a fresh > > install", as if to say "you have been warned". > > > > Unless my experience is abnormal, we seem to be publishing our own > > FUD. > > When does a valid assessment of the difficulty of a certain course of > action turn into an unjustified attempt to spread Fear, Uncertainty > and Doubt? This is not FUD because it is absolutely true. You will > get better results by making a new install on your new hard drive and > merging over your data. ... install 7.x into a disk layout originally > designed for 4.x you ... change from UFS1 to UFS2 ... across major > version numbers I don't think anyone would dispute that a new disk is a good opportunity to avoid a major release upgrade, or to fix problems on a very old installation. What it says is: "highly recommended if you ... have updated a release". If you have a system that's been across a few minor releases and is working well, I would think the risks of screwing it up on a reinstall greatly outweigh any benefits - particularly if it involves reinstalling a lot of ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: restrict FreeBSD users to their home directory
On Sun, Oct 26, 2008 at 08:19:51PM +0800, joeb wrote: >> > I don't want them to be able see any system directories or other users? >> >> User directories are by default both owned by the user and belong to the >> user's group. So you can set the umask for every user so that their >> files are not accessible to others. >> >> You cannot block read and execute access to a lot of system files >> (binaries, libraries, /usr/[local/]share/) without making the system >> useless. >> >> What is the problem you're trying to solve? Blocking read access to >> system files is almost certainly the wrong solution. >> > Want to keep all the users from being able to see anything outside of > their home directory using gnome or kde desktop. I ask again, why? As outlined above, you can easily keep users from poking around in other's files. Realize that if users cannot read anything outside their home directory, they cannot start programs in the system directories! And since normal users do not have write access to system directories or files, they can do little harm. System files that users shouldn't have access to (e.g. /etc/master.passwd) are already chmod-ed so that only root has access. You could put every user in a jail(8), but that would be a significant effort depending on the amount of applications they need. Realize that if the users have physical access to the machine, these security measures are _useless_. A hostile user could take out the harddisk, put it in a machine where he has a root account and read all the disk's contents (unless it's encrypted). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpH6cpDlb9NA.pgp Description: PGP signature
RE: restrict FreeBSD users to their home directory
On Sun, Oct 26, 2008 at 12:13:17PM +0800, FBSD1 wrote: > How do it configure FreeBSD to restrict users to their home directory? You can give the users rbash as their shell. This will restrict them to their home directory. But this can be easily broken out of if the user starts another shell! So you should disable all other shells for normal users. Otherwise you could put the users in a jail of their own. But they will still need system files (which they can see) in the jail for it to be usable. > I don't want them to be able see any system directories or other users? User directories are by default both owned by the user and belong to the user's group. So you can set the umask for every user so that their files are not accessible to others. You cannot block read and execute access to a lot of system files (binaries, libraries, /usr/[local/]share/) without making the system useless. What is the problem you're trying to solve? Blocking read access to system files is almost certainly the wrong solution. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roland Smith Sent: Sunday, October 26, 2008 4:54 PM To: FBSD1 Cc: [EMAIL PROTECTED] ORG Subject: Re: restrict FreeBSD users to their home directory Want to keep all the users from being able to see anything outside of their home directory using gnome or kde desktop. For a test I vipw a test user changing their /bin/csh to /usr/local/bin/rbash. I logged on ok to the test user and started gnome ok. But from the menu system filesystem app I still could access root and /etc directories. From the command line of the rbash test user a cd command responded with restricted comment. It seems rbash restrictions do not also restrict directory access from within gnome. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Gimp-help not working after portupgrade
As a follow-up to my last post I've discovered something very odd. If I run gimp from a terminal window using just the command gimp then I can access the local help files with no problem (but still can't load any files via http). If I run gimp from the KDE menu (or by pressing ALT+F2 and typing gimp into the run dialog then I get the "The GIMP user manual is not installed" error as before. I've tried to "run truss -p" on the process started from the KDE menu but truss aborts with a message "Cannot malloc -33677376 bytes for pollfd array: Cannot allocate memory" - yes thats a minus sign in front of 33677376). Any suggestions where I go from here? -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WINE 21.1.5 QUESTION...
On Saturday 25 October 2008 03:55:26 Gary Kline wrote: > Maybe somebody here can clue me in on how to get a 1998, windose3.1/w95 > French-learning game to work on my newly built wine. I asked on the > Ubuntu forums and altho somebody did try to help; Zip. > > I do not have a clue to the DOS-path; it's a CDROM and since I'm using > the top CD/DVD optical drive, I'm guessing that it D:\; right? since C:\ > would be the harddrive. > > Otherwise, no clue. The disc is due back at the library soon so I want > to make the most of it ... even if it does crash every 355 minutes! You can setup drive letters using the drives tab in winecfg. So, insert cdrom, mount it, run winecfg and assign a drive letter to the mount point. If you have hal/dbus enabled most of this is done automatically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gmirror + subset of partitions gjournal'd, autosync setting?
I've built a GEOM mirror on a single slice of a single disk and am about to insert the second disk. Of the partitions in the mirror, I made only a few of them gjournal'd. I've seen it recommended that one disable autosynchronization for the mirror if using journaled filesystems. 1. Is that recommendation a must or a nice-to-have? What are the actual consequences of not taking that advice? 2. In a case like mine, the non-journaled partitions need autosychronization enabled to benefit from being mirrored, right? 3. Exactly how would I disable autosynchronization for the journaled partitions in the mirror, but not for the rest? Carl / K0802647 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: restrict FreeBSD users to their home directory
On Sun, Oct 26, 2008 at 12:13:17PM +0800, FBSD1 wrote: > How do it configure FreeBSD to restrict users to their home directory? You can give the users rbash as their shell. This will restrict them to their home directory. But this can be easily broken out of if the user starts another shell! So you should disable all other shells for normal users. Otherwise you could put the users in a jail of their own. But they will still need system files (which they can see) in the jail for it to be usable. > I don't want them to be able see any system directories or other users? User directories are by default both owned by the user and belong to the user's group. So you can set the umask for every user so that their files are not accessible to others. You cannot block read and execute access to a lot of system files (binaries, libraries, /usr/[local/]share/) without making the system useless. What is the problem you're trying to solve? Blocking read access to system files is almost certainly the wrong solution. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpdbHY9hcHV8.pgp Description: PGP signature