Linux-Setup Digest #232, Volume #21              Tue, 15 May 01 13:13:10 EDT

Contents:
  Re: filename contains ":" characters in scp? (Bill Unruh)
  Re: filename contains ":" characters in scp? (Bill Unruh)
  Re: Moving/Resizing Linux (ext2) partitions with Partition Magic: It works! (Kenny 
McCormack)
  Re: filename contains ":" characters in scp? ("Peter T. Breuer")
  Re: save a rival from self destruction -HOWTO? ("Eric en Jolanda")
  Re: filename contains ":" characters in scp? (Bill Unruh)
  Re: SSL configuration for pop3 and imap v/s SSH on client (Frederic Faure)
  adapter address ("Jack")
  Re: filename contains ":" characters in scp? ("Matt D")
  pop3 login fails on virtual host imap mail server (God_Of_Pain)
  Re: filename contains ":" characters in scp? (Bob Hauck)
  Re: adapter address (Lew Pitcher)
  Re: filename contains ":" characters in scp? (rdh)
  Re: LILO 1024 cylinder limit ("Rene M�rten")
  Re: Linux link with NT ("David Dorward")
  Re: filename contains ":" characters in scp? ("Peter T. Breuer")
  Re: filename contains ":" characters in scp? ("Peter T. Breuer")
  Re: filename contains ":" characters in scp? ("Peter T. Breuer")
  Re: filename contains ":" characters in scp? ("Peter T. Breuer")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: 15 May 2001 16:11:26 GMT

In <[EMAIL PROTECTED]> "Peter T. Breuer" <[EMAIL PROTECTED]> writes:

Arrogant bastard aren't you.
He asks a valid question ( and yes does not understand shell escaping vs
program escaping) and you vent your spleen. Please go have another cup
of coffee.
...
]That's silly! There is no need to escape the ":". You are escaping it
]to the SHELL, not to the scp.


]I am FED UP explaining to people who ought to know better it that the
]programs does not see your "escape". The shell does! What is so hard to
]understand about this?

Then stop explaining and stop posting. 


...
]It is not a bug. 

]Don your thinking apparatus and realize the solution to your
]non-problem.


------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: 15 May 2001 16:17:20 GMT

In <[EMAIL PROTECTED]> Erik Max Francis <[EMAIL PROTECTED]> writes:

]Raymond Chui wrote:

]> Shall ssh 2.5 solved this bug? Thank you!

]It's not a bug.  scp sees colons as separating the hostname from the
]remote filepath.  scp doesn't play well with colons in filenames. 
](Escaping the colons doesn't do anything; the shell isn't what's having
]a problem with them, it's scp.)

Yes, and he is asking, is there a way to get scp to accept colons in
filenames. Apparently none of you know. I do not either. 
And yes, it is a bug if scp gives no way of escaping the colon within a
valid filename. (neither the scp or rcp man pages give any hint, so it
may well be a bug in scp)
 


------------------------------

From: [EMAIL PROTECTED] (Kenny McCormack)
Subject: Re: Moving/Resizing Linux (ext2) partitions with Partition Magic: It works!
Date: 15 May 2001 11:16:46 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Rod Smith <[EMAIL PROTECTED]> wrote:
>[Posted and mailed]

(A minor point - but please don't do that.  It only tempts me to respond in
email, when it would be better to respond in the NG)

>Unless you're using PM 6.0 and they've changed something about it, this
>isn't what happened; you just got lucky.

Yes, of course.  I just had a temporary lack of memory - of course, I knew
about the "LILO continues to work unless/until you overwrite those sectors"
phenomenon.  Its one of those things that makes Linux and LILO neat.

>Now, that said, if PM 6.0 has added code to analyze an installed LILO
>and change it as required if PM moves the kernel, I'd be interested in
>hearing about it. Please post if you've heard this is definitely the
>case.

I'm using PM 4.0, so I wouldn't know about new features - one of the purpose
of my previous post was to find out about the new bugs and features in PM
since 4.0.

The point of all this, of course, is, as I alluded to in another post/thread,
that PM *could* do the necessary "mopping up" that needs to be done after
moving the partitions around (some of which are listed below), and if it
were a Microsoft application, it would be expected to do so (and, more often
than not, destroy your system in the process):

        1) LILO fixup
        2) fstab fixup (This would have to include all possibly affected
           partitions - boot, usr, home, and swap)


------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 18:01:18 +0200

In comp.os.linux.help Raymond Chui <[EMAIL PROTECTED]> wrote:
>> > when I do scp command, I try
>>
>> > scp myfile2001-05-15_09\:30\:00.txt userid@remote_host:dir_path/
>>
>> That's silly! There is no need to escape the ":". You are escaping it
>> to the SHELL, not to the scp.
>> It is not a bug.

