Re: sudo

2000-02-23 Thread Peter Palfrader aka Weasel
oblems too reading the manpage since it does not give basic examples. perhaps you can use this one: # User privilege specification root ALL=(ALL) ALL weasel ALL=(ALL) NOPASSWD: /sbin/ipchains -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages pr

Re: kill script

2000-02-23 Thread Peter Palfrader aka Weasel
e | grep $1 | grep -v grep | awk ' { print $1 } ' ` else echo "Syntax: $0 name" endif Hope that helps. -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad

Re: kill script

2000-02-23 Thread Peter Palfrader aka Weasel
Hi David! > function mykillall { > kill -9 `ps -e | > grep bash | > grep -v grep | > awk ' { print $1 } '` > } replace bash with $1 :) and then put this into your .bash{rc,_profile} -- Weaselhttp://www.cosy.sbg.ac.at/

Re: kill script

2000-02-23 Thread Peter Palfrader aka Weasel
a script like this myself, yet. You don't need a script for this one :) try the following: function mykillall { kill -9 `ps -e | grep bash | grep -v grep | awk ' { print $1 } '` } as an alternative you can use the real killall :) -- Weasel

Re: Linux and PS/2

2000-02-22 Thread Peter Palfrader aka Weasel
but I doubt that they change such a critical component in the last weeks of the freeze. Besides that it would break some other packages ... :( -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages prefere

Re: using power save and power down features

2000-02-19 Thread Peter Palfrader aka Weasel
not from within X might be an idea :) you can switch to your virtual consoles with Ctrl+Alt+F1 trough F6. Back again with Alt+F7. the /etc/init.d/ start|stop|reload|restart. method works for many other things too, like the inetd, the lpd, et alii. FYI Peter Palfrader

Re: which 2.2 kernel?

2000-02-17 Thread Peter Palfrader aka Weasel
be wrong on this) slink is currently considered outdate^H^H^H^H^H^H^Hstable, potato is frozen and will become stable in a few weeks, woody is unstable HTH -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages prefered. See my

Re: Emptying files

2000-02-16 Thread Peter Palfrader aka Weasel
do cat /dev/null > $i done HTH -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad -- Yes mea

Re: RAID mounting at bootup

2000-02-13 Thread Peter Palfrader aka Weasel
started automatically by /etc/rcS.d/S25mdutils Now on my potato system I'm using the new raidtools 0.90 wich need a kernel patch. With them the kernel autodetects the md devices if the partitions have type 0xfd. I don't know about the old raidtools. HTH -- Weasel

Re: Can't get scripts to work

2000-01-06 Thread Peter Palfrader aka Weasel
s executed when you > try to leave the directory...) Well, it won't work with cd since it is a shell built but it would work with ls and many other commands. regards Peter Palfrader -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages prefere

Re: /sbin and /usr/sbin be in a normal user's path ?! What about Sudo ?

1999-12-29 Thread Peter Palfrader aka Weasel
e base install ? It may be my fault but I don't see what sudo has to do with this issue. Could you please explain? -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages pr

Re: GnuPG stands for ...?

1999-12-25 Thread Peter Palfrader aka Weasel
On Sat, Dec 25, 1999 at 09:23:20AM -0800, Fish Smith wrote: > Okay, if PGP stands for Pretty Good Privacy, does that > mean GnuPG stands for GNU Pretty Good? I don't know > how this title conveys encryption... Gnu Privacy Guard. -- Weaselhttp://www.

killing a process

1999-11-25 Thread Peter Palfrader aka Weasel
Any ideas how I can get rid of this process? Thanks In Advance. PS: Yes, I could reboot the box but I don't want to. Peter Palfrader -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP/GPG encrypted messages prefered. See my site o

Re: Network sniffer

1999-11-15 Thread Peter Palfrader aka Weasel
On Sun, Nov 14, 1999 at 10:43:46PM -0700, AzCaPpY wrote: > try Sniffit. I don't know if there is a Debian package for it but the > standard .tar.gz works great with Debian. there is: debian/dists/slink/non-free/binary-i386/admin/sniffit_0.3.5-3.deb for i386s.

cannot open tty:

1999-11-03 Thread Peter Palfrader aka Weasel
/dev/ttyp1 (which I ran the above command at) are: crw--w 1 weasel tty3, 1 Nov 3 01:56 ttyp1 What could be wrong? TIA -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site or finger -

Re: download HTML Installation manual

1999-10-07 Thread Peter Palfrader aka Weasel
e ones ^^^ do not recurse into parent directory ^^^ recurse deep infinite ^^ recurse -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site or finger -l pp

Re: on selective multi file delete

1999-10-03 Thread Peter Palfrader aka Weasel
??? I'm not sure but would find -name .listing -exec rm {} \; work? should be the base dir of the downloaded directory structure. -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my sit

Re: imap

1999-09-29 Thread Peter Palfrader aka Weasel
On Tue, Sep 28, 1999 at 10:46:11PM -0400, Sergey V Kovalyov wrote: > By the way, if you are using exim, then it supports Maildir directly, no > need to use procmail for this. TNX for the hint, I did not know this. But I need procmails mail processing cpabilities anyway :) --

Re: imap

1999-09-28 Thread Peter Palfrader aka Weasel
PS: I'ld leave the mail folders in ~/mail/. It's a lot nicer IMVHO. -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site or finger -l ppalfrad --- A friend

Re: awk or sed?

1999-09-25 Thread Peter Palfrader aka Weasel
any) where EXTIF is the interface EXTIP=`/sbin/ifconfig | grep -A 4 $EXTIF | awk '/inet/ { print $2 } ' | sed -e s/addr://` PTPPP=`/sbin/ifconfig | grep -A 4 $EXTIF | awk '/P-t-P/ { print $3 } ' | sed -e s/P-t-P://` HTH -- Weasel http://www.cosy.sb

