spammer lurking

2000-01-29 Thread Jim B
This list is definitely being used to harvest e-mail addresses.

[EMAIL PROTECTED]
and
[EMAIL PROTECTED]

Are two of the addresses from which I supposedly received mail on this
address, which obviously I only used for subscription to this list.

I'm not on the list at the moment, if anyone needs to write to me about
this I will still get your mail at this address.

I hate spam.


using openssh on slink (slightly o-t)

2000-01-19 Thread Jim B
I just grabbed the OpenSSH 1.2.1pre27 sources from the openssh web site.  
I already had a working installation of OpenSSL (also built from source).  
For the most part OpenSSH works fine, but I have 3 problems with it -- one
of which may be a bug in the Makefile/configure script, but anyway  
Really I'm just wondering if anyone else has seen these problems.  I'd
write to the OpenSSH list if it existed, but the only ones I see are for
developers and for bug reports and I'm not sure I'm ready to file a bug
report just yet.

Anyway, here they are:

1) When I send the process a HUP signal, it is unable to restart.  I see
this message in /var/log/auth.log:

sshd[21839]: Received SIGHUP; restarting.
sshd[21839]: RESTART FAILED: av0='sshd', error: No such file or directory.

Normally I would think that it was just a problem with the daemon's PATH
env variable, but even if I use env to run it with a path which includes
the binary's dir, I get the same error.

Ex: # env PATH=/usr/local/openssh/bin:/usr/local/openssh/sbin:$PATH
/usr/local/openssh/sbin/sshd

I have looked at the daemon's output under strace and with debug (-d) mode
enabeled but I don't see what file it can't find.


2) Though I set the pidfile dir to /usr/local/var/run, it still puts it in
/var/run.  Here was my configure line:

configure --prefix=/usr/local/openssh --enable-gnome-askpass --with-tcp-
wrappers --with-md5-passwords --with-pid-dir=/usr/local/var/run

Is this a bug?


3) Lastly, when I enable UseLogin in the sshd_config, the daemon boots
me out when I try to log in.  Here is what I see in auth.log:

sshd[22097]: debug: Allocating pty.
sshd[22097]: debug: Forking shell.
sshd[22097]: debug: Entering interactive session.
sshd[22101]: debug: Setting controlling tty using TIOCSCTTY.
sshd[22097]: debug: Received SIGCHLD.
sshd[22097]: debug: End of interactive session; stdin 0, stdout (read 125,
sent 125), stderr 0 bytes.
sshd[22097]: debug: Command exited with status 1.
sshd[22097]: debug: Received exit confirmation.
sshd[22097]: Closing connection to 127.0.0.1


And in sshd's debug output:

debug: Attempting authentication for user.
Accepted password for user from 127.0.0.1 port 3695
debug: Allocating pty.
debug: Forking shell.
debug: Entering interactive session.
debug: Setting controlling tty using TIOCSCTTY.
debug: Received SIGCHLD.
debug: End of interactive session; stdin 0, stdout (read 125, sent 125),
stderr 0 bytes.
debug: Command exited with status 1.
debug: Received exit confirmation.
Closing connection to 127.0.0.1


While the client sees the following:

Warning: Remote host denied X11 forwarding.
Environment:
  SSH_CLIENT=127.0.0.1 3695 2519
  SSH_TTY=/dev/ttypf
  TERM=xterm-debian
login: No such file or directory
Connection to localhost closed.


I can log in with no problem if I don't enable the UseLogin option.  
Shouldn't sshd be able to find /bin/login if it's in its PATH?


Thanks for any help.


Re: Can't find /dev/dsp

2000-01-16 Thread Jim B
cd /dev/
./MAKEDEV audio

should make those devices for you.


On Sun, 16 Jan 2000, Fredrik Appelberg wrote:

 Hi all!
 I've been trying to get my SB Live soundcard working, and after
 installing a precompiled kernel (2.2.13) and dowloading and compiling
 the emu10k1 driver code from creative I am at last able to play a cd
 on my computer. However, when I run mpg123 it complains about not
 being able to open /dev/dsp. This seems pretty reasonable, since even
 I can't find a /dev/dsp (or /dev/audio for that matter).
 So, how do I get these devices installed? Is there any way of doing it
 without compiling the kernel (I tried that late last night, but the
 computer hung while booting, I think it's a ecgs 2.95 matter)?
 
 Thanks,
 --Fredrik


problem compiling licq's qt-gui

2000-01-16 Thread Jim B
I just downloaded the source to licq 0.75.1 and compiled it fine, no
problems.  However, I'm trying to build the qt-gui that it comes with and
am getting an error and I might need some help figuring out just what is
wrong with my setup.  I am pretty certain it doesn't have anything to do
with qt, but rather with the libraries installed on my machine.

I installed qt-1.44 and 2.0 myself and have compiled many things with
them, including this qt-qui (older versions).  However, since the last
time I did this, I ran into some dependency problems trying to install the
y2k-update packages from http://www.debian.org/~vincent/ .  The packages
are no longer there for obvious reasons.  :)  But some of them were g++,
libstdc++, and libstdc++-dev.  I had been downloading the .debs and using
dpkg -i to install, and some of them were dependent upon *each other* so
it was impossible to install that way.  Later I just put the URL into my
sources.list and let apt and dselect do it for me and it ended up working.


At any rate, here is the error (please bear with me for a minute):

