Re: bash profile problem

2001-09-22 Thread Chris Kassopulo

On Fri, 21 Sep 2001 21:24:03 -0600
Collins Richey [EMAIL PROTECTED] wrote:

 
 
 On Fri, 21 Sep 2001 14:47:50 +1130 Mike Andrew [EMAIL PROTECTED]
 wrote:
 
  On Tuesday 18 September 2001 14:23, Collins Richey wrote:
   I have bash 2.04, and I can't find anyway to get the aliases in
  the
   profile to take effect for normal users.
  
  .
   If, however, I use su, ls is available immediately in color.
  
   Is this a bash bug, maybe?
  [snipetty hack]
  
  
  su  uses the existing users environment and paths
  
  su -
  
  uses root's bash script
  
 
 Yes, but both sets of scripts are identical, namely both .bash_profile
 and .bashrc in both /home/collins and /root are
 
 #!/bin/bash -ls
 source /etc/profile
 
 The alias ... statements take effect only when I use su or login
 directly as root.
 
 
 OK, here's the problem.  Direct login as root or normal user works
 aok.  xterm under xfce, or konsole under kde ignores the aliases
 during initial login; you have to manually issue source /etc/profile. 
 It's not just my profile - any aliases you put in the profile will be
 ignored.
 
 How can I slay this beast?
 
 
 -- 
 Collins Richey

Interesting, on my system (vectorlinux 2.0):

/etc/profile has exports and paths that work and an alias that doesn't
/etc/bashrc has exports and aliai that work
~/.bashrc sources /etc/bashrc
/etc/profile is not sourced

Try putting the aliai in /etc/bashrc and source it from ~/.bashrc

-- 
Chris Kassopulo

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Konqueror and ftp

2001-09-22 Thread Joel Hammer

Thanks. Works great.
I could get to like Konqueror.
Joel



On Fri, Sep 21, 2001 at 10:47:45PM -0400, Wil McGilvery wrote:
 try ftp://user@host
 
 Using ftp://host gets you an anonymous ftp login.
 Is there a way to use Konqueror to get an ftp login as a regular user?
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Konqueror and ftp

2001-09-22 Thread Joel Hammer

 use ftp://username:password@host
 
 -- 
Thanks. Konqueror looks like it might even be userful at this rate.
Joel

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: [linux-elitists] class-action fun

2001-09-22 Thread Jerry McBride

On Sat, 22 Sep 2001 09:19:30 -0500 Rick Sivernell [EMAIL PROTECTED] wrote:

 Talking with my son last night, he swears that there is no other OS that can 
 do what M$ or XP can do. 

---snip---

Actually, xp ain't that bad. It's not the answer to the world problems or the
ultimate
OS for everyone, but the one, lone computer I saw it running on was pretty
niffty. But
then again... it (windows) all looks the same. :') 

XP is probably the final realization of what Bill Gates always dreamed of. The
real
show stopper is, the price, the footprint, the registration process and all
the linux 
code that was illegally used to prop it up...

Cheers... I'm off to buy a clothes washing machine and clothes dryer... :') 



-- 

**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
10:50am  up 18 days, 21:57,  7 users,  load average: 0.05, 0.05, 0.00
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: [linux-elitists] class-action fun

2001-09-22 Thread Joel Hammer

On Sat, Sep 22, 2001 at 09:19:30AM -0500, Rick Sivernell wrote:
 Talking with my son last night, he swears that there is no other OS that can 
 do what M$ or XP can do. Finally after our conversation is about over and I 

The best thing with windows users is benign neglect. Let Bill Gates solve
their problems for them. In my house, I just don't support windows anymore.
I don't (re)install and I don't troubleshoot the other members PC's, unless the
problem involves the linux run network. One has finally shifted to linux for
her on line activities (windows just stopped working). Another had to use linux
since windows finally just refused to reinstall on his computer. Another
would dump windows if not for AOL mail services. If any of your household got the 
new worm with IE, don't clean it up for them. It makes your life a lot easier. 
BTW, XP sounds like MS's first adventure into a good desktop OS, but, who knows.
Joel

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Arithmetic with dates and times

2001-09-22 Thread Joel Hammer

Hmmm...
Maybe there is a perl script somewhere that might do this.
Joel


On Sat, Sep 22, 2001 at 10:30:22AM -0400, Bruce Marshall wrote:
 On Saturday 22 September 2001 8:43 am, Joel Hammer wrote:
  Is there a builtin function to use with bash scripts to manipulate dates,
  for example, to subtract two dates or two times and get the difference
  between them?
  Thanks,
  Joel
 
 REBOL does this quite well  (and in almost any date format)  but it may be 
 overkill.Nice language though.
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Converted my lan to a router

2001-09-22 Thread Collins Richey