imap

1999-09-24 Thread Peter Palfrader aka Weasel
not support this mailbox format. Is there a way to configure imapd so that it does support this format or can anyone name me an alternate imapd? TIA -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site or finger -l ppal

Re: killing dormant/dead processes

1999-09-24 Thread Peter Palfrader aka Weasel
Don't write the wtmp record. The -n flag implies -d. -f Force halt or reboot, don't call shutdown(8). -i Shut down all network interfaces just before halt or reboot. -p When halting the system, do a poweroff.

Re: killing dormant/dead processes

1999-09-23 Thread Peter Palfrader aka Weasel
more likely to avoid data losses and far more important there's no fschk at boot time that lasts for forever :) Check out /usr/src/linux/Documentation/sysrq.txt for more maqic requests. -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered.

Re: checking integers in scripts?

1999-09-19 Thread Peter Palfrader aka Weasel
; fi or totally different: * if (/bin/grep 0 /proc/sys/net/ipv4/ip_forward -q) ; then echo "off"; fi - -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site or finger -l ppalfrad - --

Re: pgp question

1999-09-11 Thread Peter Palfrader aka Weasel
On Sat, Sep 11, 1999 at 10:08:09PM -, Pollywog wrote: > You exchanged passphrases?? I don't think you should do that. > Your passphrase is for your own use when you encrypt or sign something. oops, fingerprints :) -- Weasel http://www.cosy.sbg.ac.at/~pp

pgp question

1999-09-11 Thread Peter Palfrader aka Weasel
s key is marginally valid. However what puzzles me is why on earch are the two other user id's on Konrad's key completely valid. Perhaps you can help me? -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site or finger

3 things: exim, isdn, login.defs

1999-09-06 Thread Peter Palfrader aka Weasel
yes in login.defs but somehow I can still su to root as a normal user. Is there something I missed? PS: I use slink with 2.2.12, isdn2linux that came with slink and that's it. TIA -- Weaselhttp://www.co

Re: Forgotten root password HELP

1999-09-01 Thread Peter Palfrader aka Weasel
On Tue, Aug 31, 1999 at 09:31:07PM +0100, Patrick Kirk wrote: > - at LILO prompt I typed linux init=/bin/bash. This failed because the / > partition mounted read-only just a thought: mount -o remount,rw / or did I miss something? -- Weaselhttp://www.cosy.sbg

How to kill a process (if kill -9 does not work)?

1999-08-29 Thread Peter Palfrader aka Weasel
er there is a more elegant way to kill such a process without rebooting. Thank you -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site for my PGP key. -- A friend is some

Re: Adaptec AHA-2940

1999-08-25 Thread Peter Palfrader aka Weasel
internal and external bus) (even if it works in M$ Win) (or set auto termination) (lots of parents..:). I solved it by enabling auto termination which I disabled cause I thought I was smart. seemed as if I wasn't :/ -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP enc

Re: PPP over an Ethernet connection.

1999-08-24 Thread Peter Palfrader aka Weasel
eel free to reply with RTFM since I haven't done so yet. Your mail was just a good oportunity to get into it. TIA - -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site for my PGP key. - --

Re: Logging in w/ session-specific passwd

1999-08-15 Thread Peter Palfrader aka Weasel
to my ISP but I can't get into Sun now that I've switched to > | Debian. What am I doing wrong? > > It may be you need to add the group "dialout". By default > regular users don't have permission to use pppd. IIRC the group is alre

firewalling (ipchains) question

1999-08-13 Thread Peter Palfrader aka Weasel
tcp -s marvin 1024:65535 -d laus 1024:65535 ! -y ipchains -A output -j ACCEPT -p tcp -s marvin 1024:65535 -d laus smtp ipchains -A input -j ACCEPT -p tcp -s laus 1024:65535 -d marvin 1024:65535 ! -y ipchains -A input -j ACCEPT -p tcp -s laus smtp -d marvin 1024:65535 ! -y which results in: marvi

mutt question...

1999-08-11 Thread Peter Palfrader aka Weasel
dmail variable to something like exim -f [EMAIL PROTECTED] does not work either. TIA -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site for my PGP key. -- The software said Wind

Re: scsi hd idle spin down

1999-08-10 Thread Peter Palfrader aka Weasel
; > have you had a look at IBM's specs as to how many spin-up-spin-down > cycles these drives are specified for? IIRC, these are server-drives > and thus not specified to survive a lot of power-cycles but rather a > log time of continuous operation. I doubt I'll have problem

procmail question (was: looking for a mail client)

1999-08-09 Thread Peter Palfrader aka Weasel
/procmail so only having a .procmailrc fur users that want it? Thank you. PS: scsi idle spin down anyone? -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site for my PGP key

looking for a mail client

1999-08-08 Thread Peter Palfrader aka Weasel
1Md9axS1ENS7p/qOxq2lzcWkF OkU5wsVE6q4= =Up+5 -END PGP SIGNATURE- -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site for my PGP key. -- The software said Windows95 or better, so I got Linux...

Re: VMware for Debian

1999-08-08 Thread Peter Palfrader aka Weasel
, you need a lincense of the guest OS you want to run. Then simply insert the boot floppy or boot CD and install your OS of choice. -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See m

scsi hd idle spin down

1999-08-07 Thread Weasel
Thanks in advance. Peter PS: fyi: the scsi controller is an AHA 2940 U2W, the disks are IBM DRVS09V and there's one swap partition on each of them. I've five md devices that use these two disks (raid0 for /usr, /home, /export/incoming, /export/pub, /mnt/stuff; / and /var