gcc -shared  adduserdlg.lo authuserdlg.lo awaymsgdlg.lo chatacceptdlg.lo
chatdlg.lo editgrp.lo editskin.lo eventdesc.lo ewidgets.lo
fileacceptdlg.lo filedlg.lo icqfunctions.lo licqgui.lo mainwin.lo
messagebox.lo mledit.lo optionsdlg.lo outputwin.lo passworddlg.lo
plugindlg.lo qmultilineeditnew.lo registeruser.lo searchuserdlg.lo
securitydlg.lo showawaymsgdlg.lo sigman.lo skin.lo skinbrowser.lo
userbox.lo utilitydlg.lo wharf.lo qmultilineeditnew.moc.lo
-L/usr/X11R6/lib -L/usr/local/qt/lib -L/usr/local/lib -lqt -lSM -lICE
-lX11 -lXext -lXss -lstdc++ -lnsl -lc  -Wl,-soname -Wl,licq_qt-gui.so -o
.libs/licq_qt-gui.so
ld: cannot open -lstdc++: No such file or directory
make[2]: *** [licq_qt-gui.la] Error 1
make[2]: Leaving directory
`/home/jamesb/src/licq-0.75.1/plugins/qt-gui-0.70.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/jamesb/src/licq-0.75.1/plugins/qt-gui-0.70.1'
make: *** [all-recursive-am] Error 2


I believe this has something to do with my hack-job attempt at installing
those y2k-update packages a little while back.  I can't figure out what
the heck I am missing though.

Here's something that may be related.  In dselect (yes I have updated the
package list) I see this:

--- Removed Required packages in section base ---
  ** Req base libstdc++2.9 none  none


But if I run dpkg --status libstdc++2.9 I get the following output:

Package: libstdc++2.9
Status: install ok installed
Priority: required
Section: base
Installed-Size: 552
Maintainer: Debian EGCS maintainers [EMAIL PROTECTED]
Source: egcs (1.1.2-0slink2)
Version: 2.91.66-0slink2
Replaces: libstdc++2.9-ss ( 2.91.67)
... etc.


My /etc/apt/sources.list has the following lines:
deb ftp://ftp.debian.org/debian/ stable main contrib non-free
deb-src ftp://ftp.debian.org/debian/ stable main contrib non-free

How can this be?  Something just isn't making any sense.  Can anyone
assist?


Re: problem compiling licq's qt-gui

2000-01-16 Thread Jim B
On Sun, 16 Jan 2000, J.H.M. Dassen (Ray) wrote:

 No it's not. Mutually dependent packages can be installed with dpkg -i if
 they're both provided in the same commandline.

Aha!  I thought it was odd to have been dumped into such a quandary.  :)  
Thanks, I'm sure that will prevent much future frustration.


  gcc -shared 
 
 Always call g++ to link/compile C++ code, not gcc.

OK.  It was shipped this way, not sure why.  :-\


 /usr/lib/libstdc++.so is a symlink to an existing libstdc++*.so* file.

That did the trick.  Thanks!  It compiles now.


Re: ethernet config

2000-01-14 Thread Jim B
You will need to use ifconfig to set up your network adapter.  For
example:

ifconfig eth0 1.2.3.4


You also will also need to add routes depending on what kind of network
environment you are in (is this machine a gateway, or does it use another
machine as its gateway, etc.).  Respond to the list with more details and
we can get into specifics if you like.  Check the man pages for ifconfig
and route while you are at it:

man ifconfig
man route

Once you get everything set up the way you want it, you should edit your
/etc/init.d/network script and put the commands there so they will be run
when you boot your machine.


On Fri, 14 Jan 2000, Suresh Kumar.R wrote:

 Hi
 
 Once the debian base system is installed how to config the ethernet card?.
 I used to call something like netcfg in redhat. I am new to debian and
 dont know the equivalent in debain
 
 Thank you


Re: How to install new Window manager

2000-01-14 Thread Jim B
The correct way to install a new window manager is to use
register-window-manager.

register-window-manager --add /usr/local/bin/blah

or

register-window-manager --default /usr/local/bin/blah

to make blah your default WM.

Basically it just puts it in /etc/X11/window-managers .  The first in the
list is the default.


On Fri, 14 Jan 2000, Guyren G Howe wrote:

 This does nothing. I execute chmod 700 .xsession, and nothing happens. I
 just get the command prompt back.
 
 Besides, shouldn't this tie into startx somehow?


limits in /etc/passwd, and maybe a bug in processing /etc/limits? :)

2000-01-13 Thread Jim B
OK.  As a continuation of my previous ramblings on resource limits, I'm
running into two more similar issues on my slink machine.

According to /etc/login.defs, I should be able to employ resource limits
by editing users' passwd entries.  I have QUOTAS_ENAB in login.defs:

# Enable setting of ulimit, umask, and niceness from passwd gecos field.
#
QUOTAS_ENAB yes


If I look at man 5 passwd, I see the following:


   The  comment  field  is  used by various system utilities,
   such as finger(1).  Three additional values may be present
   in the comment field.  They are

pri= - set initial value of nice
umask= - set initial value of umask
ulimit= - set initial value of ulimit

   These  fields  are  separated from each other and from any
   other comment field by a comma.


I tried to set the umask to 022 this way with a test account, and I can't
get it to do anything at all.

I have tried adding extra comment entries by adding commas in
/etc/passwd, and I've also tried using the pre-existing comment
entries.  None of it works.  I end up with the default umask of 002 no
matter what... and yes I have commented-out the umask field in
/etc/profile, and there is none in the test user's .bash_profile,
.profile, and .bashrc.  :)

Anyone know the right way to do it?


My second problem... well, it looks like it may be a bug.  Note the
following text in /etc/limits:

# Valid flags are:
# A: max address space (KB)
# C: max core file size (KB)
# D: max data size (KB)

... and so on.


But any time I use the A limit, the whole line becomes useless.  See the
following in man 5 limits:

A invalid limits string will be rejected (not considered) by the login
program.

If I take out the A limit, the rest of the line functions again.  So
there seems to be some kind of problem reading or enforcing this limit.


So a line like this:

* L2 D12288 M32768 R2048 S2048 U64 N256 F16384 T60 C0

works fine.


But one like this:

* A32768 L2 D12288 M32768 R2048 S2048 U64 N256 F16384 T60 C0

breaks the whole line and NO limits are enforced.


Is this a bug or am I doing something wrong (again)?  :)


Re: portmap question

2000-01-13 Thread Jim B
On Wed, 12 Jan 2000, Mark Wagnon wrote:

 I read a few solutions to this problem in the archives, and they
 range from renaming the portmap binary to editing the script in
 /etc/init.d. I didn't want to resort to these little hacks. Is there
 a way to keep it from starting in the first place?

slink right?

I commented out the lines that start it in /etc/init.d/netbase.  I think
that's as close as you're going to get as a best way to do it, because
it unfortunately is crammed in there with the rest of the stuff.


 Also, why is portmap included in the netbase package anyway?

I'm not sure.  There was probably a reason for it I guess.  It's been
split up in potato, it now has its own script which makes it cleaner to
deal with.


Re: portmap question

2000-01-13 Thread Jim B
On Thu, 13 Jan 2000, Mark Wagnon wrote:

 It seems to be still in the netbase package. I can't find a separate
 portmap package. Hmmm. Maybe I misunderstood you. Yeah, there are
 different scripts that separate the networking stuff, but the
 portmap binary still comes packaged in the netbase deb.

Yep, sorry I wasn't too clear on that.  I just meant that the scripts are
split out, so instead of having to clutter up your netbase script with
comments you can keep it clean and just do something with your portmap
script.



 I'll take a look at the portmap script. I thought that the links in
 the rc*.d directories ran the scripts in /etc/init.d at different
 run-levels and that renaming one would stop that script from
 executing. Right? Wrong?

You are right.

Here's how I deal with it, others may have a better way but this works
great for me.  I made a directory /etc/init.d/Disabled and whenever I want
to disable a startup script, well, I just put it in there.  :)  The
correct way to do it is to use update-rc.d (with args) to remove the
/etc/rc#.d symlinks, but I don't do it that way because putting the
scripts in a separate directory makes it easier for me to remember what
I've disabled.  I can just look in that dir and see that I've disabled
nfs, sendmail, blah blah blah.  If I want to re-enabled them for
boot-time, I just put them back into /etc/init.d/.


Re: Hard disk forces BIOS upgrade - but can I use it safely before upgrading ?

2000-01-12 Thread Jim B
On Tue, 11 Jan 2000, Paul J. Keenan wrote:

 So I've bought a new hard disk (Maxtor DiamondMax VL20 10.2Gb UDMA66),
 but have discovered that my Award BIOS will only address a maximum of
 8.4Mb.

snip

 Can someone tell if it's safe to dive in right now and I can get the
 extra 1.8Gb at a later date when the new BIOS arrives without losing
 my data ?


Personally I wouldn't worry about it all, and I wouldn't bother getting a
BIOS upgrade.  :)  (Unless there are other compelling reasons to do so.)

The Award BIOS on my motherboard (Asus) also only saw 8.4 GB of my Maxtor
DiamondMax 17.2 GB disk.  Fortunately, LILO didn't care.

I had to use Normal in the BIOS setup (not LBA) and then linux [c]fdisk
was able to see my whole disk (YMMV on what BIOS modes you need to
choose... fiddle with it a bit and I'm sure you'll reach a combination
that works).  I made my partitions and everything has been fine.  Note
however that you should make a small /boot partition, maybe about 15 MB,
to ensure that all your kernels and other files that the BIOS needs to
see when booting are constrained within the first 1024 cylinders of your
disk.

So make a small /boot partition and then partition the rest how you like.

My disk is only ext2, no other OS on here, but it wouldn't matter.  Here's
how I partitioned it:

$ df
Filesystem 1024-blocks  Used Available Capacity Mounted on
/dev/hda215885614 4272761  10785966 28%   /
/dev/hda1  146077003 6850 51%   /boot
/dev/hda3 208349  17705420535 90%
/usr/local/squid/cache


You will want to choose a different partitioning scheme of course, just
make sure you make that small /boot partition and everything should work
fine.  And of course any questions you have or snags you run into can be
posted to the list.  :)


Re: iplogger is crashing my computer

2000-01-11 Thread Jim B
I've also heard about those problems.  I can't remember the details
off-hand, but they can be found on the BUGTRAQ mailing list
(www.securityfocus.com has an archive).

I've done a bit of searching myself for the ultimate ip logger and I
really prefer iplog.

http://ojnk.sourceforge.net/

It has options to run as a non-root user which is very nice.  Maybe ippl
does too, last time I checked them both out (a couple weeks ago) iplog was
much cooler in terms of features.

(I needed libc5 on my machine to compile it btw.)


On Mon, 10 Jan 2000, Salman Ahmed wrote:

  NLM == Noah L Meyerhans [EMAIL PROTECTED] writes:
 NLM  tcplogd and iplogger are used to log connection attempts to
 NLM your computer.  There are known security problems related to
 NLM it.  
 
 What security problems would those be ?
 
 -- 
 Salman Ahmed
 ssahmed AT pathcom DOT com



Re: Multiple Boot

2000-01-11 Thread Jim B
LILO will do just fine.

See http://www.linuxdoc.org/HOWTO/mini/Linux+Win95.html


On 10 Jan 2000 [EMAIL PROTECTED] wrote:

 Hello list,
 
 Alright so i'm cheap.
 
 I need a multi-boot prog, but I want a free one.
 
 I have a 5.3 gig hd with win98 on hda1 and linux on hda5
 
 I also need some help either setting it up to boot.
 
 Thanks,
 
 A.T. Ray
 
 
 
 *** Free voicemail and email, by phone or Web!  Free phone calls too!  Get it 
 today at http://www.myTalk.com ***
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Re: /etc/limits

2000-01-11 Thread Jim B
On Mon, 10 Jan 2000, Ethan Benson wrote:

 ulimit does not really protect at all against someone malicious since 
 they are perfectly free to un-ulimit themselves, this is where 
 pam_limits is helpful, it enforces the hard limit and it cannot be 
 ulimited past that.

Hmmm.  How would a user unlimit himself without changing his shell?  If
he stays in a single bash or csh shell, I don't know how he could do that.

$ ulimit -v
unlimited
$ ulimit -v 32767
$ ulimit -v
32767
$ ulimit -v 32768
bash: ulimit: cannot modify limit: Operation not permitted


OTOH if you're talking about someone who switches his shell to get around
the limits, that's my whole point.  I need to know how to set
shell-independent limits.  Yes you can do that with PAM, but I still don't
see a PAM limit on virtual memory.  Is there one there?


Re: /etc/limits

2000-01-11 Thread Jim B
On Tue, 11 Jan 2000, Marek Habersack wrote:

 He can't, true. But shell-based limits aren't particularily good way of 
 setting
 limits. They are by definition bound to one kind of shell - csh or bash or
 whatever. In case you, or the user, decideds to change his shell, you loose
 all the limits. PAM and/or shadow utilities (or lshell) are much better.

Correct.  But this is the crux of this whole thread.  I don't see any way,
*other than* shell limits, of setting max Virtual Memory usage.  The other
resources yes, VMem no


Re: /etc/limits

2000-01-11 Thread Jim B
On Tue, 11 Jan 2000, Marek Habersack wrote:

 And the pam_limits 'as' + 'rss' + 'data' + 'memlock' + 'stack' parameters?
 They all give you fine-grained control over the user's memory.

OK, you're right.  I had tried some of the PAM limits previously (one at a
time) and none of them alone was sufficient to restrict an account's
memory usage from devouring the machine using a particular exploit I'd
gotten hold of.  At the same time, restricting the user's virtual memory
(ulimit -v) was able to stop the exploit, while none of the other ulimit
options did.  Therefore I thought I was unable to limit the max vmem using
PAM.  Thank you for pointing out to me that I can.  :)


One last thing... the original question also was, how do slackware and
RedHat set the max vmem usage without using ulimit, /etc/limits, or PAM?  
Would you happen to know this off-hand?  I thought maybe it was compiled
into the login binary but I downloaded the source and their patches and
didn't see any reference to it.  Friends of mine have a slack 7 and an RH6
box, RH has PAM enabled but no limits configured, while the slackware
machine has no /etc/limits, /etc/pam.d, or /etc/security.  Yet when I log
in, my virtual memory limit is set to 2105343 KB.  Is that something
imposed by the kernel due to its maximum address space?  My kernel
(2.2.14) is compiled the same way AFAICT yet my vmem limit is unlimited
unless I set it using one of the aforementioned methods.

Thanks again.


Re: I thought 2.2.x should detect RAM 64

2000-01-11 Thread Jim B
Actually, shouldn't it be:

append=mem=96M


On Tue, 11 Jan 2000, Laurent PICOULEAU wrote:

  Yes, but it doesn't work!!! I added append mem=96M, and the kernel
  still sees only 64. 8-/
 
 It should be 'append mem=96M ' (without the '). See man lilo.conf


Re: /etc/limits

2000-01-10 Thread Jim B
Should be in your limits man page.

If you're running potato then you'd probably want to use PAM and
/etc/security/limits.conf instead.

Look at the files themselves to see how they are set up.


On Mon, 10 Jan 2000, Onno Ebbinge wrote:

 At 06:34 PM 1/9/00 -0500, Jim B wrote:
 OK another issue I'm having with setting resource limits.  How can I
 [snip]
 I look in my /etc/limits and see a way to restrict just about all those
 [snip]
 
 Where can I find more info on /etc/limits ?
 
 Regards,
 
 Onno


Re: Ethernet question

2000-01-10 Thread Jim B
You can put:

ifconfig eth0 ip netmask netmask

into /etc/init.d/network .


You will probably also have to add your route line in there as well.


On Mon, 10 Jan 2000, Paul M. Foster wrote:

 
 Just transferred over from Red Hat 6.1 to Debian 2.1. My NIC card worked
 fine in Red Hat and appears to work okay in Debian _if_ I issue an
 
 ifconfig eth0
 
 command. Naturally, though, I'd like this to happen on boot. I have the
 appropriate lines in conf.modules, but I have a feeling there is some
 setting somewhere in the init/rc hierarchy that I need to make to have it
 automatically load. In addition, it appears that the NIC card is not
 associating with a real IP address, only 0.0.0.0. Any idea how to fix this
 as well?
 
 Paul M. Foster



Re: Can't boot from a second harddrive (repost)

2000-01-10 Thread Jim B
You did run /sbin/lilo after making *any* edits to your lilo.conf right?

Also, how had you booted when you were making those edits?  If /dev/hdc1
was not your root partition at the time (for example, if you had booted
off a floppy), I wonder if the wrong lilo.conf was read to write your
boot sector.  If this is the case, try it again but specify the lilo.conf
with the -C parameter:

lilo -C /mnt/disk2/etc/lilo.conf

for example.


Not sure how much help this will really be, but here's some stuff from
/usr/doc/lilo/Manual.tar.gz:


LILO start message
- - - - - - - - -

When LILO loads itself, it displays the word LILO. Each letter is
printed 
before or after performing some specific action. If LILO fails at some 
point, the letters printed so far can be used to identify the
problem. This 
is described in more detail in the technical overview.

Note that some hex digits may be inserted after the first L if a 
transient disk problem occurs. Unless LILO stops at that point, generating 
an endless stream of error codes, such hex digits do not indicate a severe 
problem.

  (nothing)  No part of LILO has been loaded. LILO either isn't
installed 
or the partition on which its boot sector is located isn't active. 
   L error ...   The first stage boot loader has been loaded and
started, 
but it can't load the second stage boot loader. The two-digit error 
codes indicate the type of problem. (See also section Disk error 
codes.) This condition usually indicates a media failure or a
geometry 
mismatch (e.g. bad disk parameters, see section Disk geometry). 
   LI   The first stage boot loader was able to load the second stage boot 
loader, but has failed to execute it. This can either be caused by a 
geometry mismatch or by moving /boot/boot.b without running the map
installer. 
   LIL   The second stage boot loader has been started, but it can't load 
the descriptor table from the map file. This is typically caused by a 
media failure or by a geometry mismatch. 
   LIL?   The second stage boot loader has been loaded at an incorrect 
address. This is typically caused by a subtle geometry mismatch or by 
moving /boot/boot.b without running the map installer. 
   LIL-   The descriptor table is corrupt. This can either be caused by a 
geometry mismatch or by moving /boot/map without running the map 
installer. 
   LILO   All parts of LILO have been successfully loaded.



On 9 Jan 2000, Arcady Genkin wrote:

 I'm having problems booting into a fresh installation of potato in my
 second harddrive. The installation is on /dev/hdc with root in
 /dev/hdc1.
 
 Lilo displays LI and dies there. I tried adding linear to
 lilo.conf (that helped me once on another computer), but that didn't
 help. My setup looks sane to me... I really need some fresh ideas as
 to what is wrong.
 
 I use a third-party multibooter from /dev/hda's MBR. It picks up linux
 installation in /dev/hdc1, and starts lilo... then lilo stops at
 LI.
 
 I also have a working slink installation in /dev/hda4, so I tried to
 use its lilo to boot my potato installation. I added
 ,
 | other = /dev/hdc1
 |   label = potato
 `
 and got *exactly* the same results as with the multibooter (LI and
 nothing else). This makes me think that the problem is with lilo
 config in my potato installation.
 
 I need help!!! ;^) Can't boot my custom kernel. I would also
 appreciate any workaround recipes, such as booting my current kernel
 from a floppy or booting it from my functional slink installation in
 /dev/hda4.
 
 ,[ lilo.conf ]
 | boot=/dev/hdc1
 | root=/dev/hdc1
 | install=/boot/boot.b
 | map=/boot/map
 | delay=200
 | vga=normal
 | verbose=5
 | 
 | image=/vmlinuz
 |   label=default
 |   read-only
 | 
 | image = /zImage
 |   label = linux
 |   read-only
 `
 
 Thanks for any input!


Re: /etc/limits

2000-01-10 Thread Jim B
I asked myself the same question, so I logged into my shell account at a
local ISP and took a look at what they use on their FreeBSD machine with
512 MB of RAM:


core file size (blocks) unlimited
data seg size (kbytes)  22528
file size (blocks)  unlimited
max locked memory (kbytes)  10240
max memory size (kbytes)30720
open files  64
pipe size (512 bytes)   1
stack size (kbytes) 8192
cpu time (seconds)  unlimited
max user processes  64
virtual memory (kbytes) 30720


On my machine (96 MB) I am using something between the optional default
in /etc/limits, and what I found from the aforementioned machine.  The
defaults in /etc/limits are:

#* L2 D6144 R2048 S2048 U32 N32 F16384 T5 C0


However I set the max CPU time to 60 minutes (T60) and max open files to
64 (N64).  I figured that any process spawned by a shell that burned up 60
mins of CPU time (note that CPU time does not accumulate while a process
is idle) might be up to no good, but that's on my machine where I only
have a few remote users, and an occasional console user, playing around
with things.  On a true full-time multi-user machine you may want to
increase this slightly.


I also set (in /etc/profile):

ulimit -v 32768

which is apparently more than enough to run X and Netscape (4.6).  I
originally had tried about 16 MB and X started but Netscape would
segfault.


Then (in /etc/limits) I set no limits on my own accounts:

user -


As I only started experimenting with this yesterday, don't take any of my
setup without some judgment.  :)  I'm probably making some unreasonable
choices which I will have to fine-tune over time.  But they seem to have
been decent preliminary defaults.


Also: I still don't know of any way to set the Virtual Mem usage of a
shell without using ulimit (bash) or limit (csh)!  Note that it does not
appear to be an option in /etc/limits or in pam's limits.conf.  Anyone
know how to do it?  There must be a way.



On Mon, 10 Jan 2000, Ethan Benson wrote:

 I have figured out how to set these limits up well enough, but I have 
 a related question, how can i set reasonable limits?  what I mean is 
 how can i set reasonable limits for a user that they will never even 
 notice are there unless 1) they are intentionally trying to crash the 
 machine or 2) unintentionally have a process go out of control.  sort 
 of analogous to the 5% limit on ext2fs reserved for root.
 
 
 -- 
 Ethan Benson
 To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/



Re: How to set 'e2fsck' to run at boot?

2000-01-09 Thread Jim B
Apologies if this has already been answered.  I just subscribed so I may
have missed it if so.

Anyways, you can create a file in / named forcefsck if you really want
to do this:

touch /forcefsck


See /etc/rcS.d/S30checkfs.sh to see why.  :)


Re: restricting logins on tty1

2000-01-09 Thread Jim B
OK thanks for the info... I seem to have /etc/login.access working
now.  The problem was as you had indicated... the user I was trying to
restrict was a member of my root group so unless I restrict him
explicitly with his own entry in login.access, he can also log in on
tty1.  Other users are successfully banned from that terminal though.

As for why we're using group root and not wheel, there's a little note
from RMS in the su man page... check it out.  (Personally I disagree with
that thinking on this, but that's where the explanation is.)


On Sat, 8 Jan 2000, Ethan Benson wrote:

 /etc/login.access I am not sure about, I thought it was obsolete but 
 i could be wrong.
 
 as for what your are trying to do not working, I am not sure, I have 
 had problems trying to get access.conf and such to work right as 
 well, either the docs are not quite good enough yet or something is 
 still a bit buggy...
 
 one thing that could be causing the wheel group troubles is the 
 ambiguity caused by gid 0 being called `root' just like uid 0, I 
 personally just made a new group called wheel and use that to enforce 
 the BSD style wheel group (only wheel members may su to root) but I 
 did this more because i got tired of fixing packages which install 
 all there files gid 0 writable.  (i don't want halfway root 
 permissions to the filesystem unless i actually switched to root)
 
 just out of curiosity why did GNU/Linux not follow the BSD semantics 
 on the wheel group? and instead name gid 0 root and have it function 
 as root's private (primary) group?