I just converted my home lan to use a router.  I was using a Netgear
hub with my WinME machine and Windows ICS.   Now I'm using a Netgear
router.   As expected, my linux box came up with almost no changes; I
had to screw around with the WinME box for a long time.

I'm encountering one minor problem that looks familiar, but I don't
have a solution yet.  DNS is working.  My brower (Opera, etc.) can
find anything, but for some reason my mail server name is not being
recognized.  I've had to revert to using specific ip address for mail
send/retrieve.

Any suggestions?

Note: my WinME box can find the mail server without divine
intervention. 

-- 
Collins Richey
Denver Area
gentoo_rc6 xfce+sylpheed
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: [linux-elitists] class-action fun

2001-09-22 Thread Bill Campbell

On Sat, Sep 22, 2001 at 11:03:59AM -0400, Joel Hammer wrote:
On Sat, Sep 22, 2001 at 09:19:30AM -0500, Rick Sivernell wrote:
 Talking with my son last night, he swears that there is no other OS that can 
 do what M$ or XP can do. Finally after our conversation is about over and I 

(quoted text reformatted to fit 80 characters).
The best thing with windows users is benign neglect. Let Bill Gates solve
their problems for them. In my house, I just don't support windows anymore.
I don't (re)install and I don't troubleshoot the other members PC's, unless
the problem involves the linux run network. One has finally shifted to
linux for her on line activities (windows just stopped working). Another
had to use linux since windows finally just refused to reinstall on his
computer. Another would dump windows if not for AOL mail services. If any
of your household got the new worm with IE, don't clean it up for them. It
makes your life a lot easier.  BTW, XP sounds like MS's first adventure
into a good desktop OS, but, who knows.

If I tell my wife I won't fix her Windows box life gets pretty nasty around
here (probably because of all my bitching, swearing, and general
frustration when I have to fight this idiocy).

Even if XP is more secure, etc. the new M$ licensing policies should go a
long way towards getting people off Windows.  Do they really want to have
to pay yearly renewal fees or they can't run their existing systems?  I
have friends who get everything done they need on WfWG 3.1 or even
WordPerfect for DOS, and don't want to pay a yearly Microsoft Tax.  Do you
want to have to call Microsoft Registration to get keys while reinstalling
Windows at 2am on a weekend?

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

A paranoid is a man who knows a little of what's going on.
-- William S. Burroughs
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Linux-users digest, Vol 1 #164 - 45 msgs

2001-09-22 Thread Bruce Marshall

On Saturday 22 September 2001 11:46 am, dragonsfireburns wrote:
 At 11:52 PM 9/21/01 -0400, you wrote:
 Send Linux-users mailing list submissions to
          [EMAIL PROTECTED]
 
 To subscribe or unsubscribe via the World Wide Web, visit
          http://linux.nf/mailman/listinfo/linux-users
 or, via email, send a message with subject or body 'help' to
          [EMAIL PROTECTED]
 
 You can reach the person managing the list at
          [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Linux-users digest...

THE BIGGEST SNIP I EVER WANT TO HANDLE!

Was there a reply anywhere in this mess?


-- 
++
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI 09/22/01 12:30  +
++
A conference is just an admission that you want somebody to join you in
  your troubles - Will Rogers
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Converted my lan to a router

2001-09-22 Thread Net Llama

So basically what you're saying is that the mail server domain name
isn't resolving to its IP.  THat is almost always a DNS issue.  Is this
mail server one that you're runnning, or your ISP's?  If its your own,
then check the name server that you're using.

--- Collins Richey [EMAIL PROTECTED] wrote:
 I just converted my home lan to use a router.  I was using a Netgear
 hub with my WinME machine and Windows ICS.   Now I'm using a Netgear
 router.   As expected, my linux box came up with almost no changes; I
 had to screw around with the WinME box for a long time.
 
 I'm encountering one minor problem that looks familiar, but I don't
 have a solution yet.  DNS is working.  My brower (Opera, etc.) can
 find anything, but for some reason my mail server name is not being
 recognized.  I've had to revert to using specific ip address for mail
 send/retrieve.
 
 Any suggestions?
 
 Note: my WinME box can find the mail server without divine
 intervention. 



=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux FAQ  Step-by-step help: http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Linux-users digest, Vol 1 #164 - 45 msgs

2001-09-22 Thread Net Llama


--- Bruce Marshall [EMAIL PROTECTED] wrote:
 On Saturday 22 September 2001 11:46 am, dragonsfireburns wrote:
  At 11:52 PM 9/21/01 -0400, you wrote:
  Send Linux-users mailing list submissions to
   [EMAIL PROTECTED]
  
  To subscribe or unsubscribe via the World Wide Web, visit
   http://linux.nf/mailman/listinfo/linux-users
  or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]
  
  You can reach the person managing the list at
   [EMAIL PROTECTED]
  
  When replying, please edit your Subject line so it is more specific
  than Re: Contents of Linux-users digest...
 
 THE BIGGEST SNIP I EVER WANT TO HANDLE!
 
 Was there a reply anywhere in this mess?

