Goswin von Brederlow <[EMAIL PROTECTED]> wrote:
> Steve Greenland <[EMAIL PROTECTED]> writes:
>> YES, I know that the postinst doesn't work if you don't have any user
>> crontabs, feel free to stop reporting the bug -- I have enough.
 
>> You can get the installation to complete by editing 
>> /var/lib/dpkg/info/cron.postinst and removing these three lines near the end:
 
>>     for ct in * ; do
>>         chown $ct:crontab $ct
>>     done

> This also won't work with too many users.

No, it will.

[EMAIL PROTECTED]:/tmp/big> rm *
bash: /bin/rm: Argument list too long
[EMAIL PROTECTED]:/tmp/big> for ct in *; do rm $ct ; done \
  && echo success
success

> And lets add a user with homedir "`rm -rf ..`" just for fun.

Would not hurt.
[EMAIL PROTECTED]:/tmp/big> bar="\`yes\`"
echo $bar
`yes`
(If you want to see the kernels oom killer in action try "eval $bar",
I just did. - "Sep  3 10:13:16 downhill kernel: Out of Memory: Killed
process 788 (bash) ;-)."
                cu andreas


Reply via email to