Re: partition Magic to Linux

2001-03-13 Thread Alex Shnitman

Hi, Miki!

On Tue, Mar 13, 2001 at 08:43:49AM +0200, you wrote the following:

 I was just thinking this through too, as I want to migrate my system to a
 bigger disk.
 
 Yes, I know there is a howto, and yes, I know there is dd.
 
 Thing is, dd, much like Norton Ghost on linux partitions, dumps the whole
 damn thing. Ghost on FAT/NTFS FS's is smarter, making a filedump, and not
 mirroring the empty space of the partition.  
 Question #1: Is there anything for linux that does this form of
 filedump? The only thing that springs to mind is tar...

You should use the dump and restore utilities -- they exist exactly
for this. They probably come with your distribution.


-- 
Alex Shnitman| http://www.debian.org
[EMAIL PROTECTED], [EMAIL PROTECTED]   +---
http://alexsh.hectic.netUIN 188956PGP key on web page
   E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

NTL have a new network routing protocol as invented for amusing
small children. Its called 'now you see it now you dont' with much
of the US vanishing at cardiff for 10 seconds every minute or so.
-- Alan Cox on a diary update

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: bash prop

2001-03-13 Thread Ben-Nes Michael

Sorry, Please explain

how can i run export DISPLAY=The_Comp_im_coming_From:0.0 from the windows

Jeremy Hoyland wrote:

 All you really need for DISPLAY is your _current_ machine ip,
 not the ip address you came in from; you might of hopped
 over from a different machine than the one you want to DISPLAY
 in ;-)
 The solution should be to ask your windoze machine for its
 current IP address and use THAT.
 ipconfig is usually a good way of doing it, however YMMV.
 J.
 --
 -
  __
 /_/\
/ \\ \Jeremy Hoyland, System Architect
   /_\ \\ /   Sun Israel Development Center
  /_/ \/ / /  Sun Microsystems Israel, Ltd.
 /_/ /   \//\ HaSadnaot 10 ,POB 12610
 \_\//\   / / Herzliya, ISRAEL 46733
  \_/ / /\ /
   \_/ \\ \   Tel: +972 9 971-1288
\_\ \\Fax: +972 9 971-1222
 \_\/

--
--
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6925757
Fax: 972-4-6925858
http://www.canaan.co.il
--



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: FTP hangs, taking 100% CPU

2001-03-13 Thread Nadav Har'El

On Mon, Mar 12, 2001, Aviram Jenik wrote about "FTP hangs, taking 100% CPU":
 It can even continue to 'run' for days, even though the FTP client is long
 gone. What's worse, it takes 100% CPU, and if a second connection is
 initiated, a second process remains with an additional 100% CPU (and this
 really takes the fun out of our 2 CPU machine).
 
 The whole thing is very strange, since there's no problem with any FTP
 clients besides this one, and there's nothing special about our FTP daemon
 (wu-ftpd-2.6.0).
 Does anybody have a clue about what might be causing this?

I've seen this happen on an FTP server that runs (among other things)
ftp.ivrix.org.il. It is running wu-ftpd-2.6.1(2), and roughly once in two
weeks an FTP process hangs like you describe, wasting CPU until I kill it.
I could never find out what is causing this, or when it happens (I didn't
notice what kind of client causes this, because ftp doesn't have a user-agent
capability like HTTP).

I never saw this problem in the previous version I had installed (2.6.0),
but maybe it's just a coincidence - it certainly looks like the same problem
you describe. It's quite likely an wu-ftpd bug - now that you know how to
recreate the problem (I never could), perhaps you should file a bug report
with wu-ftpd? (or debug it yourself!). No matter how buggy or misbehaving a
client is (if it is at all), it shouldn't cause the server to hang in a
tight loop, because that is a denial-of-service risk.

-- 
Nadav Har'El|   Tuesday, Mar 13 2001, 18 Adar 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |The socks in my drawer are like
http://nadav.harel.org.il   |snowflakes: No two are alike.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: bash prop

2001-03-13 Thread Ben-Nes Michael