Nope.  It was about 50K of nothing.  I have kill filed that person
already.



=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux FAQ  Step-by-step help: http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Conditional hosts.allow statements

2001-09-22 Thread Joel Hammer

It turns out that it seems very easy to do.
eg.

in.telnetd  192.168.0.2 :\
 spawn (echo %a %c %d %d %n %p %s %u $(date)  /tmp/tcpd;\
kill -15 %p): ALLOW
This entry from my hosts.allow file just saves all the data tcpd collects,
then kills the tcpd daemon, and the ALLOW condition is never acted upon.
Now, to figure what conditions to put into my hosts.allow file!
Joel
  

On Sat, Sep 22, 2001 at 10:13:00AM -0400, Joel Hammer wrote:
 I use tcpwrappers in offering telnet services.  I use ipchains, not iptables.
 I would like to spawn a bash script in my hosts.allow file to check 
 certain conditions on the host computer (time of day, for example) before accepting
 the connection. I see how to spawn bash scripts, but I can find no where how
 tcpwrappers allows the bash script to decide whether or not to accept the
 connection.
 Any insight appreciated.
 Joel
 
 ___
 http://linux.nf -- [EMAIL PROTECTED]
 Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Converted my lan to a router

2001-09-22 Thread Bruce Marshall

On Saturday 22 September 2001 12:30 pm, Collins Richey wrote:
 I'm encountering one minor problem that looks familiar, but I don't
 have a solution yet.  DNS is working.  My brower (Opera, etc.) can
 find anything, but for some reason my mail server name is not being
 recognized.  I've had to revert to using specific ip address for mail
 send/retrieve.

 Any suggestions?

Hmmm  I might have a solution for you but you didn't provide much 
information.   Just who is not recognizing it?  The outside world?

Also, what is your mail setup?

I use my own sendmail for sending mail and pull mail off my ISP for 
receiving.  My hostname is  linux1.bmarsh.com  and since I don't allow DNS 
queries to come in from the outside world, I had to change my sendmail.cf to 
tell the world that I was  just bmarsh.com.  Sounds a little like your 
problem.

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Dj$w.bmarsh.com

Hope this helps.


-- 
++
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI 09/22/01 12:40  +
++
REALITY.SYS corrupted: Reboot universe? (Y/N/Q)
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



bash profile problem

2001-09-22 Thread Collins Richey

The following is an excerpt from my interchange with the linux-users
group.  I'm hoping that someone with an xfce perspective may have some
insight on this problem.  The basic problem is that when an xterm is
started or a kde Konsole is started under xfce, any aliases in the
profile (/etc/porfile .bashrc  .bash_profile) are ignored.  I have to
manually enter source /etc/profile after the window appears.  Other
statements in the profile (prompt, path, and variable settings) are
processed without error.  If I enter su (and password), the aliases
are honored.  If I login directly from a prompt (no X or xfce in the
picture) the aliases are honored both for root and normal user.

Any clues?
 

On Sat, 22 Sep 2001 03:02:17 + Chris Kassopulo
[EMAIL PROTECTED] wrote:

 On Fri, 21 Sep 2001 21:24:03 -0600
 Collins Richey [EMAIL PROTECTED] wrote:
 
  
  
  On Fri, 21 Sep 2001 14:47:50 +1130 Mike Andrew
 [EMAIL PROTECTED]
  wrote:
  
   On Tuesday 18 September 2001 14:23, Collins Richey wrote:
I have bash 2.04, and I can't find anyway to get the aliases
 in
   the
profile to take effect for normal users.
   
   .
If, however, I use su, ls is available immediately in color.
   
Is this a bash bug, maybe?
   [snipetty hack]
   
   
   su  uses the existing users environment and paths
   
   su -
   
   uses root's bash script
   
  
  Yes, but both sets of scripts are identical, namely both
 .bash_profile
  and .bashrc in both /home/collins and /root are
  
  #!/bin/bash -ls
  source /etc/profile
  
  The alias ... statements take effect only when I use su or login
  directly as root.
  
  
  OK, here's the problem.  Direct login as root or normal user works
  aok.  xterm under xfce, or konsole under kde ignores the aliases
  during initial login; you have to manually issue source
 /etc/profile. 
  It's not just my profile - any aliases you put in the profile will
 be
  ignored.
  
  How can I slay this beast?
  
  
  -- 
  Collins Richey
 
 Interesting, on my system (vectorlinux 2.0):
 
 /etc/profile has exports and paths that work and an alias that
 doesn't
 /etc/bashrc has exports and aliai that work
 ~/.bashrc sources /etc/bashrc
 /etc/profile is not sourced
 
 Try putting the aliai in /etc/bashrc and source it from ~/.bashrc
 

