How we do custom NFS mount authorization on Solaris 10

Suppose that you want to use some custom method of authenticating andauthorizing NFS mounts, and that your fileservers are Solaris 10 systems(although the same general approach could probably work elsewhere).Further suppose that you don't have the source to mountd , or at leastdon't want to modify it for various sensible reasons. Fortunately,there is an evil hack that you can commit that will let you do whateverauthorization checks that you need.

(When thinking about all of this, remember that NFS mount


A "Rash" Decision

According to strict local and religious customs in certain Asian countries, male doctors are only allowed to "see" his lady patients covered by full-length veil. Being a doctor myself, I have more than once ruminated on how it can be done. I think for the thousandth time how lucky I am here and don't have to see my patients behind the curtain.

What we seem not to recognize is that, much to our chagrin, we're carrying out such behind-the-curtain consultation every

大娛樂家-(第59集)


主持人: 蕭定一, 袁彌明, 愛明
主題: 大娛樂家-(第59集)
Continue reading...

請憑良心投票


這是第四屆立法會各組別的抽籤結果
你想支持第幾組都好
憑良心去投票就好
不必受人左右
不要被公司或同事的意見影響
不要因為一餐飯或一點點利益而埋沒良心
投票是不記名的
投票的方式也很保密
你投了給誰根本不必向別人交代

The shift-selection trick in X terminal programs

Seeing this todayreminded me of a relatively obscure feature and counter-feature in xterm and similar imitators like gnome-terminal and konsole.

First, the feature (sometimes 'feature'): in order to let text modeprograms still have clickable objects, xterm lets programs steal leftmouse (button-1) clicks; instead of selecting text, the program getsescape sequences that tell it about the click and it can do whatever itwants with them. The most obvious application is text-mode web browserslike links


Re-post an article about Social Norms and Economic Norms

如果什麽都可以用demand/supply、“搵食o姐”來做標準,我們將會活在一個怎麼樣的社會?

________________________________________________________

人類 同 時 活 在
Continue reading...

雜念


你很想表達自己的意見,但擔心被人取笑。

為什麼人們不敢表達自己的意見呢?因為沒有意見的人會取笑有意見的人,以掩飾自己的愚昧。為什麼人們會甘於不想達意見呢?因為他們認為肯表達意見的都是蠢人,只有他們這種保

一起看~PIP劇場最讚人熱淚舞台劇


大家有沒有興趣8月9日(星期日)晚上7:30pm一起看 舞台劇 家家春秋》?

聽說超好看的喔~
如果大家平時少看
舞台劇 可以看看這一套。

門券原價$295,跟我一起訂會有“朋友仔”offer, 每張$177。

如欲訂購,請參

Spammers are quite dedicated in their address scraping

This is one of those entries that require some apparently irrelevantbackground.

The Atom syndication feed format requires that each entry have a uniqueidentifier assigned to it (the atom:id element, to use XML jargon).This identifier is a valid URI, formed using any number of schemes(see here ). DWiki (the software behind WanderingThoughts ) initially used the fullURL of entries as the Atom ID, because this required no additionalconfiguration or per-entry metadata. However, this causes seriousproblems if you ever


Why you should do code reviews for sysadmin scripts

Through my experiences over the past while, I've come around to theview that you should try to have code reviews for sysadmin shellscripts. There's two reasons for this, and they both have to do withthe fact that the Bourne shell is not really a programming language .

First, you want code reviews so that other people can convince you thatyour clever Bourne shell idioms are a little too clever. People's tastesand standards for this vary widely, and you're writing scripts not