Re: /var mounted noexec

1999-09-10 Thread Richard Kettlewell
Nathan E Norman writes: > On Fri, 10 Sep 1999, Matus "fantomas" Uhlar wrote: >> can anyone tell me where does dpkg store its preinstall and >> postinstall scripts when installing packages ? > > /var/lib/dpkg/info iirc That is correct. However dpkg is not necessarily the only program which execu

Re: #!/Perl question

1999-09-03 Thread Richard Kettlewell
Brad writes: > One solution would be to write a makefile that detects the location > of the perl binary and then prepends the proper shebang line to the > beginning of your perl programs. Another trick is this: #! /usr/bin/env perl print "Hello, world\n"; This depends on env being in /u

Re: [C|E]Tags recursively

1999-09-03 Thread Richard Kettlewell
Paulo Henrique Baptista de Oliveira writes: > Hi all, > I want to transverse /usr/src/linux with Ctags or Etags and there isnt >an option to do this. > My question is: how to do this thing? Something along these lines: find . -name "*.[ch]" -print | etags - should do the tr

Re: More on XDM and runlevels

1999-08-16 Thread Richard Kettlewell
Chad Walstrom writes: > Well, I can't site any reason w/xdm other than possibly using > something like kdm or gdm periodically. However, I do know run > levels come in handy. Let's say, for example, you'd like to work on > your web pages at home, perhaps running mysql and apache with php. > Yet,

Size of Debian

1997-08-19 Thread Richard Kettlewell
I unpacked all the *.orig.tar.gz from .../bo/source, and did a little counting. du reports 1.7Gb in 773 packages. I did some line counts as well; we have more than 52 million lines in total, of which over 18 million are in *.c files and over 3 million in *.h files. -- Richard Kettlewell

X and modmaps

1997-05-26 Thread Richard Kettlewell
use them e.g. in Emacs or an xterm, they still have their unexchanged meanings. What am I doing wrong? -- Richard Kettlewell http://www.elmail.co.uk/~richard/ Would it be so terrible, to be a photino bird? -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "un

Re: Return code from system()

1997-04-23 Thread Richard Kettlewell
n page for which documents some macros for decomposing it. It's a bug in the documentation. -- Richard Kettlewell http://www.elmail.co.uk/~richard/ Are you sure you want to quit reading news? (y or n) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

Re: zsh vs bash

1997-03-09 Thread Richard Kettlewell
is a short sighted approach. Pick a powerful >editor and invest some time in learning it. (You don't have to learn >it all, and you don't have to learn all that much at first, either.) >It will really pack off. And I think the same philosophy applies, >perhaps to a lesser deg

Re: Mail and News with UUCP over TCP/IP

1997-03-02 Thread Richard Kettlewell
SI UK's service, in fact.) -- Richard Kettlewell http://www.elmail.co.uk/~richard/ [wubba wubba wubba wubba wubba wubba wubba wubba] It was a creepy and surreal morning when they implanted the biochips in the mind of Mohinder Singh. [wubba wubba wubba wubba wubba wubba wubba wubba]

Re: Mail and News with UUCP over TCP/IP

1997-02-25 Thread Richard Kettlewell
d news back out by NNTP instead - a good thing I've never had to do it without TCP/IP being available... -- Richard Kettlewell http://www.elmail.co.uk/~richard/ [wubba wubba wubba wubba wubba wubba wubba wubba] It was a creepy and surreal morning when they implanted the biochips in t

Re: problem with suid perl scripts in Debian 1.2

1997-01-03 Thread Richard Kettlewell
Christopher E. Stefan writes: >After upgrading from 1.1 to 1.2 none of my suid-perl scripts worked >anymore. I ended up having to put C wrappers around all of them. I reported this as a bug a while back, don't recall the number. A bit disappointing to see so little reaction.

Re: innd & mmap

1996-12-01 Thread Richard Kettlewell
? >> >> is it a kernel or a libc problem? >> >> Has inn for debian been compiled with MMAP turned off? If not, should >> this be reported as a bug against inn? > >Hmm.. I run a non-debian version of inn, aqnd it works fine with mmap. Ditto. -- Richard Kettl

Re: seg faults with majordomo

1996-09-08 Thread Richard Kettlewell
ajordomo package, don't know if it's been fixed yet. > when sending mail to majordomo for help or lists it sends the >correct info back to me. if i send to the list i get the mail returned >with 'no such recipient'. Might need to see the full bounce.

Re: MajorDomo Problem with "wrapper"

1996-08-28 Thread Richard Kettlewell
Brian C. White writes: >I'm trying to set up majordomo on our server, but have run into the >following problem. > >Any mail sent to the "majordomo" alias and gets piped into the majordomo >command via "wrapper" causes majordomo to just spin its wheels, chewing >cpu cycles and allocating more and mo

Re: aout svgalib problem

1996-06-19 Thread Richard Kettlewell
David Engel writes: >Richard Kettlewell writes: >>Jeffery S. Coy, Jr. writes: >>>i just installed the aout-svgalib-1.28-6.deb package, and noticed it >>>installs to /usr/i486-linuxaout rather than /usr/lib/i486-linuxaout, so >>>the system can't find it

Re: aout svgalib problem