/etc/limits

2000-01-09 Thread Jim B
OK another issue I'm having with setting resource limits.  How can I
restrict a user's max virtual memory usage?  Not sure if anyone else has
seen it, but there's a DoS exploit around (which will actually eat up just
about any *nix box AFAICT, if there are no resource limits in
effect) which eats up virtual memory.

I've noticed that on my friends' slackware 7 and RedHat 6.0 machines, the
default resource limits are basically the same as on my slink box *except*
they have the virtual memory max at 2105343 while the Debian machine is
set to unlimited.  Yet, I can't figure out how those distros set the
limits.  Is it a compile-time option for /bin/login?

I look in my /etc/limits and see a way to restrict just about all those
resources *except* max virtual memory.  How can I enforce this
restriction?  I know I could use limit in csh and ulimit in bash, but what
about for shells that don't have built-in restrictions?  Is there any way
to do this other than force everyone to use one of those shells?


Re: restricting logins on tty1

2000-01-09 Thread Jim B
On Sun, 9 Jan 2000, Jim B wrote:

 As for why we're using group root and not wheel, there's a little note
 from RMS in the su man page... check it out.  (Personally I disagree with
 that thinking on this, but that's where the explanation is.)

Actually it's in the su info page.  I thought it was in both but it's
apparently not.

info su


restricting logins on tty1

2000-01-08 Thread Jim B
Hi, I have a question pertaining to /etc/login.access.  I seem to be a
little confused about exactly how this file is read by login.

The format is straightforward and makes sense but I am trying to restrict
tty1 to root logins and I can't seem to get it just right.

Here's what I have so far.  Most of it is what came stock with the distro.


# Restrict tty to root (this is what I'm trying to accomplish):

-:ALL EXCEPT ROOT:tty1

# Disallow remote logins for certain users:


# Disallow console logins to all but a few accounts.
#
-:ALL EXCEPT root user1 user2 user3:console
#
# Disallow non-local logins to privileged accounts (group wheel).
#
-:root:ALL EXCEPT LOCAL
#
# Some accounts are not allowed to login from anywhere:
#
#-:wsbscaro wsbsecr wsbspac wsbsym wscosor wstaiwde:ALL
#
# All other accounts are allowed to login from anywhere.
#


However, I can still log in as other users on tty1; the restriction
appears to not do anything.  BUT, if I restrict a user directly, like so:

-:user:tty1

that user IS prevented from logging in on tty1.


Why does the first method fail?  I should be able to do that, shouldn't I?


One other quickie: what's the functional difference between
/etc/login.access and /etc/security/access.conf?  When I place
restrictions in the latter, nothing seems to happen, though the files are
in exactly the same format.  What then is the purpose of the one in
/etc/security?


Thanks!!


Re: restricting logins on tty1

2000-01-08 Thread Jim B
Sorry for replying to my own post, but I made a little mistake... I don't
have ROOT but rather root  :P

So it shouldn't be a case-sensitivity issue... that was just a typo in my
e-mail to the list.  :-\


On Sat, 8 Jan 2000, Jim B wrote:

 # Restrict tty to root (this is what I'm trying to accomplish):
 
 -:ALL EXCEPT ROOT:tty1


md5sum of a cd

1999-09-23 Thread Jim B
I just burned some CDs from their ISO images.  I have the m5dsums of the
images, and now I'd like to compare a hash of the completed CD against the
original image... basically I want to make sure the CD was burned ok.

I'm concerned because the hard drive I downloaded the ISOs to was bad, and I
had a hard time getting one of the images off of the disk (kept getting read
failures).  I burned 3 of the 4 anyway, and I haven't burned this last one
yet.  I'd like to verify that the others are all right before I waste
another cd, just in case the others are trash.

I tried md5sum /dev/hdd (which is my cdrom drive) but I would get an i/o
error after a few mins of chugging.  I don't know if I'm doing something
wrong, or if the disc is bad, or if there is a better way for me to check
these discs.

Thanks.



tailing rotating log files

1999-09-19 Thread Jim B
Hi, I generallly keep some of my log files open ni a terminal via tail -f.
For example:
tail -f /var/log/messages

However, tail does not move to the new messages (or whatever) log file
when they are rotated by savelog.  So for example, I will still see the last
lines from the old messages file and I will have to terminate tail and run
it again to force it to move to the new messages file.

If the file is moved and a new one put in its place, I'd like to start
reading the new file.  I don't see any way to do this with tail (I checked
in the man/info pages).  Is there a program which will do this?