Same results

- 
Collins Richey
Denver Area
gentoo_rc6 xfce+sylpheed
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Converted my lan to a router

2001-09-22 Thread Collins Richey

On Sat, 22 Sep 2001 12:44:37 -0400 Bruce Marshall [EMAIL PROTECTED]
wrote:

 On Saturday 22 September 2001 12:30 pm, Collins Richey wrote:
  I'm encountering one minor problem that looks familiar, but I
 don't
  have a solution yet.  DNS is working.  My brower (Opera, etc.) can
  find anything, but for some reason my mail server name is not
 being
  recognized.  I've had to revert to using specific ip address for
 mail
  send/retrieve.
 
  Any suggestions?
 
 Hmmm  I might have a solution for you but you didn't provide much 
 information.   Just who is not recognizing it?  The outside world?
 
 Also, what is your mail setup?
 
 I use my own sendmail for sending mail and pull mail off my ISP for 
 receiving.  My hostname is  linux1.bmarsh.com  and since I don't
 allow DNS 
 queries to come in from the outside world, I had to change my
 sendmail.cf to 
 tell the world that I was  just bmarsh.com.  Sounds a little like
 your 
 problem.
 
 # my official domain name
 # ... define this only if sendmail cannot automatically determine
 your domain
 Dj$w.bmarsh.com
 
 Hope this helps.
 
 

Thanks, Bruce, but no action is required (see my other post).  This is
an external mail server, namely mail.aurora1.co.home.com.  All my
problems appear to have been resolved by a reboot - restart of network
would probably have accomplished the same thing, but I had to reboot
anyway after putting the router and cables in their permanent homes
instead of snaking across the middle of the room for the initial test.

-- 
Collins Richey
Denver Area
gentoo_rc6 xfce+sylpheed
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Got it

2001-09-22 Thread stayler

Well, found a project on Freshmeat, ripmime that did the trick.  Also
found an OS/2 app from 1995 that worked great too, Mime64.  It has a
make file but gcc complains about a parsing error before 032 so oh
well.  The OS/2 app is smallewr and easier to use so I'd like to get it
ported.  Any good online sources that would help with this?

stayler

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: [linux-elitists] class-action fun

2001-09-22 Thread Rick Sivernell

My son is 30, lives in Atlanta. Does call here a lot for Help. Most of the 
time I tell him to buy a book because I do not use that flavour of winders. 
If he would use NT, then I could help him more. Uswe Linux help him not at 
all, would not need my help, linux.nf, caldera list etc. I do have to keep my 
wife NT box running. Installed 2 years ago and run fine. She make use a Word 
doc from time to time, but mostly outlook mail and solitare game. Hehe no 
real load here.

cheers
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1
Registered Linux User

        .~.
       / v \
      /( _ )\
        ^ ^
In Linux we trust!
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: bash profile problem

2001-09-22 Thread Chris Kassopulo

On Sat, 22 Sep 2001 10:19:28 -0600
Collins Richey [EMAIL PROTECTED] wrote:

 The following is an excerpt from my interchange with the linux-users
 group.  I'm hoping that someone with an xfce perspective may have some
 insight on this problem.  The basic problem is that when an xterm is
 started or a kde Konsole is started under xfce, any aliases in the
 profile (/etc/porfile .bashrc  .bash_profile) are ignored.  I have to
 manually enter source /etc/profile after the window appears.  Other
 statements in the profile (prompt, path, and variable settings) are
 processed without error.  If I enter su (and password), the aliases
 are honored.  If I login directly from a prompt (no X or xfce in the
 picture) the aliases are honored both for root and normal user.
 
 Any clues?
  
 
 On Sat, 22 Sep 2001 03:02:17 + Chris Kassopulo
 [EMAIL PROTECTED] wrote:
 
  On Fri, 21 Sep 2001 21:24:03 -0600
  Collins Richey [EMAIL PROTECTED] wrote:
  
   
   
   On Fri, 21 Sep 2001 14:47:50 +1130 Mike Andrew
  [EMAIL PROTECTED]
   wrote:
   
On Tuesday 18 September 2001 14:23, Collins Richey wrote:
 I have bash 2.04, and I can't find anyway to get the aliases
  in
the
 profile to take effect for normal users.

.
 If, however, I use su, ls is available immediately in color.

 Is this a bash bug, maybe?
[snipetty hack]


su  uses the existing users environment and paths

su -