I put those line in /etc/profile so each user logged get the propper Display ( log
with ssh )

By the way will it effect people starting X from the computer itself ?

Tzafrir Cohen wrote:

 On Mon, 12 Mar 2001, Ben-Nes Michael wrote:

  At least with RH7 its not.

 Where can I configure this?

 
  The DISPLAY was the reason for asking for the REMOTEHOST var as im using X
  emulator from winblow
 
  any way I used SSH var as people in the list told me
 
  # to get the client connectewd from ( get $1 as IP)
  set $SSH_CLIENT
 
  # to bind X DISPLAY to the remote host
  export DISPLAY=$1:0.0

 If you connect with ssh you can enable X forwarding, and relieve yourself
 of the need to explicitly set the IP.

 This is a bit if a security breach for the client, but I believe that in
 your case the windows box can trust the linux server.

 In that case you need not touch the value of DISPLAY which is set by the
 sshd.)

 
  Boaz Rymland wrote:
 
   Ben-Nes Michael wrote:
   
Hi All
   
I wonder if any one know what bash variable contain the host i got
connected from.
   
if ther5e is no such variable in bash, does other shell go it or system
function ?
--
  
   If he's aint using tcsh or ssh, a workaround (though not the most beautiful, I
   admit) is checking $DISPLAY, which will be set to the remote client name (not
   IP), with additional data. This is set up by telnet, if you use it.

 --
 Tzafrir Cohen
 mailto:[EMAIL PROTECTED]
 http://www.technion.ac.il/~tzafrir

--
--
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6925757
Fax: 972-4-6925858
http://www.canaan.co.il
--



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: FTP hangs, taking 100% CPU

2001-03-13 Thread Yaron Zabary

On Mon, 12 Mar 2001, Aviram Jenik wrote:

 There's a problem that's been driving us crazy for a while here.
 
 One of our users connects using explorer as an FTP client. I'm not sure
 whether or not Explorer does an explicit disconnect when the window is
 closed, but in any case, after the FTP session is done, the process in.ftpd
 remains 'alive' until it's killed manually.
 It can even continue to 'run' for days, even though the FTP client is long
 gone. What's worse, it takes 100% CPU, and if a second connection is
 initiated, a second process remains with an additional 100% CPU (and this
 really takes the fun out of our 2 CPU machine).
 
 The whole thing is very strange, since there's no problem with any FTP
 clients besides this one, and there's nothing special about our FTP daemon
 (wu-ftpd-2.6.0).
 Does anybody have a clue about what might be causing this?

  1. What is the output of netstat -a on both the client and the server ?

  2. strace is your friend.

  3. Upgrade your ftpd.

 - Aviram
 
 
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word "unsubscribe" in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 
 


-- Yaron.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: FTP hangs, taking 100% CPU

2001-03-13 Thread Nadav Har'El

On Tue, Mar 13, 2001, Yaron Zabary wrote about "Re: FTP hangs, taking 100% CPU":
   3. Upgrade your ftpd.

You can try it (and you SHOULD do it because of the security holes in
the unpatched version 2.6.0!), but as I said 2.6.1(2) still gives me a
problem which appears similar, so maybe upgrading won't solve the problem.
But it is sure worth trying.

-- 
Nadav Har'El|   Tuesday, Mar 13 2001, 18 Adar 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |You have the right to remain silent.
http://nadav.harel.org.il   |Anything you say will be used against you.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




securetty

2001-03-13 Thread mike ray
Title: securetty





hi


im using RH7 and i edited the /etc/securetty file to permit only tty1 to login, but it did not work


my second problem is in /etc/xinetd.d, in the telnetd conf file i gave telnet the -h attribute at the end in order to prevent 

system information from remore logins but then the telnet service goes down


anyone with an idea ??





Re: securetty

2001-03-13 Thread Ariel Biener

On Tue, 13 Mar 2001, mike ray wrote:


/etc/securetty doesn't define where you can login, it defines where can
root login from.

