Re: [expert] chown for normal users
Deryk Barker wrote: > > Thus spake Matt Stegman ([EMAIL PROTECTED]): > > > On Fri, 19 May 2000, Brian T. Schellenberger wrote: > > > ... > > > > I don't think it's wrong. How would you like to have a user write a > > > > setuid script and then make you the owner? > > > > > > That's *exactly* what *he* should be able to. So long as *I* can't me > > > me the owner of "his* files, I don't see the problem. > > > > So I can: > > > > $ cp /bin/sh /tmp/sh > > $ chmod 4755 /tmp/sh > > $ chown root /tmp/sh > > $ /tmp/sh > > # > > > > Is this correct, intended behavior on HP-UX? You can do all of those steps without any error messages, but it's not a huge security hole becuase the "chown" automatically turns off the SUID bit. > Not to mention the question of quota. Can anyone "give" you a massive > file and chew up all your remaining quota? Good point. Yes, as far as I can tell, it will happily let you do this. I now see that this is more complex than I at first thought, and I am willing to concede the advantages to the Mandrake/Linux/GNU approach, though it's not what I expected. Does anybody know the history of this? -- "Brian, the man from babble-on" [EMAIL PROTECTED] Brian T. Schellenberger http://www.babbleon.org Support http://www.eff.org. Support decss defendents. Support http://www.programming-freedom.org. Boycott amazon.com.
[expert] AppleTalk on Linux
Is Mandrake 7 compatible with netatalk-1.4b2+asun2.1.3.tar.gz ? This is suppose to be RedHat ready, but is it Mandrake ready?
Re: [expert] Grub and noprobe
Dave Lers wrote: > > What is the equivalent of append="hdb=noprobe" when using Grub? According to my grub docs you can add boot parameters to the /boot/grub/menu.lst just by entering the parameter itself without the append equals. For example to boot with the aha152x module, edit the menu.lst and add aha152x=0x340,7,1,1,0 to the kernel boot line and save the changes. So apparently you don't need the "append=" Be sure to specify the partition in the manner that grub addresses these matters: Disks are specified as (hdN) where N is the number of the disk starting at 0. Your first disk is (hd0). In general, N matches BIOS device 0x8N (0x80, 0x81,...). /boot/grub/device.map reflects the assumed mapping to Linux devices and can be tuned by hand if necessary. Please note also that grub does not distinguish between ide and scsi harddrives. It uses the same syntax for both types of drives. The listing below compares the /dev/hd? designation used in lilo to the (hdN) used in Grub: /dev/hda = hd0 /dev/hdb = hd1 /dev/hdc = hd2 /dev/fd0 = fd0 Partitions are specified with (hdN,Y) where 'N' is the (N+1)th harddisk and Y is the partition starting with 0. The first partition on the first disk is specified by (hd0,0). /dev/hda1 = (hd0,0) /dev/hda2 = (hd0,1) /dev/hdb1 = (hd1,0) /dev/hdb2 = (hd1,1) HTH, Armand -- If I abhor evil, am I therefore... good! Armand - Interview with a Vampire Thu Jun 1 20:35:00 MDT 2000
Re: [expert] Other MTA choices
what good is Postfix if you can't even get your mail?? On Wed, 24 May 2000, Anton Graham wrote: > Submitted 24-May-00 by James: > | How come Mandrake favors sendmail over better mail programs like qmail? > | I'd love to see Mandrake use qmail instead of sendmail for the Mail > | Transfer Agent of choice. Or maybe even *more* choices than sendmail and > | postfix. > > Actually, the preference is for postfix. Some Mandrake staffers > actually think of sendmail as a security hole at best :) > > -- >_ > _|_|_ > ( ) *Anton Graham > /v\ / <[EMAIL PROTECTED]> > /( )X > (m_m) GPG ID: 18F78541 > Penguin Powered!
[expert] Re: No List Mail
Hello, I seem to be having problems receiving list mail. Is anyone else experiencing the same problem?? Pj [EMAIL PROTECTED]
Re: [expert] Partition Table
Norm, I agree. Using PM makes the hard work obsolete. If you don't use a nice partitioning program like PM, then you will have to use Linux fdisk and apply all the rationale previously mentioned in Laurent's E-mail. By all means, use PM if you have it. I haven't seen a more wonderful program. You can even copy the necessary files from the CD on to a diskette. This will save you from installing the files onto a Windows/DOS partition on your HD...it will save you from installing Windows/DOS at all (if you want to avoid the MS OS's). Just my $.02, Matt >From: Norman Carver <[EMAIL PROTECTED]> >Reply-To: Norman Carver <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [expert] Partition Table >Date: Wed, 31 May 2000 14:36:14 -0500 (CDT) > >Laurent: > > Well, I don't know about others but it sure was enlightening to me. Now >I > > have to make a decision: > > > > Fiddle with the partition tables using partition magic to try and set >things > > straight or reinstall the whole thing. I think I'll be going with option >B. > > My swap space is too large and there are some other issues to contend >with > > also. Oh well, that's what this whole thing is about. At least I'm not > > reinstalling for a stoopid reason. > >I don't know what your "other issues" are, but if you have >access to PM, fixing your problem will require <<5min of >your time. Just queue up the 4-5 actions you need done and >walk away from your machine for a while. Trivial to do. >Also, you don't need to devote all of the currently unused >space to swap, once you expand the extended partition you can >create a swap partition and another linux partition that you >can mount and use for some part of your file system. Or you >can even expand your fat partition instead. > >Unless there is something seriously wrong with your linux install, >I see no point in spending vastly more time to fix a rather >simple problem. > >Of course, it is your time to do with as you please. However, >let me again say that fixing your problem with PM is extremely >trivial to do. > >Norm Carver >([EMAIL PROTECTED]) > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
[expert] A modest security idea for new distribution
Hi, I've been reading all the security info on Outlook virii recently, installing procmail traps for my users, and discussing with friends the possibility of such threats appearing on Linux (and unices in general). While the probability of somebody writing an e-mail client that would lauch executables with a single click is (hopefully) a remote one, and it really takes some effort and a lot of stupidity to use '/bin/sh' as your Netscape viewer for 'application/x-sh', it seems certain that at some time in the future Linux will be the target of virus attacks of sorts. Now, I think one could try (apart from educating users and avoiding risky 'features' in programs) to help users make their valuable data more secure by using ext2 file attributes and Linux access rights. What I mean is a smallish graphic utility somewhere on the Mandrake desktop (it would be great if someone added this to graphic filemanagers too) that would let the user to, say, 'lock/seal/secure this directory/file' by removing write access (dirs) and executing 'chattr +i' (files) through a grpahic 'su' wrapper (ksu/gsu). In a graphic manager, such directories/files could be marked in a special way. Access rights prevent the hypothetical virus from destroying the whole system, but what counts most for a user is his own data, after all. A tool like above (or a filemanager feature) would IMVHO go a way towards avoiding data loss catastrophies, not only virii-related - a mistyped 'rm -f' would also be less dangerous that way. All it would take would be for the user to 'lock' those directories they can't afford to lose. What do you think? -- Grzegorz Staniak <[EMAIL PROTECTED]>
[expert] helix-gnome
I have a problem installing helix-gnome. The instructions are straight forward. After logging on as root, I ran the script and after download was complete I got these messages. Is there something wrong??? Installer extracted into /tmp/installer.2299. Running Gdk-WARNING **: local not supported by C library Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0.0 ==>Cleaning up temporary files...done. Help?? Leith [EMAIL PROTECTED]
Re: [expert] SawFish problem
On Wed, 31 May 2000, Espen Knut Trydal wrote: > I've got a dependency problem while installing sawfish-0.27.2-1mdk.i586.rpm > > This is the error message I get: > *** > rpmerror: failed dependencies: > /usr/sbin/install-menu is needed by sawfish-0.27.2-1mdk > *** > What kind of package is that??? You need the menu package. Grab it from cooker. It's the new menu system being used in 7.1. -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721 Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org
[expert] PHP help
Sorry, probably wrong list but... I need a little help with PHP. I'm trying to make a PHP-based counter for my web page but want it based on unique visits (not refreshes, etc.) I'm storing the IP address in the MySQL table and want to compare the current IP to the last IP address stored in the database, so this is what I'm currently using (but it doesn't work): $curip = getenv('REMOTE_ADDR'); if ($ip != $curip) { $count = $count + 1; } But it increases on every refresh. I don't see a different comparison operator for strings (like in perl), otherwise I'd use "ne" instead of "!=". Does anyone know why this isn't working? Thanks in advance. -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721 Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org
[expert] Printing with hp820Cxi winprinter/pbm2ppa driver
Is there someone who made this printer work in Mandrake? If i pipe a file into the driver it prints just fine, but integrating it in printtool as described in the howtos is not so easy, i also tried the hard way by making all the directory's and editing em damn config files, but it was a waste. Frode Haugsgjerd Norway
[expert] realplayer for linux
im trying to instal rv50.redhat5xi386.rpm kpackage claims i need libg++.so.2.7.2 ive had no luck localizing a package containing this file, is there a newer version of realplayer or anything else that would help?
Re: [expert] Partition Table
I was under the impression that you can change a primary partition to an extended partition in order to create voluminous logical partitions within that extended partition. I use PM5, and it looks like this is what PM5 does. Is this correct? I don't claim to be an expert on partitioning, Matt >From: Charles Curley <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: Expert mailing list <[EMAIL PROTECTED]> >Subject: [expert] Partition Table >Date: Wed, 31 May 2000 10:34:39 -0600 > >Since I have inadvertently caused a bit of a flap and some consternation, >let's see if I can document how partitioning works on PCs. If anyone can >fill in my question marks, or correct me, please do. > >Any one hard drive on a PC can have up to 63 partitions on it, not all of >which can hold file systems. These come in three flavors: primary, >extended and logical. This is Microsoft's terminology, so don't expect it >to make sense. This scheme grew up, one could say, metastasized, over the >years. The culprits include Microsoft, Digital Research and others. As I >have just shown, it is confusing even to those who think they know what >they are doing. > >At most one partition with a file system on it may be marked >bootable. BIOS, boot loader (e.g. lilo, System Commander) and operating >system limitations may prevent a marked partition from booting, however. > >Primary partitions are numbered from one to four only. Each may hold one >and only one file system, of any type. There must be at least one primary >partition on a hard drive. Due to limitations of Mess-DOS and Windows 9x, >these operating systems are often placed on the first primary partition. > >Extended partitions may also be numbered from one to four. (I have never >seen partition one made an extended partition, and have not done any >experiments on the point, so I could be wrong about that.) Extended >partitions are containers for logical partitions. As such they do not >contain file systems themselves. > >The sum of primary and extended partitions may not be greater than four. > >Logical partitions are contained within extended partitions. I conjecture >that you can have up to 16 (64 total possible partitions divided by 4 >possible extended partitions) logical partitions to an extended partition, >but have never tested this. > >Logical partitions may not overlap with other logical partitions >Similarly, extended partitions may not overlap each other, nor may primary >partitions overlap each other. Primary and extended partitions may not >overlap each other. > >A logical partition must be wholly contained within one and only one >extended partition. > >So the way to verify a partition table is: > >* Identify the primary and extended partitions, one through four. Check > for overlaps between them. > >* Identify the logical partitions, 5 through 63 inclusive. Check for > overlaps between them. Check that each partition is wholly contained > within its extended partition. > >* Check that one and only one partition is bootable. Check that the boot > loader will support that partition. > > >That done, and with the high probability of corrections to come, let's >see Laurent's original partition table looks like. > >Disk /dev/hda: 240 heads, 63 sectors, 1299 cylinders Units = cylinders of >15120 * 512 bytes > >Device BootStart EndBlocks Id System >/dev/hda1 1 277 2094088+ 6 FAT16 >/dev/hda2 278 556 21092405 Extended >/dev/hda3 * 557 563 52920 83 Linux >/dev/hda4 564 1268 5329800 83 Linux >/dev/hda5 278 556 2109208+ 7 HPFS/NTFS > >hda1 Primary.No overlaps. >hda2 Extended. Does not overlap with any primary or extended partitions. >hda3 Primary.No overlaps. >hda4 Primary.No overlaps. >hda5 Logical.Contained entirely within, and fills up entirely HDA2, > and does not overlap any other partitions. > >OK, now that I have done all that, I see the mistake I made earlier. I >incorrectly identified hda3 and hda4 as extended partitions when they are >in fact primary partitions. > >My apologies to Laurent, and my thanks > >-- > > -- C^2 > >No windows were crashed in the making of this email. > >Looking for fine software and/or web pages? >http://w3.trib.com/~ccurley > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
[expert] Use of multiple ISP's
Can anybody assist in a project that I am in the process of setting up. The requirement is to compare up to 12 ISP's downloading news and email. The software I am looking at using is for email either Postfix, Qmail or Sendmail and for news either INN or Leafnode. Any suggestions about how to go about this would be most welcome. -- __ | Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ | ~~ =-=-=-=-=-=-=-=-=-Brent Murray=-=-=-=-=-=-=-=-=-= | Webmaster of | | The Unofficial British Armed Forces ICQlist | | | | Website: http://come.to/brents | | ICQ: 2942935 | | Our county is called Lancashire, not Cumbria, | |Greater Manchester, or part of Cheshire. | [EMAIL PROTECTED]=-=-=-=-=-=
Re: [expert] SawFish problem
Thanks, Anton!!! That did the trick! BTW, with a 56k modem, does anyone know how long it takes to download Helix-Gnome? tor, 01 jun 2000, skrev du : > Submitted 31-May-00 by Espen Knut Trydal: > | Hello all, > | I've got a dependency problem while installing sawfish-0.27.2-1mdk.i586.rpm > | > | This is the error message I get: > | *** > | rpmerror: failed dependencies: > | /usr/sbin/install-menu is needed by sawfish-0.27.2-1mdk > | *** > | What kind of package is that??? > | > | Thanks in advance > > It's not a package. There are two different ways of defining things > that an RPM needs: > > First is Requires. These are packages or virtual packages (set by > Provides) > > Second is Prereq. These prerequisites aren't for a specific package, > but for a specific file. > > My guess is that you are trying to install the shiny new sawfish on a > 7.0 or earlier system without the new menu system. > > [anton@bladehawke anton]$ rpm -qf /usr/sbin/install-menu > menu-2.1.5-19mdk > > Grab the menu rpm from cooker :p > > -- >_ > _|_|_ > ( ) *Anton Graham > /v\ / <[EMAIL PROTECTED]> > /( )X > (m_m) GPG ID: 18F78541 > Penguin Powered!
[expert] Partition problem solved!
Hi all, With everyone's wise words and help an some private email from a couple of you (Pj, Civileme, and Norman Carver in particular), I was able to resize my partitions with Partition Magic (which is truely magic) and add me some swap space in the process. I'm hoping that my original ld.so problems have disappeared. I won't know until I start trying to swap, though. Thanks again and this is what my new partitions look like. :-) Disk /dev/hda: 240 heads, 63 sectors, 1299 cylinders Units = cylinders of 15120 * 512 bytes Device BootStart EndBlocks Id System /dev/hda1 1 277 2094088+ 6 FAT16 /dev/hda2 278 574 22453205 Extended /dev/hda3 * 575 577 22680 83 Linux /dev/hda4 578 1299 5458320 83 Linux /dev/hda5 278 556 2109208+ 7 HPFS/NTFS /dev/hda6 557 574136048+ 82 Linux swap -- Laurent Duperval "Montreal winters are an intelligence test, U|Force - Java Center and we who are here have failed it." Phone: (514) 282-8484 ext. 228 -Doug Camilli mailto:[EMAIL PROTECTED] Penguin Power!
[expert] IP Masq / networking
Quick question, Am currently setting up my home network with IP Masq. etc. to have access to my DSL line. I have a single machine that is used for a gateway (and normal workstation) with 2 NIC's. One is attached to my DSL modem, the other is attached to my hub. The question is, when I assign a gateway addy to my networked boxes which addy do I use? the DSL, the NIC attached to the DSL or the NIC attached to the hub? I know, real basics here but I've been running on stupid for a couple of months now and it's the simple things that trip me. (I'd go off the deep end if I knew how to swim 8-) TIA -- Joseph S. Gardner Senior Designer / Technical Support Kirby Co., Cleveland, OH [EMAIL PROTECTED] Linux is like a wigwam... No windows, no gates. Apache inside Registered linux user #1696600 ICQ #63389227
Re: [expert] custom / server install
"Brian T. Schellenberger" wrote: > Well, what is "half" a GUI, then? When I did my server install of my > gateway machine, I deliberately clobbered X via "expert" mode so I just > guessing. > > Is it perhaps just a different WM than you are used to, or even X > without a WM? > > "Joseph S. Gardner" wrote: > > > > "Brian T. Schellenberger" wrote: > > > > > Logically speaking, there's no reason for a server install to install a > > > GUI. > > > > > > If you don't really want a server, you probably should pick another > > > install type. > > > > > > The "half" GUI was probably just the text-mode graphic of the penguin, > > > right? > > > > > > "Joseph S. Gardner" wrote: > > > > > > > > just for grins I tried a custom / server install last night on a new > > > > system I'm building and all I got was a text window asking for a > > > > username/password which then logged me in but only had "half" a GUI > > > > appearance. What's up with this, did something get dropped during the > > > > install or is this all that's supposed to be there? > > > > > > > > > > > No, I actually had a couple of terminal windows going. Hmmm, strange. > > > > The reason for the server experiment was that I want to run a NFS/NIS setup > > for the home network and was curious what I would get. > > It could have been just X w/o a WM. Never thought of that. Had to Ctrl/Alt/F2 it to get it to exit via a shutdown. Must admit thought that I didn't try a Ctrl/Alt/Backspace to exit X, it just didn't look right. Oh well, I've reinstalled and am back to experimenting, may finally try to recompile the kernel a couple of times now that I'm not using the machine for "production". Caio, -- Joseph S. Gardner Senior Designer / Technical Support Kirby Co., Cleveland, OH [EMAIL PROTECTED] Linux is like a wigwam... No windows, no gates. Apache inside Registered linux user #1696600 ICQ #63389227
Re: [expert] Partition Table
[EMAIL PROTECTED] wrote: > > Fiddle with the partition tables using partition magic to try and set things > straight or reinstall the whole thing. I think I'll be going with option B. > My swap space is too large and there are some other issues to contend with > also. Oh well, that's what this whole thing is about. At least I'm not > reinstalling for a stoopid reason. Remember that if you shift the start of a bootable partition it will no longer boot. If it is a Linux bootable partition, boot it from the floppy you made at install time and run /sbin/lilo to set it up for the new location. It will then boot normally. -- Regards, Ron. [AU] - sent by Mandrake Linux.
RE: [expert] making my laptop a DHCP and Samba client
For dhcp, check out dhcpcd (dynamic host configuration protocol client daemon). Alternatively, from linuxconf you can configure the ethernet interface for dynamic assignment of IP address, but this only gives you IP address and mask, not gateway, WINS server, etc. For samba, there are some gui tools (gnomba for gnome is a functional equivalent of the Windows network neighborhood and there is something for the K desktop also). From the command line (where I usually live) you can do "smbmount //someserver/someshare mountpoint" and access drives on windows and samba server devices. Be aware that there are issues affecting mounting a NTHP (or whatever they call it) filesystem, FAT16 and FAT32 work fine. For either of these to work you must have a functioning smb configuration. I don't know what level of support you are looking for, but I can post an email containing a working smb.conf file for a samba client. James Fogg, Living La Vita Linux!
Re: [expert] mail problem
On Wed, May 31, 2000 at 12:37:28PM -0700, thus spake Wizaerd: > I've got a linux box I'm trying to install sendmail from the RPM, and it > tells me I have a conflict with postfix. I tried uninstalling postfix and > it told me it was needed for mutt. SO I tried to uninstall mutt (all of > this using kpackage BTW) and it said 'mutt' specifies multiple packages and > will not allow me to get rid of it... > > So how do I get sendmail installed and how do I remove postfix and mutt? Hey, it's time to be brutal. Uninstall postfix telling kpackage to ignore the dependencies - if Mutt is your only problem then it's no problem! To persuade the machine that postfix is really gone you may need to remove a link to it in /etc/rc.d/rc3.d - otherwise when sendmail trys to start up at boot-time you get a cute little message "Postfix is running - I die before my Lord" - and sendmail gives up the ghost - absolutely infuriating till you find out how to kill it. If you want to use Mutt, and it's terrific, then it will work just as well with sendmail. Well, that't how I do it having utterly failed to persuade postfix to work! There is what looks like some good stuff on Postfix on mandrakeuser.org. Can't imagine that anything important depends on Mutt - you could probably delete that too with --nodeps. If you're not sure, tell us what the packages are Having made up your mind about all that just install sendmail! -- ** * "The soul is greater than the hum of its parts. " * * Douglas Hoftstatder* **
Re: [expert] High definition console 2
> -> For simple text cols x rows selection in standard resolutions, passing > -> vga=ask to the kernel at boot time will get you a menu of standard > -> text modes (up to 132x60 which is pretty unreadable on a small > -> screen in standard text modes). Then replace the vga=ask with > -> vga=mode_number. > As I mentioned in my second message, at least on my laptop there is nothing going that far within the limit of the vga=ask option. Apart from this, this doesn't probably solve the problem with frequency monitors: judging from the number of pages on the issue, there are many guys who, just like me, are using a very good, fixed frequency SUN monitor, purchased for next to nothing at some bankrupt auction. In such cases, you need to start right from boot with the exact modeline. On a side note: I saw somebody suggesting the use of twin DURING the installation: I had not thought to it at all, but it's really a neat idea! Ciao, Marco