uses root's bash script

   
   Yes, but both sets of scripts are identical, namely both
  .bash_profile
   and .bashrc in both /home/collins and /root are
   
   #!/bin/bash -ls
   source /etc/profile
   
   The alias ... statements take effect only when I use su or login
   directly as root.
   
   
   OK, here's the problem.  Direct login as root or normal user works
   aok.  xterm under xfce, or konsole under kde ignores the aliases
   during initial login; you have to manually issue source
  /etc/profile. 
   It's not just my profile - any aliases you put in the profile will
  be
   ignored.
   
   How can I slay this beast?
   
   
   -- 
   Collins Richey
  
  Interesting, on my system (vectorlinux 2.0):
  
  /etc/profile has exports and paths that work and an alias that
  doesn't
  /etc/bashrc has exports and aliai that work
  ~/.bashrc sources /etc/bashrc
  /etc/profile is not sourced
  
  Try putting the aliai in /etc/bashrc and source it from ~/.bashrc
  
 
 Same results
 
 - 
 Collins Richey

Try this:
http://lists.debian.org/debian-user/1999/debian-user-199906/msg00214.html

Sourcing from .xsession might be a work around till you find the real problem.

-- 
Chris Kassopulo

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Linux-users digest, Vol 1 #164 - 45 msgs

2001-09-22 Thread Keith Antoine

On Sun, 23 Sep 2001 02:50, you wrote:
 dragonsfireburns [EMAIL PROTECTED] wrote: and quoted 110kb's
 of text to write a few lines way down in about the middle of those
 hundreds of lines of text. WTF were you thinking? You've earned a spot -
 right at the top - of my killfile. PLONK!!

 pissed off? you bet!

The guy is obviuosly a winders refugee, like our boat people, he hasn't a clue
about edoing things correctly and editting mail. I also have
banned him landing. Wonder whether he will apologise ??

-- 
-
To those who have been in harms way, to those that have made the
sacrifice in humanities name. At the going down of the sun and
in the morning I shall remember them. 
-
Keith Antoine aka skippy
18 Arkana St The Gap Queensland 4061 Australia PH 16 7 33002161
Retired Geriatric and Sometime Electronics Engineer : Knowall

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Linux-users digest, Vol 1 #164 - 45 msgs

2001-09-22 Thread Tim Wunder

Previously, dragonsfireburns chose to write:
 At 11:52 PM 9/21/01 -0400, you wrote:
 
 Like this?
 http://www.ltsp.org/index.php

 Something like that but not disk less. This needs a rom modification to
 boot. I prefer to use an existing machine and convert it easily so that
 their is a choice of terminal server or stand alone. With the Windoze
 Network 2k you click on an icon and the server desktop pops up on your
 screen, then you run the software like it was on your own machine.

 Thanks!


VNC then?
http://www.uk.research.att.com/vnc/

BTW, you might want to either trim your posts, or respond to the correct 
thread next time (if you didn't gather that from the replies to your post 
thus far...).

Tim
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Linux-users digest, Vol 1 #164 - 45 msgs

2001-09-22 Thread Michael Scottaline

On Sun, 23 Sep 2001 10:30:33 +1000
Keith Antoine [EMAIL PROTECTED] insightfully noted:

KA On Sun, 23 Sep 2001 02:50, you wrote:
KA  dragonsfireburns [EMAIL PROTECTED] wrote: and quoted
KA 110kb's
KA  of text to write a few lines way down in about the middle of those
KA  hundreds of lines of text. WTF were you thinking? You've earned a
KA spot -
KA  right at the top - of my killfile. PLONK!!
KA 
KA  pissed off? you bet!
KA 
KA The guy is obviuosly a winders refugee, like our boat people, he
KA hasn't a clue
KA about edoing things correctly and editting mail. I also have
KA banned him landing. Wonder whether he will apologise ??
=
If he does, guess you'll miss it, Skippy.  Me too; sending his stuff to
/dev/null ;o)
Mike

-- 
No enterprise is more likely to succeed than one concealed
from the enemy until it is ripe for execution.
Machiavelli from _The Art of War_
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: creating batch file for logon script...

2001-09-22 Thread Joel Hammer

This is one of the oldest irritations in computing.
DOS ends lines with 0D 0A but linux and unix just use 0A.
This script should fix you up if you have a modern sed:
cat linux.script | sed 's/.*/\x0D/'  dos.script 
If you have an older sed, this might work:
cat linux.script | sed 's/.*/\r/'   dos.script
You can check this out with:
od -a linux.script
od -a dos.script
Similar fixes can be done with awk, but I have forgotten how to use it.
Going dos to linux is easier:
cat dos.script | tr -d\r  linux.script
I haven't tried running such converted scripts, so YMMV.
Joel

 
 the problem is that whenever i create the batch file in linux 
 using vi or any text editor, the script cannot be executed and,
 my friend told me that i need a program that would convert the
 batch script created in linux to have dos commands. Does anyone
 of such package/program? Or does anyone know an easier way to do
 this?
 
 
 As of now i have to create all the scripts for all the users in notepad,
 so that it can be executed, then copy it to the the netllogon directory 
 of my samba server.
 
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