> Then why

> cp myfile2001-05-15_09:30:00.txt dir_path/

> work OK, but

It does NOT work OK.

  oboe:/usr/oboe/ptb% scp myfile2001-05-15_09:30:00.txt /tmp
  Bad host name: myfile2001-05-15_09


>  scp myfile2001-05-15_09:30:00.txt userid@remotehost:dir_path

> not work?

It DOES work. It does exactly what it is supposed to do. Actually, if
you want to know, your example does not work:

   oboe:/usr/oboe/ptb% scp myfile2001-05-15_09:30:00.txt ptb@localhost:dir_pat
   Bad host name: myfile2001-05-15_09

> because scp command sees the ":" character as separator for host name

That's because it IS.

> and port number. If filename contains ":", it thinks as port number is 30 in

No, no port number. You are imagining that. The syntax is:

    scp   [-aAqQprvBCL1]   [-S path-to-ssh]   [-o ssh-options]
           [-P port] [-c cipher] [-i identity]
           [[user@]host1:]filename1...  [[user@]host2:]filename2


> above case.

> That is a problem in scp command!!

No, it is a problem in your head. Please sort it out. Get used to it.
Computers do what you tell them to. The first ":" in an argument to
scp is interpreted as the separator between a hostname and a path.
That's documented behaviour.  Be grateful that the first part separated
thusly in your second example is not a valid hostname.

  

Peter

------------------------------

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: save a rival from self destruction -HOWTO?
Date: Tue, 15 May 2001 18:16:06 +0200

> I have plenty of room on the Linux disk (Mandrake) on my WinME desktop,
> but no Linux on my already stretched Win98 laptop.
>
> 1) Can I tar & zip a whole Win image
> from the desktop WinME disk,
> store it on the Linux disk,
> and hope I can restore it if the s#### hits the fan?

I'd use dd for that. It makes an exact copy of the entire partition.
Tar copies the files(and directory structure), dd the entire filesystem.

> 2) Can I hope to boot my laptop from a diskette or Demolinux CD,
> with Ethernet PCcard driver, Win98 disk support, tar & zip apps
> store the whole Win98 image on the desktop's Linux disk via Ethernet,
> and hope I can do the reverse when the time comes?

Sorry I don't have any expierience with this.
I know there are fully featured rescue CD's out there, that
might prove to be handy in your case.

Eric



------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: 15 May 2001 16:21:09 GMT

In <[EMAIL PROTECTED]> Erik Max Francis <[EMAIL PROTECTED]> writes:

>> If filename contains ":", it thinks as port number is 30 in
>> above case.

>No, it is the way it is supposed to work.  Don't try to scp files that
>contain colons.


No, it is a bug. If it regards : as a special character, it should also
give a way of escaping that special character. If it does not, then that
is a bug. It is not"the way it is supposed to work". It was just
carelessness on the part of the writers, who I suspect would agree.
: is a valid filename character and as such should be useable in a
filename to scp. 

------------------------------

From: [EMAIL PROTECTED] (Frederic Faure)
Crossposted-To: 
comp.os.linux.security,at.linux,linux.redhat.misc,linux.redhat.list,alt.comp.linux.isp
Subject: Re: SSL configuration for pop3 and imap v/s SSH on client
Date: Tue, 15 May 2001 16:19:17 GMT

On Fri, 11 May 2001 01:15:06 GMT, Sunil Shukla <[EMAIL PROTECTED]>
wrote:
>       I am primarily looking to provide Secure services for POP3 and
>IMAP the idea behind it is that communication between server and client is
>encrypted. One of the way is using SSL services for POP3 and IMAP and was wondering if
>anybody had successfully implemented it.   
> I have also heard that POP3 and IMAP communication can be secured
>using SSH and was wondering anybody has any idea about it.

Either run a POP/IMAP server that supports SSL natively (ie. with no
add-on utility) such as Courier IMAP or qpopper 4, or run a standard
IMAP/POP server along with an SSL wrapper such as sslwrap, stunnel, or
SSH, which will redirect the flow to the mail server.

The same applies to clients: Either run one that supports SSL natively
such as Outlook, OutlookExpress, Netscape, or Eudora 5.1, or run a
local SSL wrapper (provided the client lets you specify the port
number it should connect to locally.)

FF.

------------------------------

From: "Jack" <[EMAIL PROTECTED]>
Subject: adapter address
Date: Tue, 15 May 2001 12:24:09 -0700

i know you can find your addapter address by running winipconfig in windows,
but how do you find it in linux?




------------------------------