1996-06-18 Thread Richard Kettlewell
Jeffery S. Coy, Jr. writes: >i just installed the aout-svgalib-1.28-6.deb package, and noticed it >installs to /usr/i486-linuxaout rather than /usr/lib/i486-linuxaout, so >the system can't find it. No, /usr/i486-linuxaout/lib is the correct place; I'd expect the problem to be something else. I d

Re: pppd and setuidness (was Re: 3 Questions)

1996-06-17 Thread Richard Kettlewell
>>One could make the uid of the account zero to achieve this without >>making pppd setuid, though I can imagine this making people jump up >>and down about security - can anyone think of an attack on this? > >If the user figures a way to change their shell, you're dead. Quite so. Similarly if th

Re: Majordomo install problem

1996-06-16 Thread Richard Kettlewell
Juhani Luhtanen writes: >Failed to create group majordom: >adduser: the user you specified already exist > >when I try to run dpkg --install with the majordomo.deb file. It looks to me like the base disks now have the `majordom' user but not the corresponding group (before you even install Majord

pppd and setuidness (was Re: 3 Questions)

1996-06-16 Thread Richard Kettlewell
>>good question. and why isn't pppd setuid root? if it's a security issue, >>a ppp group would be in order. > >I'd say 'because it doesn't neeed to be' is a good justification. > >If you need to have non-root users execute ppp as root, take a look >at the 'sudo' or 'super' packages. They allow yo

Re: Interesting Activity for Shell commands.

1996-05-31 Thread Richard Kettlewell
Martin Rheumer writes: >I am running a number of shell scripts and find I have to specify sh >and then the script name. The first line of the script is always >#!/bin/sh which I am assuming takes care of this. Could someone >provide some hints what I have done wrong or some pointers. Have you mad

Re: Cron

1996-05-25 Thread Richard Kettlewell
>How can I stop cron sending a message root everytime it runs a >script. I have a couple of cron jobs that run every 15 minutes and I >am getting hundreds of messages a day. Make sure that the programs in question don't produce any output (e.g. by redirecting the output to /dev/null.) Cron mailin

Re: perl and setgid scripts

1996-05-21 Thread Richard Kettlewell
...in fact apropos my previous comments about perl, I note that the description reads as follows: Larry Wall's Practical Extracting and Report Language. An interpreted scripting language, known among some as "Unix's Swiss Army Chainsaw". Perl is optimized for scanning arbitrary t

perl and setgid scripts

1996-05-20 Thread Richard Kettlewell
I used to be able to do setgid (and indeed, setuid) scripts in perl; but after upgrading to 5.002-7, they break, keeping the uid/gid of the invoking process. This has just spannered my mail system, which uses a perl script to do the final delivery (and delivery agents must be setgid mail under Deb

Re: Must pppd be run by root?

1996-05-17 Thread Richard Kettlewell
I think `net' would be a good group name for this. Rob Browning writes: >> "C" == Craig Sanders <[EMAIL PROTECTED]> writes: > >C> I suppose that would do the job, but what if a sysadmin wants to >C> allow users to dial in using ppp, but NOT allow them to dialout >C> with minicom or send faxes?

Re: find question (and xargs)

1996-05-16 Thread Richard Kettlewell
>>find / -size +459976c -noleaf -type f -name '*.deb'|\ >>xargs -n 1 dpkg-split -s {} && rm {} >> >>I was thinking that {} would be replaced by the filename but that's >>not the case. Anyone know how to solve this? > >It's find that does the replacing. None of the {}s are in the find >arguments,

Re: Must pppd be run by root?

1996-05-14 Thread Richard Kettlewell
Craig Sanders writes: > >On Sun, 12 May 1996, Rob Browning wrote: > >> >>>>> "R" == Richard Kettlewell <[EMAIL PROTECTED]> writes: >> >> R> pppd has to do various messing around creating network interfaces >> R> and so on, s

Re: diald (Was: Re: Must pppd be run by root?)

1996-05-13 Thread Richard Kettlewell
I think this was meant to be sent to the mailing list. --- start of forwarded message (RFC 934 encapsulation) --- From: Yves Arrouye <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] (Richard Kettlewell) Subject: Re: diald (Was: Re: Must pppd be run by root?) Date: Mon, 13 May 1996 00

Re: Must pppd be run by root?

1996-05-12 Thread Richard Kettlewell
Rick Macdonald writes: >I'm configuring a fresh install of 1.1. I can only start pppd as >root. I found that /etc/ppp had permisions of 700. After changing >that it still can only be run as root. Comparing "strace" output >shows that it may be failing doing an ioctl on /dev/ttyp0. Changing >the p

Re: Probs with 'tail -f foo | awk ...'

1996-05-07 Thread Richard Kettlewell
ring input and waiting for more to come out of tail. Or both. Try with a much bigger `test' file and see what happens. -- Richard Kettlewell http://www.elmail.co.uk/staff/richard/[EMAIL PROTECTED] If my head is in the clouds, it is because I am standing on the shoulders of giants...

Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-03 Thread Richard Kettlewell
log files, with any luck: those would provide a pointer, too. -- Richard Kettlewell [EMAIL PROTECTED]http://www.elmail.co.uk/staff/richard/

Re: gs shouldn't depend on svgalib

1996-05-03 Thread Richard Kettlewell
s depending on both svgalib and X than having to explain what >4 gs packages is good for. I agree with this. -- Richard Kettlewell (Debian svgalib maintainer) http://www.elmail.co.uk/staff/richard/[EMAIL PROTECTED]