NIMDA worm: JavaScript

2001-09-22 Thread Joel Hammer

I thought from all I had read about JavaScript that it was designed to be
safe.
I recall on another list someone said he had downloaded a malicious html doc
and others on the list claimed that was impossible. This was a long time
ago, like 8 months.
Anyway, the following update is rather alarming:
http://www.cert.org/advisories/CA-2001-26.html
Even linux boxes are getting infected from their windows clients if they run
samba. There was a fix posted on the samba mailing list.
Joel

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Linux-users digest, Vol 1 #164 - 45 msgs

2001-09-22 Thread Tony Alfrey

On Saturday 22 September 2001 05:30 pm,Keith Antoine wrote:
 On Sun, 23 Sep 2001 02:50, you wrote:
  dragonsfireburns [EMAIL PROTECTED] wrote: and quoted
  110kb's of text to write a few lines way down in about the middle
  of those hundreds of lines of text. WTF were you thinking? You've
  earned a spot - right at the top - of my killfile. PLONK!!
 
  pissed off? you bet!

 The guy is obviuosly a winders refugee, like our boat people, he
 hasn't a clue about edoing things correctly and editting mail. I also
 have banned him landing. Wonder whether he will apologise ??

I'm surprised anybody read it.  g 

-- 
Tony Alfrey
[EMAIL PROTECTED]
I'd rather be sailing
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



A couple of Questions about Debian Linux/Storm Linux

2001-09-22 Thread Shane Broomhall

Hi All,

I have serveral boxed copies of Linux at home. I am planning on spending
some time with all of them.  I have heard that Debian is one of the most
stable Dists.  I have purchased 4-6 months ago a boxed set of storm, it is
based on Debian.  I have heard Storm have ceased trading.  As Storm is based
on Debian, does that mean that I can use it and get the Debian files to add
to what I already have in the way of utilities I need ???

For Example, can I use a normal Debina Kernal to upgrade my setup if I
choose to run storm ??

I have found a site that has Win Modem drivers for Linux, but mainly Debian,
Could I use these with Storm ??

Thanks in advance, I appreciate any assistance anyone might offer.


Shane Broomhall

Brisbane Australia

[EMAIL PROTECTED]
[EMAIL PROTECTED]


___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: NIMDA worm: JavaScript

2001-09-22 Thread Tim Wunder

Previously, Joel Hammer chose to write:
 I thought from all I had read about JavaScript that it was designed to be
 safe.
 I recall on another list someone said he had downloaded a malicious html
 doc and others on the list claimed that was impossible. This was a long
 time ago, like 8 months.
 Anyway, the following update is rather alarming:
 http://www.cert.org/advisories/CA-2001-26.html
 Even linux boxes are getting infected from their windows clients if they
 run samba. There was a fix posted on the samba mailing list.
 Joel


Hi Joel, 
I didn't see anything in the advisory pertaining to Samba, was that something 
you just got from the samba list?

Tim
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: bash profile problem

2001-09-22 Thread Chris Kassopulo


  
  Try putting the aliai in /etc/bashrc and source it from ~/.bashrc
  
 
 Same results
 

What is the result of: echo $BASH_ENV

-- 
Chris Kassopulo

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: NIMDA worm: JavaScript

2001-09-22 Thread Joel Hammer

 
 Hi Joel, 
 I didn't see anything in the advisory pertaining to Samba, was that something 
 you just got from the samba list?
 
There is mention that the infected clients will attempt to spread the worm:
from client to client via open network shares
This includes samba.
I don't think there is any danger to linux boxes, but windows clients can
get infected from the linux server.
One guy (On the samba list?) says he visited a site and got hundreds of
copies of the worm on his linux box. I tried that but only got one copy. Of
course, I used opera, and I likely had javascript turned off, which is what
CERT recommends.
Not counting one day when I turned off logging (the first day), I have had
880 hosts attack me and have had 20,000 separate hits on my port 80
from this worm.
This is the worst yet, methinks.
Joel

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: bash profile problem

2001-09-22 Thread Collins Richey

On Sun, 23 Sep 2001 00:01:28 + Chris Kassopulo
[EMAIL PROTECTED] wrote:

 
   
   Try putting the aliai in /etc/bashrc and source it from
 ~/.bashrc
   
  
  Same results
  
 
 What is the result of: echo $BASH_ENV
 

The variable is not set.

-- 
Collins Richey
Denver Area
gentoo_rc6 xfce+sylpheed
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



kcore