From: "Matt D" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 16:27:30 GMT

I think you misread his question.

> > Then why
> 
> > cp myfile2001-05-15_09:30:00.txt dir_path/
> > work OK, but


cp ie NOT scp. 


Matt


------------------------------

From: God_Of_Pain <[EMAIL PROTECTED]>
Subject: pop3 login fails on virtual host imap mail server
Reply-To: [EMAIL PROTECTED]
Date: Tue, 15 May 2001 16:30:44 GMT

I set up a virtual host webserver computer using vhost. I have imap running 
as my pop3 server. When I add a new domain an adim account for that domain 
is automaticly created. Then I add more user accounts for mail. Mail is 
arriving for these new user accounts and I can ssh in to read the mail in 
the vmail directory for that user. The admin accounts can login and get 
mail but the user accounts that I created can not. They keep getting bad 
password errors trying to login.

There are alias accounts for the admins but not the users. Could this be 
the problem? vhost does not provide any documentation as to why aliases are 
used, why or how to created them.

I tied to telnet into the pop3 server but after I am logged in I can not do 
any thing, I tried help, ls, all sorts of commands but keep getting errors. 
Is there any documentation as to what commands can be used while telnet'ed 
into a mail server?

Is any one know about setting up a virtual hosts mail accounts that can 
help me with this?

Is anyone using vhost to configure a system that could explain these 
problems and lack of documentation?

Thanks.


------------------------------

From: [EMAIL PROTECTED] (Bob Hauck)
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Reply-To: hauck[at]codem{dot}com
Date: Tue, 15 May 2001 16:31:15 GMT

On 15 May 2001 16:21:09 GMT, Bill Unruh <[EMAIL PROTECTED]> wrote:

>No, it is a bug. If it regards : as a special character, it should also
>give a way of escaping that special character. 

It is only the first ':' that is special.  He's copying between local files, 
so...

[hauck@lab hauck]$ echo "boo" > file:with:colons 
[hauck@lab hauck]$ scp localhost:file:with:colons /tmp 
file:with:colons    100%|*****************************| 4 00:00 
[hauck@lab hauck]$ ls /tmp/file:with:colons
/tmp/file:with:colons 

Now, that wasn't so hard, was it?

-- 
-| Bob Hauck 
-| Codem Systems, Inc.  
-| http://www.codem.com/

------------------------------

From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: adapter address
Reply-To: [EMAIL PROTECTED]
Date: Tue, 15 May 2001 16:33:40 GMT

On Tue, 15 May 2001 12:24:09 -0700, "Jack" <[EMAIL PROTECTED]>
wrote:

>i know you can find your addapter address by running winipconfig in windows,
>but how do you find it in linux?

Lots of ways:

