Redian新闻
>
[转载] 怎么知道别人finger过我呀?
avatar
[转载] 怎么知道别人finger过我呀?# Unix - 噫吁兮,危乎高哉
s*b
1
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: soldiercrab (快乐的寄居蟹), 信区: Programming
标 题: 怎么知道别人finger过我呀?
发信站: The unknown SPACE (Sat Jul 8 21:50:32 2000) WWW-POST
据我所知可以把.plan变成一个named pipe,每当有人finger我的时
侯,.plan
的内容就被转向到我的程序,于是我就知道了(可以用select来管理
么?)。
但有更好的办法么?我记得谁好像说过他写过一个deamon,一旦有人
finger
他,他的deamon就把通常的finger信息替换成他设定的话。谁能介绍
一下这
是怎么写的呀?偶十分佩服的说。另,这个deamon需要super user或
root的权
限么?for(;;){thanks()}
avatar
w*g
2
of course you need root, you need to install
special finger daemon, you should be able to
find lots of those "configurable finger daemon"
packages on the net

【在 s*********b 的大作中提到】
: 【 以下文字转载自 Programming 讨论区,原文如下 】
: 发信人: soldiercrab (快乐的寄居蟹), 信区: Programming
: 标 题: 怎么知道别人finger过我呀?
: 发信站: The unknown SPACE (Sat Jul 8 21:50:32 2000) WWW-POST
: 据我所知可以把.plan变成一个named pipe,每当有人finger我的时
: 侯,.plan
: 的内容就被转向到我的程序,于是我就知道了(可以用select来管理
: 么?)。
: 但有更好的办法么?我记得谁好像说过他写过一个deamon,一旦有人
: finger

avatar
a*i
3
you dont have to install any extra program in order to record the times
other people have fingered you.

【在 w*****g 的大作中提到】
: of course you need root, you need to install
: special finger daemon, you should be able to
: find lots of those "configurable finger daemon"
: packages on the net

avatar
r*e
4

then how to make it?
thanks //bow

【在 a*****i 的大作中提到】
: you dont have to install any extra program in order to record the times
: other people have fingered you.

avatar
a*i
5
I forgot hehe :)
Basically, when people finger you, they need to access your .plan (or .project)
file, and you can set up a wrapper that count the time and even record the username
who fingered you.

【在 r*e 的大作中提到】
:
: then how to make it?
: thanks //bow

avatar
x*x
6
but .plan and .project are only text files, not executables. i can't figure
out how you wrap them. unless fingerd provides such kind of mechanism.

【在 a*****i 的大作中提到】
: I forgot hehe :)
: Basically, when people finger you, they need to access your .plan (or .project)
: file, and you can set up a wrapper that count the time and even record the username
: who fingered you.

avatar
w*g
7
that is why I said you need a configurable finger daemon,
there are lots on the net

【在 x*x 的大作中提到】
: but .plan and .project are only text files, not executables. i can't figure
: out how you wrap them. unless fingerd provides such kind of mechanism.

avatar
a*i
8
No, You dont.
I had done that before on school's machine with a regular
fingerd. Just forgot how. x_x

【在 w*****g 的大作中提到】
: that is why I said you need a configurable finger daemon,
: there are lots on the net

avatar
m*e
9
I guess it could be done by creating .plan as a named pipe and running some
listening process in background. But, trust me, this is a big security hole.
Don't do it.

【在 a*****i 的大作中提到】
: No, You dont.
: I had done that before on school's machine with a regular
: fingerd. Just forgot how. x_x

avatar
a*i
10
Well, even anyone wants to see my love letter..hehe :)

【在 m*****e 的大作中提到】
: I guess it could be done by creating .plan as a named pipe and running some
: listening process in background. But, trust me, this is a big security hole.
: Don't do it.

avatar
w*g
11
maybe your school admin installed a finger daemon
the default one just read (not execute anytthing) the .plan file

【在 a*****i 的大作中提到】
: No, You dont.
: I had done that before on school's machine with a regular
: fingerd. Just forgot how. x_x

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。