Actually come to think of it!  Maybe I could just use:
watch tail -n 20 /var/log/messages

:)  Just thought of it.  That should work I think, but I'm still curious as
to how else one might do it.

TIA.



Re: tailing rotating log files

1999-09-19 Thread Jim B
Brad: thanks, this is exactly what I was looking for.

The version of tail included with slink does not have this functionality.
What would be the recommended means of upgrading?

a) obtain gnu source and compile?  This would work but would mean I would
have to play games with dpkg (perhaps using equivs) in order to make it
think I've upgraded the package.

b) get potato source deb and make an slink package, which should take care
of dpkg's concerns.

c) other methods?

b sounds like a good idea, but I'm not sure how to do it at the moment,
never built a dpkg package before (I will figure it out).  BUT -- I can't
find any source debs on ftp.us.debian.org.  Where should I be looking?  I
see source tarballs and that's it... is this what I should use to build the
package?  I always thought there was something like the source rpm concept
in .deb format, where the package is all laid out and just needs to be
re-compiled and re-packaged.

Thanks for all the help.  (I love this list.)  :)


- Original Message -
From: Brad [EMAIL PROTECTED]
To: Jim B [EMAIL PROTECTED]
Cc: Debian-user debian-user@lists.debian.org
Sent: Sunday, September 19, 1999 1:32 PM
Subject: Re: tailing rotating log files


 -BEGIN PGP SIGNED MESSAGE-

 On Sun, 19 Sep 1999, Jim B wrote:

  Hi, I generallly keep some of my log files open ni a terminal via
