Linux-Misc Digest #145, Volume #24 Fri, 14 Apr 00 04:13:03 EDT
Contents:
Forgot my ROOT PASSWORD... (Tux)
Re: Why linux will never go beyond geekdom ([EMAIL PROTECTED])
Re: Netscape and newsgroups ([EMAIL PROTECTED])
Copying NTFS, ext2 partitions (Donald Gordon)
Re: finding out what runs a site (Robin Becker)
Re: only root can startx ([EMAIL PROTECTED])
telnet server very far away in the univers... ([EMAIL PROTECTED])
Re: ISDN "NO DIALTONE" (Charles Blackburn)
Re: gated/routed/f#ckd (Charles Blackburn)
Re: Forgot my ROOT PASSWORD... (asage)
Re: Forgot my ROOT PASSWORD... (Mefisto)
Re: LILO stops at LI ([EMAIL PROTECTED])
Re: Atapi Zip drive setup ([EMAIL PROTECTED])
Re: what is clock skew? (asage)
Re: How did the hacker get root access to my system? (Tom)
Re: How did the hacker get root access to my system? (Tom)
Re: Bloody clock is an hour fast (Villy Kruse)
newbie: patching kernel troubles :((( (Andrew Tkachenko)
Re: understand system calls ! (Villy Kruse)
Re: Anaconda Setup hangs (David Efflandt)
----------------------------------------------------------------------------
From: Tux <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,nf.comp.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux
Subject: Forgot my ROOT PASSWORD...
Date: Thu, 13 Apr 2000 11:21:17 -0230
Hi there,
Do I have to reinstall Linux if I forgot my root password, or is there
some way to get back into the system without doing this...???
Thanks..
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Why linux will never go beyond geekdom
Date: Fri, 14 Apr 2000 01:53:58 -0400
MrJack of LuLuland wrote:
>
> Say, hasn't this Enlightened Guy started flame wars here before?
> I'd swear I've seen that name and flying brickbats both together-.
>
Not only that but I don't think he's a very origional troll either.
I could have sworn I've read the title of this tread before.
Looks like he's trying to start a flame by rubbing two icicles together.
--
___________ Beny
/ _______ \
/ / \ | King of the cranium,
\___\ / / Great one of the grey matter,
/ / Magnificent one of the mind,
/ / Baron of brain,
|__| The one,
__ The only, The Riddler
/ \
\__/ http://on.to/riddlers-world
"I'm a humble person, really
I'm actually much greater than I think I am..."
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Netscape and newsgroups
Date: Fri, 14 Apr 2000 02:05:44 -0400
I seem to have found that all corporate Linux software is done
half-assed.
Netscape, Corel, Real Networks.... all they do is get the thing crawling
and we're supposed to kiss their butts for even taking the time to port
the program to Linux.
Give me the independant programmers anyday. They seem more concerned
with quality.
--
___________ Beny
/ _______ \
/ / \ | King of the cranium,
\___\ / / Great one of the grey matter,
/ / Magnificent one of the mind,
/ / Baron of brain,
|__| The one,
__ The only, The Riddler
/ \
\__/ http://on.to/riddlers-world
"I'm a humble person, really
I'm actually much greater than I think I am..."
------------------------------
From: [EMAIL PROTECTED] (Donald Gordon)
Subject: Copying NTFS, ext2 partitions
Crossposted-To: nz.comp,comp.os.ms-windows.nt,comp.os.ms-windows.nt.misc
Date: Fri, 14 Apr 2000 06:38:57 GMT
I have a new HDD, and would like to copy the NTFS partition (it has NT4
inside) from my old HDD onto the new one, while increasing its size.
How can I do this? Or should I just give up and reinstall on the new
HDD?
Ditto for the Linux/ext2 partition. Will a plain cp -dpR from a boot
floppy work (i'm worried about hard links, mainly) or should I use
something else?
TIA
--
Donald Gordon / donald at dis dot org dot nz / wellington, new zealand
"Unix-to-Unix Copy Program," said PDP-1. "You will never find a more
wretched hive of bugs and flamers. We must be cautious."
-- decwars
------------------------------
From: Robin Becker <[EMAIL PROTECTED]>
Subject: Re: finding out what runs a site
Date: Fri, 14 Apr 2000 00:01:30 +0100
In article <[EMAIL PROTECTED]>, Vilmos Soti
<[EMAIL PROTECTED]> writes
>Robin Becker <[EMAIL PROTECTED]> writes:
>
>> Is there any way I can find out what software is running a remote site?
>
>What do you mean by software? Do you mean the OS and httpd?
>Then go to http://www.netcraft.com and it will do it for you.
>
>Vilmos
>
Yes I guess that would do.
--
Robin Becker
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: only root can startx
Date: Fri, 14 Apr 2000 06:48:02 GMT
> I am having the same problem just like many many others.
I've founded a way to solve my problem, maybe that can help you. I've
simply created a new user with the commands :
useradd username
passwd username
and then it ask you the password, enter it and here we go!
I don't know why that didn't before... Maybe some permissions were
deleted by inadvertancy... Ok, I hope that'll help you!
see you
Allan
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: telnet server very far away in the univers...
Date: Fri, 14 Apr 2000 06:54:03 GMT
I've a problem with my telnet server on linux redhat 6.2 i386. The ftp
server has'nt any problem but when I want to connect to linux by telnet
from an other PC, it says immediately "connection to host lost".
Can you help me?
thanks
Allan
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Charles Blackburn)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,uk.comp.os.linux
Subject: Re: ISDN "NO DIALTONE"
Date: Wed, 12 Apr 2000 20:30:44 +0100
Reply-To: [EMAIL PROTECTED]
On Wed, 22 Mar 2000 18:43:02 -0000, Martin wrote:
>I have configured my ISDN BT Speedway (Hi Sax Fritz!) card and all my
>network settings, but on dialling get the message "NO DIALTONE".
>Does anybody know how to sort this out?
Silly question, is it plugged in?? :) seriously though, can you get
dialtone from any other ISDN equipment?
--
Charles Blackburn -=- Remove NOSPAM to email a reply.
Summerfield Technology Limited - SuSE Linux Reseller & Birmingham L.U.G sponsor
[EMAIL PROTECTED]
[EMAIL PROTECTED]
8:27pm up 3 days, 1:38, 1 user, load average: 0.04, 0.03, 0.00
------------------------------
From: [EMAIL PROTECTED] (Charles Blackburn)
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions
Subject: Re: gated/routed/f#ckd
Date: Wed, 12 Apr 2000 20:29:06 +0100
Reply-To: [EMAIL PROTECTED]
On Wed, 12 Apr 2000 17:55:38 +0100, R�M$T@R wrote:
>This is the problem: my Linux (Redhat 6.0) box cannot see the internet
>world.
>This is the setup: Linux client. NT server, and several Win98 clients.
>NT is the gateway. The win98 boxes connect to the NT box for the interent.
>The linux box can see the NT box.
I could go down the roda as a lot of other replies that you'll get saying
to use linux as the router, but have you checked to see if the NT box is
allowing the linux box access to the internet's interface? ie: is it routing
the packets to the correct interface?
--
Charles Blackburn -=- Remove NOSPAM to email a reply.
Summerfield Technology Limited - SuSE Linux Reseller & Birmingham L.U.G sponsor
[EMAIL PROTECTED]
[EMAIL PROTECTED]
8:26pm up 3 days, 1:38, 1 user, load average: 0.11, 0.04, 0.01
------------------------------
From: asage <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,nf.comp.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux
Subject: Re: Forgot my ROOT PASSWORD...
Date: Fri, 14 Apr 2000 03:05:45 -0400
I did this today!
I found this advice in a newsgroup, and it worked for me:
"If you forgot the root password, then it is eaasily fixed.
If you have lilo, type
'linux 1'
at the Lilo: prompt."
(Actually I typed in 'linux single' and it worked too)
"It will boot you in to aa single user session, without asking for a
password. You should get a bash# prompt. Type
'passwd root'
and enter a password.
Then either reboot (by typing "init 6" or "shutdown -r now") or go in to
runlevel 5 (the GUI 'mode') by typing "init 5"
HTH
-Ed"
Thanks Ed, wherever you are :D
Hope this helps, Tux.
Allison
Tux wrote:
> Hi there,
>
> Do I have to reinstall Linux if I forgot my root password, or is there
> some way to get back into the system without doing this...???
>
> Thanks..
------------------------------
From: Mefisto <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,nf.comp.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux
Subject: Re: Forgot my ROOT PASSWORD...
Date: Fri, 14 Apr 2000 02:15:12 -0500
that weird... i thought that it would ask you for the root passwd anyway...
when shit like this happens, i usually have a boot floppy and a root floppy.
then i mount the root partition manually and edit the passwd file...
asage wrote:
> I did this today!
>
> I found this advice in a newsgroup, and it worked for me:
>
> "If you forgot the root password, then it is eaasily fixed.
> If you have lilo, type
> 'linux 1'
> at the Lilo: prompt."
>
> (Actually I typed in 'linux single' and it worked too)
>
> "It will boot you in to aa single user session, without asking for a
> password. You should get a bash# prompt. Type
> 'passwd root'
> and enter a password.
> Then either reboot (by typing "init 6" or "shutdown -r now") or go in to
> runlevel 5 (the GUI 'mode') by typing "init 5"
>
> HTH
>
> -Ed"
>
> Thanks Ed, wherever you are :D
> Hope this helps, Tux.
>
> Allison
>
> Tux wrote:
>
> > Hi there,
> >
> > Do I have to reinstall Linux if I forgot my root password, or is there
> > some way to get back into the system without doing this...???
> >
> > Thanks..
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: LILO stops at LI
Date: Fri, 14 Apr 2000 01:42:52 -0400
Henry wrote:
>
> Dear folks
>
> I've Redhat 6.1 installed as a partition on a HD, sharing with Win95. It
> works fine during the "LILO boot:", where i can choose
> between "windows"(win95) and "linux" until i use Partition Magic to reduce
> the size of my redhat partition. I was trying to transfer some empty space
> within the main redhat partition (not the swap linux swap partition) to
> the Windows partition. The notebook then stops at "LI" whenever i try
> booting up the machine again.
This happened to me when I first installed Redhat 6.0. Their knowlege
base told me to get into the BIOS and set the hard drives to LBA which
stands for Linear Block Addressing. What that means, I do not know.
I'm a CHEM, not a COMP.
Whether this is chancey to just go in and turn on LBA I'm not sure.
Maybe I got lucky and noting bad happens (can someone confirm this?).
All I know is that it worked for me!
Hope this helps.
--
___________ Beny
/ _______ \
/ / \ | King of the cranium,
\___\ / / Great one of the grey matter,
/ / Magnificent one of the mind,
/ / Baron of brain,
|__| The one,
__ The only, The Riddler
/ \
\__/ http://on.to/riddlers-world
"I'm a humble person, really
I'm actually much greater than I think I am..."
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Atapi Zip drive setup
Date: Fri, 14 Apr 2000 01:48:14 -0400
Keith wrote:
>
> Help,
>
> I had this workink before, but had to reformat hd for larger Linux...
>
> I followed directions in mini how-to for atapi install, and followed the
> advice of the Linux Gazette (all of this can be found at justlinux.com,
> under how-to's.
>
> Anyway, I attempt to mount (mount /mnt/zip), and I get this:
>
> mount: the kernel does not recognize /dev/sda4 as a block device
> (maybe 'insmod driver'?)
>
> Funny thing is, it does list as a block device (brw-rw...)
When I was trying to mount my internal LS120 drive, RH6.X would not even
see the device, even though it was detected during the install. When I
set the drive to be the boot floppy, everything worked out nice.
Sure, the LS120 isn't the same as the Zip, but maybe this could work for
you.
--
___________ Beny
/ _______ \
/ / \ | King of the cranium,
\___\ / / Great one of the grey matter,
/ / Magnificent one of the mind,
/ / Baron of brain,
|__| The one,
__ The only, The Riddler
/ \
\__/ http://on.to/riddlers-world
"I'm a humble person, really
I'm actually much greater than I think I am..."
------------------------------
From: asage <[EMAIL PROTECTED]>
Subject: Re: what is clock skew?
Date: Fri, 14 Apr 2000 03:13:00 -0400
Hi. I had that problem today, and it turned out that for some reason I
had turned back the date in Win98. Once I corrected the date, the
problem was fixed.
But I also did a search with the words 'linux "clock skew" ' at
www.google.com, and found some threads that indicate that the underlying
problem may sometimes be more complicated.
Anyway, see if my solution works for you, or maybe you would have to try
to narrow down the possibilities a bit.
Allison
choi jinhyuk wrote:
> when I try to complile such a source like kernel
> I use to see these warnings
> clock skew dectected. your build may not completed.
> what does clock skew mean?
> compling error? but it works.
> what sould I do not to see these messges?
------------------------------
From: Tom <[EMAIL PROTECTED]>
Crossposted-To: alt.2600,alt.linux,comp.os.linux
Subject: Re: How did the hacker get root access to my system?
Date: Fri, 14 Apr 2000 07:17:17 GMT
In article <[EMAIL PROTECTED]>,
Luc de Louw <[EMAIL PROTECTED]> wrote:
> - Use a dedicated firewall, if you have an internal network, use 2
> firewalls and build a DMZ
A little overkill for me. I'm building a simple "bastion firewall"
right now. Should work okay once I figure it all out....
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Tom <[EMAIL PROTECTED]>
Crossposted-To: alt.2600,alt.linux,comp.os.linux
Subject: Re: How did the hacker get root access to my system?
Date: Fri, 14 Apr 2000 07:22:13 GMT
In article <CJlI4.4564$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> The firewall site to which I referred you
> earlier (http://linux-firewall-tools.com/linux/) has a tool that
will
> generate an ipchains-based firewall script to your specifications.
The "Linux Firewalls" and "Maximum Linux Security" books are exactly
what I needed. Thanks.
> /proc is a "virtual" filesystem. It represents information on your
system.
I'm surprised I had not come across documentation about this; duh.... :-
)
> (I bet you have 256MB of RAM, right?).
YUP!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Bloody clock is an hour fast
Date: 14 Apr 2000 07:34:08 GMT
On 13 Apr 2000 16:15:13 -0400, Johan Kullstam <[EMAIL PROTECTED]> wrote:
>
>you don't need to know when daylight savings starts/ends. there's a
>table of daylight savings and offsets from UTC somewhere in the bowels
>of the filesystem. just feed it your time code (most are a three
>letter acronym) and libc will do the bookkeeping.
>
Three letter acronyms won't work worldwide; there are just too many
duplicates. For example what does BST stand for?
In Linux you would spcify the GB timezone as TZ=Europe/London or let
the symbolic link /etc/localtime point to a file called Europe/London.
The POSIX way is to set TZ=GMT0BST,M3,5,0/1,M10,5,0/2 still for
the GB timezone specification.
Villy
------------------------------
From: Andrew Tkachenko <[EMAIL PROTECTED]>
Subject: newbie: patching kernel troubles :(((
Date: Fri, 14 Apr 2000 07:36:47 +0000
Good day/night etc..:)
I have REdHaT 2.2.11. I need to patch it up to the 2.2.14.
Got three patches, patch-2.2.12...patch-2.2.14 ;
Read Kernel-HOWTO, README from 2.2.11 kernel Documentation..Followed
exactly to instructions, but after some succesfull steps i got:
The text leading up to this was:
==========================
|diff -u --recursive --new-file
v2.2.11/linux/arch/alpha/kernel/alpha_ksyms.c
linux/arch/alpha/kernel/alpha_ksyms.c
|--- v2.2.11/linux/arch/alpha/kernel/alpha_ksyms.c Sat May 22
13:41:43 1999
|+++ linux/arch/alpha/kernel/alpha_ksyms.c Wed Aug 25 17:29:45 1999
==========================
File to patch:
i've tried 'patch -pN < patch-2.2.12', where i varied N from 0 up to 4..
and also 'patch-kernel' script from /usr/src/linux/scripts...
useless..;((
help, please..
thanx for advance..
--
===========================================
Buing a Pentium III you can reboot faster
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: understand system calls !
Date: 14 Apr 2000 07:46:18 GMT
On Thu, 13 Apr 2000 20:32:24 +0200,
denis.chmielewski <[EMAIL PROTECTED]> wrote:
>hello everybody,
>
>I am studying the system call mechanism and I don't understand.
>To explain my problem, let's take the fopen example :
>
>in the kernel sources, I found a function sys_open(...) in the file
>/fs/open.c
>from the glibc sources, I found the file fopen.c
>
>I suppose that starting from fopen.c we should arrive to sys_open(..),
>probably through an interrupt somewhere to switch into kernel mode.
>
>well, from fopen.c, I found a call to __stdio_open(...) that is in the
>file /glibc/sysdeps/generic/sysd-stdio.c
>
>in __stdio_open( ...) there is a call to __open(...) and here is what I
>don't understand. I found a few implementation of __open(...) in glibc,
>but none of them seem to bring me any further. They contain only few
>lines of code, mainly calls to va_list(...), va_arg(...) ...
>
This will eventualy lead to the open(2) system call which will do some
magic done in assembly code to invoke a kernel procedure which is also
assembly code, and from there sys_open() will be called.
Most of us don't care how the magic is done as long as it works. You
may also assume that the excact method is architecture dependent. On
Intel x86 it would be a call gate or interrupt gate, which do not exist
on RISC type of systems. That is one of the reasons there are multiple
versions in the glibc sources. You could for example compile a short
program calling open() and link it static. Then dissassemble it and
study the open routine. This routine should be real small.
Villy
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Anaconda Setup hangs
Date: 14 Apr 2000 08:09:15 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 13 Apr 2000, sparq49 <[EMAIL PROTECTED]> wrote:
>Several of my friends are having problems installing Anaconda in
>Rh 6.2. It seems the installation always hangs just as it is
>about to complete. Any suggestions
I thought anaconda images were an update for RH 6.1. Does 6.2 use the
same install images or are there different anaconda images for 6.2?
One trouble I had using 6.1 anaconda update images was that if the CD was
already in during boot, setup searched for incorrect files from the CD
instead of from the updates floppy and would hang. Maybe this is your
problem. I had to wait to insert the CD until AFTER it booted and got the
updates from the floppy, and then I inserted the CD when I got to the
screen asking where I wanted to install from.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************