2001-09-22 Thread Bruce Marshall

Anyone know what the file  '/proc/kcore'  does?   Sounds to me like a dump of 
some kind.

I've been tracking why my disk space keeps going up and found  /proc/kcore  
at a size of  815MB!!! And climbing.   Tried to delete it but it won't 
let me under normal conditions.  (prob cuz KDE is running)Will kill KDE 
and try to delete it but I must have a major problem somewhere.   Yet KDE is 
running fine.

The file is binary so there's nothing I can deduce from that.
-- 
++
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI 09/22/01 23:50  +
++
Farrell's Law of Newfangled Gadgetry:
   The most expensive component is the one that breaks.
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Arithmetic with dates and times

2001-09-22 Thread Alan Jackson

On Sat, 22 Sep 2001 08:43:04 -0400  Joel Hammer wrote:
 Is there a builtin function to use with bash scripts to manipulate dates,
 for example, to subtract two dates or two times and get the difference
 between them?
 Thanks,
 Joel

I use perl. There is a module in particular that has functions :

use Date::Calc qw(
 Date_to_Days
 Delta_Days
 Add_Delta_Days
 Add_Delta_DHMS
 );

$days = Delta_Days($y1, $m1, $d1, $y2, $m2, $d2); # days between 2 dates

($y, $m, $d) = Add_Delta_Days($oldy, $oldm, $oldd, $days); # add days to a date

plus many, many more...
-- 
---
| Alan K. Jackson| To see a World in a Grain of Sand  |
| [EMAIL PROTECTED]  | And a Heaven in a Wild Flower, |
| www.ajackson.org   | Hold Infinity in the palm of your hand |
| Houston, Texas | And Eternity in an hour. - Blake   |
---

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: kcore

2001-09-22 Thread Bruce Marshall

On Saturday 22 September 2001 23:52 pm, Bruce Marshall wrote:
 Anyone know what the file  '/proc/kcore'  does?   Sounds to me like a dump
 of some kind.

 I've been tracking why my disk space keeps going up and found  /proc/kcore
 at a size of  815MB!!! And climbing.   Tried to delete it but it won't
 let me under normal conditions.  (prob cuz KDE is running)Will kill KDE
 and try to delete it but I must have a major problem somewhere.   Yet KDE
 is running fine.

 The file is binary so there's nothing I can deduce from that.

Ahhh  forget this bit of embarrassing  tripe.I am going to deduce that 
kcore is anuther linux feechur that is a map into your memory as a 
filesystem.  Neat trick.  So it's really not a file at all and doesn't take 
up disk space.


-- 
++
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI 09/22/01 23:58  +
++
'LOVE' is nothing but 'SEX' mispelled.
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: A couple of Questions about Debian Linux/Storm Linux

2001-09-22 Thread Myles Green

Hi Shane,

Yes, you can use software compiled for Debian 'Potato' 2.2r3. In fact,
with the correct lines in /etc/apt/sources.list you can continue
upgrading and updating to your hearts content. The apt utility is quite
handy ( see man apt ). You'll need to comment out or remove any/all
lines in your sources.list that point to stormix's ftp site... but if
you go to their web site (it was still working last time I looked) and
look for the 'Mirrors' page you find, I believe, at least one that still
works - also ftp.sourceforge.net contains a storm directory under the
mirrors directory. Use that before you go after the 'pure' debian stuff
and you'll be able to keep using the graphical config. and package
manager supplied by stormix. I have a remote box still running Storm but
it looks as though the owner has it shut down (probably to save on the
power bill) right now so I can't grab a copy of the custom  sources.list
for you. You might want to check out the archives of the debian users
mailing list as there were many many posts within the last year
detailing how to keep storm up to date.

HTH

Myles

Shane Broomhall [EMAIL PROTECTED] wrote:
 Hi All,
 
 I have serveral boxed copies of Linux at home. I am planning on
 spending
 some time with all of them.  I have heard that Debian is one of the
 most
 stable Dists.  I have purchased 4-6 months ago a boxed set of storm,
 it is
 based on Debian.  I have heard Storm have ceased trading.  As Storm is
 based
 on Debian, does that mean that I can use it and get the Debian files
 to add
 to what I already have in the way of utilities I need ???
 
 For Example, can I use a normal Debina Kernal to upgrade my setup if I
 choose to run storm ??
 
 I have found a site that has Win Modem drivers for Linux, but mainly
 Debian,
 Could I use these with Storm ??
 
 Thanks in advance, I appreciate any assistance anyone might offer.
 
 
 Shane Broomhall
 
 Brisbane Australia
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 
 ___
 http://linux.nf -- [EMAIL PROTECTED]
 Archives, Subscribe, Unsubscribe, Digest, Etc
 -http://linux.nf/mailman/listinfo/linux-users