tail -f.
  For example:
  tail -f /var/log/messages
 
  However, tail does not move to the new messages (or whatever) log
file
  when they are rotated by savelog.  So for example, I will still see the
last
  lines from the old messages file and I will have to terminate tail and
run
  it again to force it to move to the new messages file.
 
  If the file is moved and a new one put in its place, I'd like to start
  reading the new file.  I don't see any way to do this with tail (I
checked
  in the man/info pages).  Is there a program which will do this?

 At least with the tail in potato (tail (GNU textutils) 2.0), there is an
 option to do this. The default option of tail with the -f option is to
 open the file and follow that file descriptor. If you use --follow=name
 instead of -f, it will periodically reopen the file to check if the file
 was moved.

 For example, i executed the following commands while tailing the file.
   $ echo line 1  tail.test
   $ echo line 2  tail.test
   $ mv tail.test tail.test.1; echo line 3  tail.test

 Here's the tail output:
   $ tail --follow=name tail.test
   line 1
   line 2
   tail: `tail.test' has been replaced;  following end of new file
   line 3



 - --
   finger for PGP public key.

 -BEGIN PGP SIGNATURE-
 Version: 2.6.3ia
 Charset: noconv

 iQCVAwUBN+UeH77M/9WKZLW5AQHenAQAlMhGO9VIX9WVlKmetyVmRm6Zrjkg5klx
 i2PT/FjZ0aOxR7q71xLPEA4Yu/lron1PSC1S6aiPE02QHZOPY+Pekz847px91BKj
 aS7C6LZ9nyWydd5WKnStjLMim6WJPtjhH7oBAzK9tp7cGYzRGrG4jWBfmF1iOXOz
 ZQlRtNnD6zg=
 =pYka
 -END PGP SIGNATURE-


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null



since we're on the subject of partitioning... :)

1999-09-16 Thread Jim B
This one's a quickie.

I had a 1.2 gb which was split with a 64 MB swap and the rest was the
primary partition (ext2).

Now I have a new disk as hda, a 17 gb, and everything's fine.  I set up my
old disk as hdb.  blah blah blah...  However I'd like to reclaim that old 64
MB swap partition and use it as ext2.

If I just re-partition it (hdb2) as ext2 and format it, I will not lose the
data on the primary partition (hdb1)... correct?

Please just let me know whether I'm right or wrong on this.

Thanks.



cluster size

1999-09-13 Thread Jim B
What command can I use to find out my drives' cluster size?  I know I can
specify what I want to use when I [c]fdisk, and that the default is 2 KB I
think... but I would still like to know how I can find this information out.
There must be some program that will tell me this... no?

TIA.




ppp scripting

1999-09-05 Thread Jim B
I'm looking for a way to force my pppd to cycle through the several dial-up
numbers I use for my ISP if any of them fails.  If one of their lines is
down or doesn't answer, I'd like to automatically dial one of their other
numbers.

I could probably write up a script to do this but I'm wondering whether
there's something pre-made that will do this for me, whether it be a script
or another program or whatever.

(Btw this is for slink, if it matters.)

TIA!  :)



slink bug(?): /etc/limits permissions

1999-07-29 Thread Jim B
Hi all, please see this excerpt from the man page for /etc/limits:

LIMITS(5)   LIMITS(5)

NAME
   limits - Resource limits definition

DESCRIPTION
   The  limits  file  (/etc/limits  by default or LIMITS_FILE
   defined config.h) describes the resource limits  you  wish
   to  impose.   It  should  be owned by root and readable by
   root account only.


However, the current permissions on this file are NOT in accordance with the
recommendation in the manual pages:

ls -l /etc/limits:
-rw-r--r--   1 root root  725 Jul 17  1998 /etc/limits

I have not modified this file or its permissions, and Linux was not on this
machine on July 1998.  :)

Isn't this a distribution bug?

(FWIW, the same condition exists on my friend's potato machine.)



xinetd access control

1999-07-27 Thread Jim B
This isn't Debian-specific, but I tried another list I'm on and didn't hear
anything back


Anyone else running xinetd (the inetd replacement)?  I'm wondering if
there's a way to use wildcards in the access control (no_access).

For example, with inetd you could deny:
.aol.com

and that line would match *.aol.com .

Can this be done with xinetd?  I wasn't able to find any way to do it in the
doc, and I tried several guesses and none of them worked.

I've been running xinetd for months under the mistaken assumption that it
also read hosts.allow and hosts.deny (just like inetd) but noticed the other
day that it does not.  Stupid me.  Anyway I do prefer xinetd, but this
appears to be a serious limitation.

Thanks to anyone who can help.




S file permissions

1999-07-21 Thread Jim B
(Sorry for the non-Debian-specific question.)

Can someone explain what this execute bit means?

IOW, what is the difference between s (suid) and S (?)?

I've tried irc and one guy said it was something to do with an old SysV
standard.  Someone else said it's super-suid or suid without eXecute (but
how can you have suid without executing?).

Can anyone enlighten me?

(It's not in the info or man pages.)

TIA.




Re: S file permissions

1999-07-21 Thread Jim B
OK so it's in the ls docs, but it's not in the chmod docs, which is what I
was talking about.

Anyway, what's the point of this?

O'Reilly's Essential System Administration says it sets mandatory
file-locking on that file.  Any insight into this?


- Original Message -
From: Brad [EMAIL PROTECTED]
To: Jim B [EMAIL PROTECTED]
Cc: Debian-user debian-user@lists.debian.org
Sent: Wednesday, July 21, 1999 3:11 PM
Subject: Re: S file permissions


 On Wed, 21 Jul 1999, Jim B wrote:

  (Sorry for the non-Debian-specific question.)
 
  Can someone explain what this execute bit means?
 
  IOW, what is the difference between s (suid) and S (?)?
 
  I've tried irc and one guy said it was something to do with an old SysV
  standard.  Someone else said it's super-suid or suid without eXecute
(but
  how can you have suid without executing?).
 
  Can anyone enlighten me?
 
  (It's not in the info or man pages.)

 It is in the info page. info ls, then choose the What information is
 listed link, then scroll down to the -l option.

 Here's the quote:
  The permissions listed are similar to symbolic mode specifications
  (*note Symbolic Modes::.).  But `ls' combines multiple bits into
  the third character of each set of permissions as follows:
 `s'
   If the setuid or setgid bit and the corresponding executable
   bit are both set.

 `S'
   If the setuid or setgid bit is set but the corresponding
   executable bit is not set.




