Linux

共 37 篇文章。

我最反感的四类找抽贴

• Life

第一种:请XXX(某ID)回答!

最讨厌这种帖子,你不是我们家亲戚,不是漂亮MM,不是我老板,论坛上还有那么多人,凭什么指名点姓要求我来回答?论坛上的其他人都不会?可能吗?同时侮辱了论坛上所有的人(包括我),所以当然不回答(即使回答,一般也要等到两三天以后)。

阅读全文… ( 本文约 533 字,阅读大致需要 2 分钟 )

Debian Linux 3.0 coming

• Kernel

Now they are at r6. I hope that FreeBSD will have dabian base for their 3.x series soon, which will provide better compatibility and ease the way of users to migrate to FreeBSD.

参与评论

有感于「否则上Linux专题」

• Life

我一直不是一个认为「酒香不怕巷子深」的人,不过这位老兄的话还是多少让人觉得有点不爽。其实挺好的一个事情,非得搞到*BSD和Linux对决不可吗?

阅读全文… ( 本文约 120 字,阅读大致需要 1 分钟 )

An vulnerability, a threat, and you lose root, that's Linux.

• Security

Every quarter we got the same news: Linux did it again!

Yes, they DID it again. Many sites became victim during the last scan of awstats vulnerability, the most famous ones are www.phpbb.com, and moto.debian.org.tw, etc. You can Google the cracker organization and find more.

Why Linux is again and again vulnerable to these hack attempts? Why other systems doesn’t have such serious security issues even when an exploit is published? The answer is apparant: Linux did worst ever, among all Operating Systems, even when you include Windows. Imagine, a kernel which can permit normal users to gain root privilege.

阅读全文… ( 本文约 246 字,阅读大致需要 2 分钟 )

我不是都说了吗……连自己的老巢都让人端了的系统你没法相信

• Security

于是他们又来了。

如果你正在用Linux kernel 2.2.x,2.4.x(从开始到2.4.29-pre3),2.6.x(从开始到2.6.10),那么你就有事干了。通过合理地注入代码,任何人都可以拿到root,因为kmem_cache_alloc()的执行过程被打断,则VMA的红黑树可能会在不希望的地方插入一个节点,并进而通过LDT调用门获取CPL0特权。

阅读全文… ( 本文约 261 字,阅读大致需要 1 分钟 )

For those who just migrate from RedHat Linux...

• Cheatsheets

Just for fun:

Add the following to your /etc/csh.cshrc:
setenv LSCOLORS ExGxFxdxCxegedabagExEx
setenv CLICOLOR yes
set prompt = ‘[%B%n@%m%b] %B%~%b%# ’
set autolist
bindkey “^W” backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward

And execute:
sed -i.bak -E s/set\ prompt/#set\ prompt/g /root/.cshrc

Then re login.

参与评论

em(4) performance issue?

• Development

Today NetApplience folks has told me that Linux performance is twice better than FreeBSD when using em(4) driver, and they pointed out that the driver FreeBSD is using does not do a good job at this time. I have tried to tune some certain part of the kernel however the result is still not so good at the time I am writing.

阅读全文… ( 本文约 136 字,阅读大致需要 1 分钟 )

ReiserFS3.6 has been ported to FreeBSD!

• Kernel

Jean-Sébastien Pédron [jspedron club-internet.fr] has announced that he has ported ReiserFS 3.6 (from kernel 2.6.7) to FreeBSD (with only Read-Only support this time).

Scott Long suggests to import these to base because 6-CURRENT will have a focus on the file system. I suggested that we have a directory under somewhere in the src/ tree to keep these Linux bits so we can backport their fixes more easily and it should be better for us to rip these things out when we have re-written something from scratch.

参与评论

Debian值得我们学习的地方

• Development

很多人管Debian叫「大便」,不过这里我还是宁愿称其为Debian。

今天ld说了Debian的包的一个比较有意思的维护模式,我之前也了解一些,那就是它的stable和unstable包。Stable和Unstable两种。

阅读全文… ( 本文约 388 字,阅读大致需要 1 分钟 )