-- 
Myles Green Calgary AB Canada
Alberta Step by Step Mirror:
http://www.telusplanet.net/public/mylesg/


___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



new vmware install karks it.

2001-09-22 Thread Keith Antoine

I have installed vmware many times but this latest one takes the biscuit.
Essentially it is stuffing up at the point in the vmware-install.pl: Where do 
you keep your C header files question. Default is /usr/src/linux/include, it 
then tells me::

The path /usr/src/linux-2.4.2/include is an existing directory, but it does
not contain at least one of these directories linux, asm, net as 
expected.

However as we all well know the Dirs are there, however in 3.1 asm has 
different names i.e asm-generic asm-i386 etc, the 2.4 used to have an asm as 
well. Could this be the case or is it something else.

Yep, its not intuitive like me, so what can I do please?
-- 
-
To those who have been in harms way, to those that have made the
sacrifice in humanities name. At the going down of the sun and
in the morning I shall remember them. 
-
Keith Antoine aka skippy
18 Arkana St The Gap Queensland 4061 Australia PH 16 7 33002161
Retired Geriatric and Sometime Electronics Engineer : Knowall

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: bash profile problem

2001-09-22 Thread Chris Kassopulo

On Sat, 22 Sep 2001 22:00:40 -0600
Collins Richey [EMAIL PROTECTED] wrote:

 On Sun, 23 Sep 2001 00:01:28 + Chris Kassopulo
 [EMAIL PROTECTED] wrote:
 
  

Try putting the aliai in /etc/bashrc and source it from
  ~/.bashrc

   
   Same results
   
  
  What is the result of: echo $BASH_ENV
  
 
 The variable is not set.
 

with aliai in /etc/bashrc and sourced from ~/.bashrc
export BASH_ENV=$HOME/.bashrc - try it in /etc/profile
logout and in

-- 
Chris Kassopulo
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: kcore

2001-09-22 Thread Jay Nugent

Greetings,

On Sun, 23 Sep 2001, Bruce Marshall wrote:

 On Saturday 22 September 2001 23:52 pm, Bruce Marshall wrote:
  Anyone know what the file  '/proc/kcore'  does?   Sounds to me like a dump
  of some kind.
 
  I've been tracking why my disk space keeps going up and found  /proc/kcore
  at a size of  815MB!!! And climbing.   Tried to delete it but it won't
  let me under normal conditions.  (prob cuz KDE is running)Will kill KDE
  and try to delete it but I must have a major problem somewhere.   Yet KDE
  is running fine.
 
  The file is binary so there's nothing I can deduce from that.
 
 Ahhh  forget this bit of embarrassing  tripe.I am going to deduce that 
 kcore is anuther linux feechur that is a map into your memory as a 
 filesystem.  Neat trick.  So it's really not a file at all and doesn't take 
 up disk space.

   I dare ya to delete it, Bruce.  Go ahead (nervous laugh like Bevis 
Butthead) I dare ya, do it!  do it!  (more nervous laughing)...

   Just remember that you will need to reboot afterwards, run fsck, and
the system will likely come back without error...

   But you are correct, /proc doesn't really take up any disk space as it
is a filesystem in RAM :-)

  --- Jay

 Those who sacrifice essential liberty to obtain a temporary safety
 end up with neither.  -- Ben Franklin (1759) 
++
| Jay Nugent   [EMAIL PROTECTED](734)971-1076(734)971-4529/Fax|
| Nugent Telecommunications  [www.nuge.com] (734)649-0850/Cell   |
|   Internet Consulting/Linux SysAdmin/Engineering  Design/ISP Reseller |
| ISP Monitoring [www.ispmonitor.net] ISP  Modem Performance Monitoring |
| Web-Pegasus[www.webpegasus.com] Web Hosting/DNS Hosting/Shell Accts|
| LinuxNIC, Inc. [www.linuxnic.net]   Registrar of the .linux TLD|
++
  1:00am  up 13 days,  9:53,  6 users,  load average: 0.17, 0.20, 0.60

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users



Re: Arithmetic with dates and times

2001-09-22 Thread Ronnie Gauthier

opps, grabed an old file to copy from

add

$yr=$year-100; above the $date= line

On Saturday 22 September 2001 07:43, Joel Hammer wrote:
 Is there a builtin function to use with bash scripts to manipulate dates,
 for example, to subtract two dates or two times and get the difference
 between them?
 Thanks,
 Joel

 ___
 http://linux.nf -- [EMAIL PROTECTED]
 Archives, Subscribe, Unsubscribe, Digest, Etc
 -http://linux.nf/mailman/listinfo/linux-users

-- 
Ronnie
==
Life can be a dream; or it can be a nightmare
it's all in your mind
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
-http://linux.nf/mailman/listinfo/linux-users