Upgrading to kernel 2.2

1999-07-20 Thread Jim B
Hi, I'm currently running slink on kernel 2.0.37 and am looking into
upgrading my kernel to the 2.2.x series.  I remember having seen a page on
the debian.org site which told of the pitfalls and considerations (i.e.,
what other software needs to be upgraded to remain compatible) of doing so;
however I just poked around on there and I can no longer find it.  I know
I'll have to move to ipchains (I'm using ipfwadm right  now) and I thought I
remembered seeing a list of other items on that site.  Could anyone point
out the URL?  TIA.



Re: shell programing

1999-06-15 Thread Jim B
I've found this site to be particularly helpful:

http://www.mcsr.olemiss.edu/unixhelp/


- Original Message -
From: Micha Feigin [EMAIL PROTECTED]
To: Debian-user debian-user@lists.debian.org
Sent: Tuesday, June 15, 1999 11:09 AM
Subject: shell programing


 Is there any good online document for shell programing under unix (linux)?
 i need bash and cshell.
 Thanx


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null





Re: I am not impressed with Debian so far.

1999-06-08 Thread Jim B
That also happened to me a few weeks ago while I was running Netscape.  I
heard my drive going nuts, and I ran df to check the free space.  Well, the
free space kept getting lower and lower and ... finally my machine stopped
and I got a Kernel Panic.

After I rebooted however, fsck found bad sectors on the disk.

YMMV.