- query it with ifconfig
- scan for the line that set it with grep /etc/rc.d/*
- extract it with a ioctl() call in a C program



Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])

(Opinions expressed are my own, not my employer's.)

------------------------------

From: [EMAIL PROTECTED] (rdh)
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 16:31:58 GMT

On Tue, 15 May 2001 15:07:50 +0200, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:

>In comp.os.linux.help Raymond Chui <[EMAIL PROTECTED]> wrote:
>> I have some files their name contain the ":" colon character like
>
>> myfile2001-05-15_09:30:00.txt
>
>> when I do scp command, I try
>
>> scp myfile2001-05-15_09\:30\:00.txt userid@remote_host:dir_path/
>
>That's silly! There is no need to escape the ":". You are escaping it
>to the SHELL, not to the scp.
>
>> But the scp command in ssh 2.3 (in Redhat 6.2) doesn't recognized
>> the "\" character (back slash). I need "\" because file name contains
>
>I am FED UP explaining to people who ought to know better it that the
>programs does not see your "escape". The shell does! What is so hard to
>understand about this?

Nothing, if a person has been around Unix environments as long as you
have, Peter.  However, I've noticed that you tend to assume that even
the most green newbies should have an understanding of these concepts
as well.  Reminds me of several university professors that I've had
the misfortune of studying under.

"But... but... but... this is simply an application of
$OBSCURE_PRINCIPLE_OF_QUANTUM_PHYSICS!  You should have known that
from birth!"


-- 
Russell                                 rdh at salug dot org

"I don't like the way typical females act. Neither do I like
the way typical males act. I loathe the vast majority of
humanity." --mdxi, K5

------------------------------

From: "Rene M�rten" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.comp.linux,alt.os.linux.redhat,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: LILO 1024 cylinder limit
Date: Tue, 15 May 2001 18:04:53 +0200


Jan Johansson <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> >1.  In the first 1024 block of the HDD
> >2.  In the first ~8GB of the HDD if the BIOS can abstract disk sectors
for
> >LILO
>
> All wrong. LILO must beinstalled in the MBR (to be able to boot the
> system) or in the first sector of the partiition on which linux will
> boot if you intend to use a 3rd party loader. HOWEVER the partition
> holding the boot components for linux must reside below the 1023rd
> cylinder of the disk.

Also wrong :=)
With the newest LILO you can boot from any position on your harddisk.




------------------------------

From: "David Dorward" <[EMAIL PROTECTED]>
Subject: Re: Linux link with NT
Date: Tue, 15 May 2001 17:48:37 +0100

It seems that on Tue, 15 May 2001 02:24:57 +0100, someone claiming to be
"Sysadmin" <[EMAIL PROTECTED]> typed this:

> Dear sir/madam,
> i have a few questions regarding Linux operating system. I'm beginner
> for Linux actually. my questions are:
> 1) Can Linux server transfer data between windows NT 4.0 such as
> replication/synchronize NT user account?

I think that is available in the lastest version of Samba (not currently
distributed with any distro but not hard to upgrade). See below.

> 2) My workstation is Win98 and WinME. can my worktation transfer data
> from their computer to Linux hard disk??? it is very difficult or easy
> like NT which can just map the drive.

Samba is basically Network Neightborhood for Linux. You can find it on
http://www.freshmeat.net. Linux can read NTFS and FAT32/FAT16 partitions
on duel boot machines.

To make life easier you can also take a look at LinNeighborhood (also on
freshmeat) which is a GUI front end to samba mount so you can point and
click to mount shares on the Linux filesystem.

On the other side look at SWAT (same place) which is a web based (and
very easy to use) config tool to set up shares that are served from the
Linux box.

-- 
David Dorward                               http://www.dorward.co.uk/
The only way to keep your health is to eat what you don't want, drink
what you don't like, and do what you'd rather not. -- Mark Twain

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 18:46:23 +0200

In comp.os.linux.help Bill Unruh <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]> "Peter T. Breuer" <[EMAIL PROTECTED]> writes:

> Arrogant bastard aren't you.
> He asks a valid question ( and yes does not understand shell escaping vs

It is not a valid question. If you think that, then "why do you always
put on pink trousers every wednesday? Is it a bug?" is a valid question
of mine :-)

Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 18:44:41 +0200

In comp.os.linux.help Bill Unruh <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]> Erik Max Francis <[EMAIL PROTECTED]> writes:

>>> If filename contains ":", it thinks as port number is 30 in
>>> above case.

>>No, it is the way it is supposed to work.  Don't try to scp files that
>>contain colons.

> No, it is a bug. If it regards : as a special character, it should also
> give a way of escaping that special character. If it does not, then that

It DOES. That you seem incapable of understanding that is your problem!

Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 18:53:29 +0200

In comp.os.linux.help Bill Unruh <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]> Erik Max Francis <[EMAIL PROTECTED]> writes:
> Yes, and he is asking, is there a way to get scp to accept colons in

Then let him Ask That, instead of harping on about nonexistant bugs.

> filenames. Apparently none of you know. I do not either. 

No all of us "know", because it is obvious.

> And yes, it is a bug if scp gives no way of escaping the colon within a
> valid filename. (neither the scp or rcp man pages give any hint, so it
> may well be a bug in scp)

They don't have to give a hint, when it's specified right up there in
the first line of the manpage. For your amusement:

      scp   [-aAqQprvBCL1]   [-S path-to-ssh]   [-o ssh-options]
            [-P port] [-c cipher] [-i identity]
            [[user@]host1:]filename1...  [[user@]host2:]filename2

See it?


Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: filename contains ":" characters in scp?
Date: Tue, 15 May 2001 18:50:55 +0200

In comp.os.linux.help rdh <[EMAIL PROTECTED]> wrote:
> On Tue, 15 May 2001 15:07:50 +0200, "Peter T. Breuer"
> "But... but... but... this is simply an application of
> $OBSCURE_PRINCIPLE_OF_QUANTUM_PHYSICS!  You should have known that
> from birth!"

So they should. Quantum physics has been around since the 1920s. I
certainly learned basic quantum mechanics (hydrogen atom, etc.)
before I went to university. Mind you, on the "big brother" TV series
here, I saw that they took the people aside to give them some tests,
and several of them could neither do long division, nor evaluate
numbers given in roman numerals. And I recall talking to a biology
major in the states and finding that she didn't know what a myelin
sheath was. So apparently "common knowledge" is not common to many
people.

Peter

------------------------------


** 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 by posting to comp.os.linux.setup.

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-Setup Digest
******************************

Reply via email to