--Ariel
 hi
 
 im using RH7 and i edited the /etc/securetty file to permit only tty1 to
 login, but it did not work
 
 my second problem is in /etc/xinetd.d, in the telnetd conf file i gave
 telnetthe -h attribute at the end in order to prevent 
 system information from remore logins but then the telnet service goes down
 
 anyone with an idea ??
 

--
Ariel Biener
e-mail: [EMAIL PROTECTED]
PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: securetty

2001-03-13 Thread Eran Levy

Hi Mike,
1. /etc/securetty is used by login(1); the file contains  the
device  names  of tty lines (one per line, without leading /dev/) on which 
root is allowed to login.  'man securetty' for more information.
2. the -h option has to work without no problems. can you mention any 
errors from the log files or any error you getting from the telnet service 
when connecting from Rempote? your telnetd in xinetd running as it needs to 
run?


At 19:21 13/03/01 +0200, you wrote:

hi

im using RH7 and i edited the /etc/securetty file to permit only tty1 to 
login, but it did not work

my second problem is in /etc/xinetd.d, in the telnetd conf file i gave 
telnet  the -h attribute at the end in order to prevent

system information from remore logins but then the telnet service goes down

anyone with an idea ??



Regards,
Eran Levy.
E-mail: [EMAIL PROTECTED]
WebSite: http://come.to/liloboot


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: FTP hangs, taking 100% CPU

2001-03-13 Thread Adi Stav

On Mon, Mar 12, 2001 at 11:29:57PM +0200, Aviram Jenik wrote:
 There's a problem that's been driving us crazy for a while here.
 
 One of our users connects using explorer as an FTP client. I'm not sure
 whether or not Explorer does an explicit disconnect when the window is
 closed, but in any case, after the FTP session is done, the process in.ftpd
 remains 'alive' until it's killed manually.
 It can even continue to 'run' for days, even though the FTP client is long
 gone. What's worse, it takes 100% CPU, and if a second connection is
 initiated, a second process remains with an additional 100% CPU (and this
 really takes the fun out of our 2 CPU machine).
 
 The whole thing is very strange, since there's no problem with any FTP
 clients besides this one, and there's nothing special about our FTP daemon
 (wu-ftpd-2.6.0).
 Does anybody have a clue about what might be causing this?

First of all Wu-FTPD is so full of security holes it's not even funny.

Now, what does an strace of these processes show? 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: IGLU Plea for Hard Disks Donation

2001-03-13 Thread Shaul Karl

 
 
  I'm delighted to know that IGLU is going to provide local (Israeli)
  mirrors of a lot of free software.
 
  But as the owner of a company that might be interested in helping out,
  I have to ask: If I donate a hard disk to IGLU, to whom am I actually
  donating that disk?
 
  In other words, is IGLU planning to become an amuta at some point?  Or
  will the hard disk remain the property of my company, simply located
  in a convenient place for Israeli Linux users?  Or will my company be
  giving a donation to an individual (which has tax implications for
  everyone)?
 
 


Reuven: Does it matters to you if you donate the Disk to an AMUTA, keep it the 
property of your company or any other arrangement? What arrangement are you 
interested in? I am far from being a tax expert but when considering the cost 
of the requested hardware, does it that significant whether one is donating to 
an AMUTA or not?
Or do I miss something?


 If you remember, I tried to create an IGLU  amuta some time ago and failed
 misrabely.
 The main issue was that most poeple didn't really feel motivated about this,


 or not enough so to address the hard work needed to set it up and I feared
 I'm going to get stuck with a useless Amuta with the relevant obligations
 and not so many members.
 That, along with some problmes with getting an accountant to work for us pro
 bono took the wind out
 of my sails...
 
 I still think it can be done, but since then I slowly realised that there
 might not be a (good) reason.
 Being an amuta has advantages, but we seem to go along quite well without
 it.
 
 Maybe it's a good time and place to say "Sorry!" for all the people who did
 try to help and
 nothing came out of it.
 
 I'm out of touch with my mail, being aborad and having broken laptop :-(
 If you reply to this message, it might take me some time to reply
 
 Gilad
 
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word "unsubscribe" in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 

-- 

Shaul Karl [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]