- Original Message -
From: Patrick Colbeck [EMAIL PROTECTED]
To: Barry Kauler [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Sent: Tuesday, June 08, 1999 6:46 AM
Subject: RE: I am not impressed with Debian so far.


 Hey, my hard drive did the sudden thrashing thing last night too. Its
 never done it before (well it has in NT but not in Linux). All I was
 doing was reading mail remotely over a dialup line using xemacs in a
 kterm in KDE 1.1.1 (from snowcrash). It stopped after a while (about 4
 minutes) and has been fine since. This never happened before in RedHat
 or with Hamm. Is this a KDE thing perhaps ?. I am running on an AST M
 series Laptop which has 48Mb ram and a 2GB Linux partition with about
 1300MB free and a 92MB swap file.

 Pat



 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: I am not impressed with Debian so far.

1999-06-08 Thread Jim B
I ran top while all this was happening.  No process appeared to be using any
more than its usual allotment of resources (CPU or RAM).

There was nothing I could do but just watch my machine croak.  =\


- Original Message -
From: ktb [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Tuesday, June 08, 1999 8:38 AM
Subject: Re: I am not impressed with Debian so far.


 Jim B wrote:
 
  That also happened to me a few weeks ago while I was running Netscape.
I
  heard my drive going nuts, and I ran df to check the free space.  Well,
the
  free space kept getting lower and lower and ... finally my machine
stopped
  and I got a Kernel Panic.
 
  After I rebooted however, fsck found bad sectors on the disk.
 
  YMMV.
 
  - Original Message -
  From: Patrick Colbeck [EMAIL PROTECTED]
  To: Barry Kauler [EMAIL PROTECTED]
  Cc: debian-user@lists.debian.org
  Sent: Tuesday, June 08, 1999 6:46 AM
  Subject: RE: I am not impressed with Debian so far.
 
   Hey, my hard drive did the sudden thrashing thing last night too. Its
   never done it before (well it has in NT but not in Linux). All I was
   doing was reading mail remotely over a dialup line using xemacs in a
   kterm in KDE 1.1.1 (from snowcrash). It stopped after a while (about 4
   minutes) and has been fine since. This never happened before in RedHat
   or with Hamm. Is this a KDE thing perhaps ?. I am running on an AST M
   series Laptop which has 48Mb ram and a 2GB Linux partition with about
   1300MB free and a 92MB swap file.
  
   Pat

 Run a program such as Top that monitors your processes.  Find the pid
 that is sucking the memory and then kill it.  Look at man top
 htht,
 kent


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: Removing a pid

1999-06-02 Thread Jim B
Perhaps you have a left-over .pid file in /var/run/ .


- Original Message -
From: Johann Spies at Johann [EMAIL PROTECTED]
To: Ralph Winslow [EMAIL PROTECTED]
Cc: Debian-poslys debian-user@lists.debian.org
Sent: Wednesday, June 02, 1999 5:13 AM
Subject: Re: Removing a pid


 On Tue, 1 Jun 1999, Ralph Winslow wrote:

  When Johann Spies at Johann wrote, I replied:

  Try
ps ax | grep gtt | grep -v grep

 I have tried that.  It shows nothing.

 I have also removed gnome-utils and reinstalled it, and the same problem
 occurs.

   When I try to run gtt(from gnome) I get the message :
  
   There seems to be another GtimeTracker running.
   Please remove the pid if that is not correct.
  
   I cannot find a pid for gtt.

  -
-
 | Johann Spies Windsorlaan 19
|
 | [EMAIL PROTECTED]3201 Pietermaritzburg
|
 | Tel/Faks Nr. +27 331-46-1310Suid-Afrika (South Africa)  |
  -
-

  If any of you lack wisdom, let him ask of God, that
   giveth to all men liberally without finding fault, and
   it will be given to him.  James 1:5



 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




seemingly random lock-ups

1999-06-01 Thread Jim B
My machine (Debian 2.1 slink, stock kernel (2.0.36)) has been locking up on
me unpredictably.

This occurs every several (3-4 on average) days and has been happening ever
since I installed Linux on this machine.  (There is no other OS on there.)

My hardware is an Intel 200 MMX CPU on an Asus PI-P55/T2P4 motherboard.  I
am using a generic NE-2000-compatible network card, and a dial-up Internet
connection with a USR Sportster 33.6 PnP (though jumpered for COM2).

Anyway: I have my PPPD logging to syslog every 30 seconds so I can tell
exactly when the freeze occurred even if I'm not there.  Looking in syslog
and messages, nothing unusual seems to happen... just that all of a sudden,
the logging and everything else stops suddenly.

I want to track this problem down, and I'm going to start swapping hardware
to see if I can figure out what's causing this.  I've already traded the
netword card out for a different NE2K card, but the problem remains.

Anyway, my question is: where else (besides syslog and messages) might I
look for unusual traces of what might have happened just prior to the
lock-up?  Are there any other files that might give something away?  Where
would a kernel dump be (if the kernel did dump... which I doubt, but just in
case...)?

TIA for any information.



Re: ping duplicate packets

1999-05-26 Thread Jim B
Note that you also could get dupes as a result of the client PC, i.e. the
one FROM which you are pinging your Linux machine.

I saw this happen a couple times at my old job... a kid was pinging a host
from a Win95 PC and was getting dupes... it turned out that he had Client
for Microsoft Networks in there twice, and bound to TCP/IP both times... we
took out the extra one and he was fine.


- Original Message -
From: Remco van 't Veer [EMAIL PROTECTED]
To: Debian List debian-user@lists.debian.org
Sent: Tuesday, May 25, 1999 9:03 AM
Subject: ping duplicate packets


 Hi,

 This is not directly Debian related, sorry.

 Today I pinged my box over the Internet and the ping util reported it
 received some duplicated packets.  I never saw this before.  I am
 wondering when and why this happens.  Who or what is duplicating these
 packet, my box or some box on the route?  I am using a 2.0.36 kernel
 on a i386 machine.

 Thanks..

 Regards,
 Remco


 --
 DES BOK POUM ammunition arrangements Ortega mutageen Qaddafi radar Soviet
 anthrax security thrust alarm CD Echelon VX Roel van Duin Saddam Hussein


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: mail clients

1999-05-23 Thread Jim B
 Windows is not Linux. Linux is not Windows.

This is not about what OS is for whom, who is what kind of user, or
anything like that.  The question is: Does a client with these features
exist for the Linux platform?

If one does not, it would be nice if somebody made one.  It doesn't have to
be any more complex an issue than that.

Until one does exist, I will continue to use Windows for my mail needs since
it DOES have a client that fits MY needs (maybe not YOUR needs, but MY
needs).  And, I will use Linux for everything else.  =)


- Original Message -
From: Stephen Pitts [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Stephen Pitts [EMAIL PROTECTED]; Steve Lamb
[EMAIL PROTECTED]; debian-user@lists.debian.org
Sent: Sunday, May 23, 1999 12:42 AM
Subject: Re: mail clients


 Define casual user. People who spend 4+ hours/day on the computer, whether
it be
 for business, or for school, or just for fun, are not casual users. I
think that a
 whole lot more of the market fits that criteria than most people realize.

 Windows is designed for the causal user. That's great, initially. There is
 no learning curve, but you are limited in terms of functionality. Get
Outlook
 Express to automatically delete messages two weeks old in three specific
folders.
 Get Windows to automagically backup your database files every day, at
exactly
 12:00 noon, running the database through a compression program and
automagically
 setting the date. Set it up so you can fix your database if it breaks down
 when you are halfway across the world. And do it all, day in, day out,
 without crashing.

 Instead of complaining about the learning curve, start learning. WOW!
Isn't
 that a scary word? Windows is not Linux. Linux is not Windows. Both have
 different target audiences, and the Linux audience likes to learn.
 --
 Stephen Pitts
 [EMAIL PROTECTED]
 webmaster - http://www.mschess.org


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




mail clients

1999-05-22 Thread Jim B
Hi all.  Is there a good POP3 and/or IMAP4 client (console or GUI, doesn't
matter) that supports multiple accounts with easy switching between them...
and that can filter based on the account concept rather than just on
headers?

If I'm not making sense, I'm looking for something for Linux that can do
what MS Outlook Express can do.  Here's an example:

One account is username joe and another account is username tom.

Someone sends to joe and the mail is filtered into his mailbox... meanwhile,
tom's mail is filtered into his mailbox.  BUT, if someone BCCs joe, his
username will not appear in the headers... therefore, header-based filtering
will be useless.  The client needs to be able to filter the mail into the
joe mailbox despite the fact that his address is not in the headers.  The
idea is simple, it just needs to know From what account did I download this
message? in order to be able to direct it appropriately, despite what may
be in the headers of the message.

Anyone know of such a client?  Pine's roles don't cut it as a single login
cannot access multiple e-mail accounts.  Also, procmail doesn't come into
the picture because the filtering rules must be client-based so that all
these mail accounts can be accessed from a single terminal login session,
rather than by logging out and then back into another session.

Thanks!!!



Umm... slink and potato bug?

1999-05-15 Thread Jim B
The version of lsof that I see in the slink and potato dists is only usable
on kernels up to 2.0.35.  Yet slink is a 2.0.36 kernel, and potato is a
2.2.x kernel... which means the lsof included with the distro is unusable.

Is this a distro bug or am I just missing something?



Re: slink ifconfig broken

1999-05-08 Thread Jim B
ifconfig -a will show aliased interfaces, though.


- Original Message -
From: George Bonser [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Friday, May 07, 1999 6:14 PM
Subject: slink ifconfig broken



 Just a note that ifconfig on slink will not show aliased interfaces.

 The source for potato backage wouldnt build on slink out of the box, I
 had to comment out the ipv6 references in the net-tools/lib Makefile and I
 got the ifconfig binary to build but there were other problems.




Lockup

1999-05-07 Thread Jim B
My Linux box locked up on me this morning.  Running the stock Debian
2.1/Linux 2.0.36 kernel... and only two services, telnet (from xinetd) and
SSHD1 (current version).

It runs all the time over a dial-up PPP connection... but I couldn't log
into it when I got to work this morning; I figured maybe the connection was
lost for whatever reason (ISP, or whatever)... and the line was busy (I
tried calling it to see if the line was open).  Later during the day I tried
again and it rang, which added to the confusion.

Anyway I get home and it's locked up solid on me.  Blank screen... couldn't
ping it over the LAN, etc..

I looked at the logs (the ones I know about anyway) and couldn't find any
indication of any failure.  I checked auth.log, daemon.log (written by the
SSHD1), debug, kern.log, last, messages, ppp.log, pppupd.log, and syslog...
all in the /var/log/ directory.


I HAVE been able (by reading my PPP logs) to pinpoint the time of the
failure to somewhere between 9:58:10 and 9:58:40... sometime inside of those
30 SECONDS, something happened.


Can you guys tell me what other logs I should look at to look for core
dumps, evidence of hardware failures, etc.?  This is my first lock-up so I
would like to know how to track this down.

BTW when I left for work this morning, I left one login open from the
console... running GNOME, Window Manager, lICQ, and of course XFree86.
Could a mem leak cause something like this?  (They were not running under my
root account, but as a regular user.)


Thanks.  :-\
- Jim





Re: XDM to KDM

1999-05-05 Thread Jim B
You could run /usr/sbin/switchdm to change your default display manager.


Regarding the xdm start-up scripts: you will find them in your /etc/rc#.d/
directories.  The easiest way to disable it from boot-up is to run:

update-rc.d -f xdm remove

Check the man pages on update-rc.d though, before you run that... just so
you see what it will do and how it works.


- Original Message -
From: Greg Scharrer [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Tuesday, May 04, 1999 11:00 PM
Subject: XDM to KDM


 I want to stop running xdm and run kdm instead, but I cannot figure out
 how to do it. I also hope there is a simple way to switch back if I do
 not like KDE.

 I am running Debian 2.1. I searched the archives and there are many
 mentions of commenting out xdm-start in /etc/X11/config. However, I do
 not have that file on my system. I read in one response that there is
 no /etc/X11/config file in slink. The file /etc/X11/xdm/xdm.options was
 referenced for slink. I cannot find any xdm-start in xdm.options or
 anywhere (I did a grep xdm-start * in /etc/X11 and /etc/X11/xdm with no
 hits. I also did a grep for start-xdm). I seem to remember finding
 something like that when I
 got xdm up in the first place though. My xdm.options file is below.

 # /etc/X11/xdm.options
 #
 # configuration options for xdm
 # See xdm.options(5) for an explanation of the available options.

 check-local-xserver
 no-ignore-nologin
 no-restart-on-upgrade
 run-xconsole
 use-sessreg

 Thanks for your help.

 Greg Scharrer


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: Mounting my cdrom

1999-05-01 Thread Jim B
mount: special device /dev/cdrom does not exist

Sounds like /dev/cdrom is symlinked to the wrong real device.

What device is your CDROM?  Probably hdc or hdd?

hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary slave

Try mount /dev/hd? /mnt


Once you get it working, re-link your /dev/cdrom to the right device:

ln -s /dev/hd? /dev/cdrom


- Original Message -
From: Robert-Jan Kuijvenhoven [EMAIL PROTECTED]
To: debian-user debian-user@lists.debian.org
Sent: Saturday, May 01, 1999 10:02 AM
Subject: Mounting my cdrom


 Hello everybody,

 I have installed slink and am trying to mount my cdrom. To mount the
cdrom, I use the following command:

mount -t iso9660 /dev/cdrom /mnt

 This returns then following message:

mount: special device /dev/cdrom does not exist

 What is wrong here? Is /dev/cdrom not the correct device or is this an
installation problem?

 TIA,

 Robert-Jan


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




Re: checking promiscuous mode

1999-05-01 Thread Jim B
You would see the promiscuous flag in the device configuration when you run
ifconfig.

If it's not there, it's not running in promiscuous mode.

ifconfig -a

or

ifconfig device


- Original Message -
From: Eugene Sevinian [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Saturday, May 01, 1999 3:44 PM
Subject: checking promiscuous mode


 Hi, ppl,
 Does anybody know how to test whether the network card
 set to promiscuous mode. It is supposed to run it from
 cron.

 Thanks,

 Eugene Sevinian

 
 CRD, YerPhI, 375036, Armenia
 URL: http://crdlx5.yerphi.am/
 Phone: 374-2-344873


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null