ºìÁªLinuxÃÅ»§
Linux°ïÖú

¹ÅÀϵÄfinger·þÎñ---Ïêϸ½²½â

·¢²¼Ê±¼ä:2006-06-11 11:08:27À´Ô´:ºìÁª×÷Õß:golshing
°æȨÉùÃ÷:¿ÉÒÔ×ÔÓÉתÔر¾ÎÄ£¬µ«ÇëÎñ±Ø±£Áô±¾ÎĵÄÍêÕûÐÔ¡£
×÷Õß:ÕÅ×Ó¼áemail:zhangzijian@163.com ˵Ã÷£º±¾ÎÄËùÉ漰ʾÀý¾ùÔÚfedora core3ϵõ½¡£


--------------------------------------------------------------------------------


¸ÅÊö


ÔÚÕâƪÎĵµÀïÎÒ½«½éÉÜfinger·þÎñµÄ»ù±¾ÖªÊ¶ÓëÔËÐÐÔ­Àí¡£ÓôóÁ¿Æª·ùÏêϸÑÝʾÁËfingerÃüÁîµÄʹÓ㬲¢¶ÔÆä·µ»ØÐÅÏ¢½øÐÐÁ˽âÊÍ¡£»¹ÓÐÐÞ¸ÄÓû§fingerÐÅÏ¢µÄ·½·¨¡£×îºó£¬½²ÊöÁËfingerµÄ°²È«Òþ»¼£¨¿É±»ºÚ¿ÍÀûÓ㬻ñȡϵͳ´óÁ¿ÓÐÓÃÐÅÏ¢£©£¬¼°Æä´¦Àí·½·¨¡£ÓÐÒâ˼µÄÊÇ£¬ÎÄÕÂÖл¹´©²åÁËһЩ¹ØÓÚfinger·þÎñµÄС¹ÊÊ¡£


--------------------------------------------------------------------------------


ʲôÊÇfinger·þÎñ


finger·þÎñ¾ÍÊÇfinger·þÎñÆ÷ÌṩһÏî²éѯ±¾µØ»òÔ¶³ÌÖ÷»úÓû§¹«¿ªÐÅÏ¢µÄ·þÎñ¡£ÔÚRFC1288ÀËüµÄÃû×ÖÊÇÓû§ÐÅÏ¢²éÕÒ³ÌÐò¡£

ÔÚÔçÆÚµÄUNIXϵͳÉÏ£¬ºÜ¶àѧÉú£¬Ñо¿ÈËÔ±ÀûÓÃfinger·þÎñÀ´¹«¿ª×Ô¼ºµÄijЩÌض¨ÐÅÏ¢£¬ÒÔ±ã½øÐн»Á÷¡£±ÈÈçÓÐЩÑо¿ÈËÔ±ÓÃÆ乫¿ª×Ô¼ºµÄ¿ÎÌâÑо¿Çé¿ö£¬ÓÐЩÀÏʦ¹«¿ªÒ»Ð©¿Î³Ìʱ¼ä°²ÅÅ¡£»¹ÓеÄÖ÷»ú²¥±¨ÇòÈüµÄÇé¿ö£¬Óеķ¢²¼Ò»Ð©µ±Ç°µØÕð»î¶¯µÄÐÅÏ¢¡£²»¹ý£¬finger·þÎñ¸ü¶àµÄÓô¦µÄÊǹ«¿ªÄ³È˵ÄÌض¨ÐÅÏ¢¡£


ijЩ·µ»ØÐÅÏ¢ÈçÏ£º


Óû§µÇ½Ãû
ÕæʵÐÕÃû
°ì¹«µØµã
¼ÒÍ¥µç»°
°ì¹«Êҵ绰
Óû§Ö÷Ŀ¼
ËùʹÓõÄshell
¼Æ»®


˵Ã÷£ºÒÔÉÏ·µ»ØÐÅÏ¢Ö»ÊÇfinger·þÎñÆ÷·µ»ØÐÅÏ¢µÄijЩ£¬»¹ÓÐÆäËûδ¸ø³ö¡£finger·þÎñÆ÷·µ»Ø¸øÄãµÄÐÅÏ¢¸ù¾Ý²»Í¬ÏµÍ³¶øÒì¡£



--------------------------------------------------------------------------------


ÓйØfingerµÄÀúÊ·

fingerÃüÁî×îÔç³öÏÖÔÚBSD3.0¡£ºóÀ´ºÜ¶àunix°æ±¾¶¼ÒÆÖ²ÁËÕâ¸ö³ÌÐò£¬ÎÒËùʹÓõÄfedora core3Ò²ÓÐfingerµÄ¿Í»§¶Ë¡£²»¹ýfc3ĬÈÏÇé¿öÏÂÊǹرÕÔ¶³Ìfinger·þÎñµÄ¡£ÏÖÔÚ£¬ºÜ¶àÖ÷»úÒѾ­¹Ø±ÕÕâÏî·þÎñ£¨°²È«ÐÔÔ­Òò£¬ÏÂÃæ»áÌáµ½£©¡£²»¹ý£¬ÔÚÃÀ¹úµÄÓÐЩ´óѧÀﻹÌṩÕâÏî¹ÅÀϵķþÎñ¡£

coke·þÎñÆ÷µÄ¹ÊÊÂ

ÔÚÆßÊ®Äê´úÖÐÆÚ£¬¿¨ÄÚ»ù-÷Áþ´óѧ¼ÆËã»úϵ°²×°ÁËһ̨¿É¿Ú¿ÉÀÖ»ú£¬ºóÀ´Õâ¸öϵÀ©´ó£¬´ÓÕâ¸ö»ú·¿·Ö³öһЩ³ÌÐòÔ±µ½²»Í¬Â¥²ãµÄ°ì¹«ÊÒ¡£ËûÃdz£³£×ßÁ˺ÜÔ¶£¬À´µ½ÄÇ̨»úÆ÷ÅԲŷ¢ÏÖûÓпɿڿÉÀÖ¡£»òÕßͬÑùÔã¸â£¬ËûÃÇ·¢ÏÖÔÚ»úÆ÷ÖÐÓпɿڿÉÀÖ£¬µ«Ê±¼ä²»¹»£¬»¹ÊÇÈȵġ£ ËûÃǵĽâ¾ö°ì·¨ÊÇ:ÔÚ»úÆ÷Öа²×°¿ª¹Ø£¬ÒÔÅжϿɵõ½¶àÉÙƿ̼ËáÒûÁÏ£¬²¢¸ú×Ù»¹Ðè¶à³¤Ê±¼äÿƿÒûÁϲÅÀäÈ´¡£ÎªÁËÈÃÈËÃÇÔ¶¾àÀë¼ì²éÕą̂»úÆ÷£¬ÉèÁ¢ÁËÒ»¸öרÓÃFinger·þÎñÆ÷¡£µ±ÄãFingerÒ»¸öרÓõÄÓû§±êʶ(coke)£¬Ëü½«ÏÔʾÕą̂coke»úÆ÷ÈÝÁ¿µÄ״̬¡£


--------------------------------------------------------------------------------



˵Ã÷


²»¹ýÏÖÔÚËüÃǵÄcoke·þÎñÆ÷ÎÒÒѾ­finger²»µ½ÁË¡£Ò²ÐíÊÇËûÃÇ»»ÁËÎÒ²»ÖªµÀµÄ·þÎñÆ÷£¬»òÕßÊÇÒѾ­¹Ø±ÕÁËÕâÏî·þÎñ¡£²»¹ý¿ÉÒÔ¸øÄãÌṩһ¸ö×öfingerʵÑéµÄfinger·þÎñÆ÷£¬ÔÚÏÂÃæ»á¼ûµ½¡£


--------------------------------------------------------------------------------


finger·þÎñ»ù±¾Ô­Àí


finger»ùÓÚ´«Êä¿ØÖÆЭÒ飬ÓÃTCP¶Ë¿Ú79¡£±¾µØÖ÷»ú´ò¿ªÒ»¸öÔ¶³ÌÖ÷»úÔÚFinger¶Ë¿ÚµÄÁ¬½Ó¡£Ô¶³ÌÖ÷»úµÄRUIP£¨Ô¶³ÌÓû§ÐÅÏ¢³ÌÐò£©±ä³ÉÓÐЧÀ´´¦ÀíÇëÇó¡£±¾µØÖ÷»ú·¢Ë͸øRUIPÒ»ÐлùÓÚFinger²éѯ˵Ã÷µÄÇëÇó£¬È»ºóµÈ´ýRUIPÏìÓ¦¡£RUIP½ÓÊÕ´¦ÀíÕâ¸öÇëÇ󣬷µ»ØÓ¦´ð£¬È»ºó·¢ÆðÁ¬½ÓµÄ¹Ø±Õ¡£±¾µØÖ÷»ú½ÓÊÕµ½Ó¦´ðºÍ¹Ø±ÕÐźţ¬È»ºóÖ´Ðб¾µØ¶ËµÄ¹Ø±Õ¡£


˵Ã÷

´ËÔ­ÀíÒý×ÔRFC1288Ô­ÎÄ¡£¼òµ¥µã˵£¬finger·þÎñ¾ÍÊÇÒ»Ì׿ͻ§»ú/·þÎñÆ÷ϵͳ¡£·þÎñÆ÷ÌṩÓû§ÐÅÏ¢£¬¿Í»§»ú½øÐвéѯ¡£


--------------------------------------------------------------------------------


ÏêϸÑÝʾfingerµÄʹÓÃ


ʹÓÃfinger·þÎñÖ»ÐèÒªÖªµÀÔ¶³ÌÖ÷»úÃû£¬Óû§µÇ½Ãû»òÕßÓû§µÄÕæʵÐÕÃû¡£Æä»ù±¾¸ñʽΪ£ºfinger user@host»òfinger@host¡£
ÒÔÏÂʾÀýÖУ¬Ô¶³ÌÖ÷»ú¶¼Îª¿¨ÄÚ»ù--÷¡´óѧ¼ÆËã»úѧԺµÄfinger·þÎñÆ÷¡£


ʾÀý1

²»´øÑ¡ÏîµÄfingerÃüÁî

[root@localhost ~]# finger @cs.cmu.edu
Login Name TTY Idle When Where
root Super-User pts/2 13d Wed 10:53 venera.fac.cs.cmu.edu


½²½â


µÚÒ»ÁÐLoginÊÇÓû§µÇ½Ãû£¬ÔÚ´ËΪroot¡£

µÚ¶þÁÐNameÊÇÓû§ÕæʵÐÕÃû£¬ÔÚ´ËΪSuper-User¡£

µÚÈýÁÐTTYÊÇÖÕ¶ËÃû£¬ÔÚ´ËΪpts/2¡£

µÚËÄÁÐIdleÏÔʾÓû§ÔÚ´ËÖÕ¶ËÉϵĻʱ¼ä¡£Èç¹û¼Ç¼ÊÇ¿Õ°×£¬Ôò±íʾÄǸöÈËÕýÔÚʹÓÃ×Ô¼ºµÄÖնˡ£·ñÔò£¬Ä㽫¿´¼ûÖն˿ÕÏÐÁ˶೤ʱ¼ä¡£ÔÚ´ËÊÇ¿ÕÏÐÁË13Ìì¡£

µÚÎåÁÐWhenÏÔʾÓû§µÇ½µÄÈÕÆÚºÍʱ¼ä£¬ÔÚ´ËΪÐÇÆÚÈýµÄ10µã53·Ö¡£

µÚÁùÁÐWhereÏÔʾÓû§ÊÇÈçºÎµÇ¼µÄ¡£Èç¹û´ËÏîΪ¿Õ°×£¬Ôò±íʾÕâ¸öÈËÕýÔÚʹÓÃÖ±½ÓÁ¬½Óµ½Ö÷»úµÄÖնˡ£·ñÔòÕâ¸öÈËͨ¹ý¸ø¶¨Ãû×ֵļÆËã»ú»òÖն˷þÎñÆ÷Á¬½ÓÖ÷»ú¡£ÔÚ´ËΪͨ¹ýÖ÷»úvenera.fac.cs.cmu.edu¡£

ʾÀý2


´ø-l²ÎÊýµÄfingerÃüÁî

[root@localhost ~]# finger -l @cs.cmu.edu
Login name: root In real life: Super-User
Directory: / Shell: /sbin/sh
On since May 10 10:53:14 on pts/2 from venera.fac.cs.cmu.edu
13 days Idle Time
No unread mail
No Plan.


½²½â


´ø-l²ÎÊýµÄfingerÃüÁî·µ»ØµÄÊDZȽÏÏêϸµÄÐÅÏ¢¡£ÔÚÕâÀ¶à³öÁËÓû§Ö÷Ŀ¼£¬Óû§shell£¬Óû§ÊÇ·ñÓÐδ¶ÁÓʼþ£¬Óû§¼Æ»®µÈÏîÄ¿¡£

ʾÀý3


ÒÔÏÂÕâ¸öʾÀý£¬ÓбȽ϶àµÄÄÚÈÝ£¬¿ÉÒÔ×Ðϸ¿´¿´¡£¿ÉÒÔ¿´µ½Ò»¸öÖйúÈËHu NingÔÚËûµÄ¼Æ»®Àï»­ÉÏÁËÒ»Ö±ºüÀ꣨ÕâÖ»ºüÀêºÜ¿ÉÄܾÍÊÇËû£©¡£¸ü¶àµÄ¹ØÓÚfingerÃüÁîµÄ½²½â¿ÉÒÔ²ÎÕÕÏÂÒ»½ÚµÄÄÚÈÝ¡£

[root@localhost ~]# finger h@cs.cmu.edu
Search limit exceeded, first 10 entries displayed using fuzzy name match
No entries found for exact uid match
No entries found for exact name match
Login: hhfu Name: Hui Hua Fu
Directory: /afs/cs.cmu.edu/user/hhfu
Mail is forwarded to hhfu+@imap-ns.srv.cs.cmu.edu
No Plan
Login: dwilson Name: Dan Wilson
Daniel H Wilson
Directory: /afs/cs.cmu.edu/user/dwilson
Mail is forwarded to dhw@alumni.cmu.edu
Plan:
Second year graduate student, Robotics Institute / CALD
Advisor: Chris Atkeson

Web Page: http://www.cs.cmu.edu/~dwilson/

Office: NSH A525
(412) 268-5909

Home: (412) 363-7462
Cell: (412) 478-2421
Login: ninghu Name: Ning Hu
Directory: /afs/cs.cmu.edu/user/ninghu
Mail is forwarded to ninghu+@imap.srv.cs.cmu.edu
Plan:
.% ^"b e$$ Ning Hu Ph.D. Student
F $$e L d$$"'F --------------------------------------
.% $$$r L J$$P 4% Computer Science Department
4 .$$$$ ^r ..J$$P $ Carnegie Mellon University
J 4$$$$ ^*$$$$$$e.d 5000 Forbes Ave
P 3$$$F $$ $$$$$$$$$e. Pittsburgh, PA 15213
* ^$$$z$$$$$$$$$$$$$$.b
d J$$$$$$$$$$$$$$$$$' Email: ninghu@cs.cmu.edu
J$F ^"$$$$$P""**$$$L $ F
4$$ -$$$$$e." $$$$zdFd Phone: (412)268-1557(O)
$$$ $$$$$$$$$$$$$$.$.% (412)243-6285(H)
4$$$" 4$P*$$$$$$$$$$$$.*
$$$% $$$$$$$$$$$$$$c" Home Page: www.cs.cmu.edu/~ninghu
$$% "" ^*$$$$J$$b^.
$% 4$$$b. " *$$* F :::::::::: :::::::: ::: ::: ::: :::
% ^$ee**"" :+: :+: :+: :+: :+: :+: :+:
4 F +:+ +:+ +:+ +:+ +:+ +:+ +:+
L .d :#::+::# +#+ +:+ +#++:+ +#++:
'*" d$ +#+ +#+ +#+ +#+ +#+ +#+
" .r$$%P%.@$" #+# #+# #+# #+# #+# #+#
### ######## ### ### ###
Login: yihchun Name: Yih-Chun Hu
Directory: /afs/cs.cmu.edu/user/yihchun
Mail is forwarded to yihchun@uiuc.edu
Plan:
I hope to graduate from CMU's Ph.D. program in Computer Science... eventually.

Office: 4114 Wean Hall, (412) 268-3075
Lab: 3418 Wean Hall, (412) 268-6972
Fax: (412) 268-5576
Home: (412) 688-0661
Web: http://www.cs.cmu.edu/~yihchun/
Snail: Yih-Chun Hu
Department of Computer Science
5000 Forbes Avenue
Carnegie Mellon University
Pittsburgh, PA 15213

Travel:
Login: jennylo Name: Hiu Yu Lo
Directory: /afs/cs.cmu.edu/user/jennylo
No Plan
Login: janiceb Name: Janice H. Brochetti
Directory: /afs/cs.cmu.edu/user/janiceb
Mail is forwarded to janiceb+@imap.srv.cs.cmu.edu
No Plan
Login: changbo Name: Changbo Hu
Directory: /afs/cs.cmu.edu/user/changbo
Mail is forwarded to changbo+@imap-ns.srv.cs.cmu.edu
No Plan
Login: hzhang Name: Hui Zhang
Directory: /afs/cs.cmu.edu/user/hzhang
Mail is forwarded to hzhang+@imap-ns.srv.cs.cmu.edu
Plan:
Professor

School of Computer Science Office: 7126 Wean Hall
Carnegie Mellon University Number: (412)268-8945
5000 Forbes Ave Email: hzhang@cs.cmu.edu
Pittsburgh, PA 15213-3891 URL: http://www.cs.cmu.edu/~hzhang


Administrative Associate: Kathy McNiff

Phone: (412) 268-5099
Fax: (412) 268-6714
Email: kmm@cs.cmu.edu





Login: hou Name: Lily Hou
Directory: /afs/cs.cmu.edu/user/hou
Mail is forwarded to hou+@imap.srv.cs.cmu.edu
Plan:

Login: hyu Name: Hua Yu
Directory: /afs/cs.cmu.edu/user/hyu
Mail is forwarded to hyu2000@gmail.com
Project:Remodel the wheel
Plan:
Hua Yu (thesis mode, reloaded)

Office:
2602B Newell Simon Hall (412) 268-5479
Language Technology Institute (LTI a.k.a. CMT)

Fax: (412) 268-6298

Delivery:
4502 Newell Simon Hall (LTI)
Carnegie Mellon Univ., 5000 Forbes Ave.
Pittsburgh, PA 15213

Home:
Apt.301, 5628 Hempstead St. (412) 422-2762
Pittsburgh, PA 15217

hyu@cs.cmu.edu http://www.cs.cmu.edu/~hyu


"Be who you are and say what you feel because the people who mind
don't matter and the people who matter don't mind." - Dr. Seuss

"I contend, that the Negro is the creative voice of America, is creative
America, and it was a happy day ... when the first unhappy slave landed
on its shores." - Duke Ellington

--------------------------------------------------------------------------------


fingerÃüÁîʹÓ÷½·¨

finger

finger [options]users

ÏÔʾÓйØÒ»¸ö»ò¶à¸öÓû§µÄÊý¾Ý£¬°üÀ¨Ã¿¸öÓû§Ä¿Â¼ÏÂÎļþ.planºÍ.projectËùÁгöµÄÐÅÏ¢¡£¿ÉÒÔ°Ñÿ¸öÓû§Ö¸¶¨ÎªÒ»¸öµÇ½Ãû£¨ÍêÈ«Æ¥Å䣩»òÖ¸¶¨ÎªÐÕ»òÃû£¨ÏÔʾËùÓÐÆ¥ÅäÃû×ÖµÄÐÅÏ¢£©¡£ÍøÂç»·¾³ÖпÉʶ±ð²ÎÊýµÄÐÎʽΪuser@host»ò@host¡£

Ñ¡Ïî

-s

ÏÔʾ¶Ì¸ñʽ£¬°üÀ¨µÇ¼Ãû£¬ÕæʵÃû×Ö£¬ÖÕ¶ËÃû£¬Ð´×´Ì¬£¬¿ÕÏÐʱ¼ä£¬°ì¹«µØµãºÍ°ì¹«Êҵ绰¡£

-l

Ç¿ÖƲÉÓó¤¸ñʽ£¨Ä¬ÈÏ£©£¬ÏÔʾÓÉ-sÑ¡ÏîËù°üº¬µÄËùÓÐÐÅÏ¢£¬ÒÔ¼°Ö÷Ŀ¼£¬¼ÒÍ¥µç»°£¬µÇ¼shell£¬Óʼþ״̬£¬.plan£¬.projectºÍ.forward¡£

-p

ÔÚÏÔʾÖÐÊ¡ÂÔ.planºÍ.projectÎļþÖеÄÄÚÈÝ¡£

-m

½ûÖ¹¶ÔÓû§¡°Õæʵ¡±Ãû×ÖµÄÆ¥Åä¡£

˵Ã÷

²»Ö¸¶¨fingerµÄÑ¡ÏîÈç¹ûÌṩÓû§ÃûµÄ»°£¬Ä¬ÈÏÉèΪ-lÊä³ö·ç¸ñ£¬·ñÔòΪ-s·ç¸ñ¡£×¢ÒâÔÚÁ½ÖÖ¸ñʽÖУ¬Èç¹ûÐÅÏ¢²»×㣬¶¼ÓÐһЩÓò¿ÉÄܶªÊ§£¬Èç¹ûûÓÐÖ¸¶¨²ÎÊýfinger»áΪµ±Ç°µÇ¼µÄÿ¸öÓû§´òÓ¡Ò»¸öÌõÄ¿¡£finger¿ÉÒÔÓÃÀ´²é¿´Ô¶³Ì»úÆ÷ÉϵÄÓû§ÐÅÏ¢£¬¸ñʽÊÇÖ¸¶¨userΪuser@host»ò@host¡£Ç°ÕßµÄĬÈÏÊä³öΪ-l·ç¸ñ£¬ºóÕßµÄĬÈÏÊä³öΪ-s·ç¸ñ¡£-lÊÇΨһµÄÏòÔ¶µØ»úÆ÷´«µÝµÄÑ¡Ïî¡£
--------------------------------------------------------------------------------


ÈçºÎ¸Ä±äfingerÐÅÏ¢ÄÚÈÝ


¿ÉÒÔʹÓÃchfnÃüÁîÐÞ¸ÄfingerµÄÄÚÈÝ¡£¿´ÒÔÏÂʾÀý£º

[root@localhost ~]# chfn zhangzijian
Changing finger information for zhangzijian.
Name [zhangzijian]: laojian
Office [11229]: China
Office Phone [13888888888]:
Home Phone [13888888888]:

Finger information changed.


½²½â£º²»´øÑ¡ÏîµÄchfnÃüÁî½øÈëÁ˽»»¥Ä£Ê½¡£ÔÚÿ¸öÏîÄ¿À²»ÊäÈëÈκÎÄÚÈݻᱣ³ÖÔ­Öµ¡£

--------------------------------------------------------------------------------



ʹÓÃ-oÑ¡Ïî


[root@localhost ~]# chfn -o 13800138000 zhangzijian
Changing finger information for zhangzijian.
Finger information changed.
½²½â£ºÔÚÕâÀÎÒÖ¸¶¨ÖйúÒƶ¯µÄ³äÖµµç»°ÎªÎҵİ칫Êҵ绰¡£



--------------------------------------------------------------------------------


chfnÃüÁîʹÓ÷½·¨
chfn [options][username]


µ±Óû§±»ÑéÖ¤ºó£¬¿ÉÒÔÐ޸Ĵæ·ÅÔÚ/etc/passwdÖв¢±»ÏÔʾµÄÐÅÏ¢¡£Èç¹ûûÓÐoptions Ñ¡ÏÄÇôchfn½øÈë½»»¥Ä£Ê½²¢Ìáʾ¿É½øÐÐÐ޸ġ£ÎªÁ˵õ½Ò»¿Õ°×ÇøÓò£¬ÊäÈë¹Ø¼ü×Önone¡£Ö»ÓÐÌØȨÓû§²Å¿ÉÒÔΪÁíÒ»¸öÓû§¸Ä±äÐÅÏ¢£¬¶ÔÓÚÆÕͨÓû§£¬ÔÚÐÞ¸Ä֮ǰ£¬chfnÌáʾÓû§ÊäÈëÃÜÂë¡£


Ñ¡Ïî


-f,--full-name

Ö¸¶¨ÐµÄÈ«Ãû¡£


-h,--home-phone


Ö¸¶¨ÐµļÒÍ¥µç»°ºÅÂë¡£


-o,--office


Ö¸¶¨Ðµİ칫ÊҺš£


-p,--office-phone


Ö¸¶¨Ðµİ칫Êҵ绰ºÅÂë¡£


-u,--help


ÏÔʾ°ïÖúÐÅÏ¢²¢Í˳ö¡£


-v,--version


ÏÔʾ°æ±¾ÐÅÏ¢²¢Í˳ö¡£


--------------------------------------------------------------------------------


°²È«ÐÔ

×îÁ÷ÐеÄfingerÓ¦ÓÃÊÇÃÀ¹ú¼ÓÖÝ´óѧBerkeley·ÖУ¿ª·¢µÄ¡£µ«ÊÇ,BSD°æ±¾ÌṩºÜÉÙÑ¡ÏîÕë¶ÔÌض¨Õ¾µã°²È«Õþ²ßµÄÏêϸFinger RUIP£¨Ô¶³ÌÓû§ÐÅÏ¢³ÌÐò£©»òÕß±£»¤Óû§ÒÔÃâÊܵ½Î£ÏÕÊý¾ÝµÄ¹¥»÷¡£¶øÇÒ£¬Ëü´æÔÚÐí¶àÓû§ºÍ¹ÜÀíÔ±ÐèҪעÒâµÄ°²È«Òþ»¼£¬ÌرðÒòΪЭÒéµÄÄ¿µÄÊÇ·µ»ØϵͳÓû§ÐÅÏ¢£¬×îÓпÉÄÜ·¢ÉúÎÊÌâµÄ²¿·Ö¡£

ijЩUnixϵͳ×Ô´øµÄfingerdʵÏÖÉÏ´æÔÚ°²È«ÎÊÌ⣬Զ³Ì¹¥»÷Õß¿ÉÄÜͨ¹ýÀûÓôË©¶´µÃµ½ÏµÍ³Óû§Ïà¹ØÐÅÏ¢¡£ÒÔÊý×ÖΪÓû§ÃûÌá½»Ò»¸öÇëÇó£¬Ô¶³Ì¹¥»÷Õß¿ÉÄÜ»ñȡϵͳÉϵÄijЩÕʺÅÃû¡£±ÈÈ磺finger 0@host ¡£

±ÈÈçÔÚÒÔÉÏ¿¨ÄÚ»ù--÷¡´óѧµÄʾÀýÖУ¬¿ÉÒÔ»ñµÃcs.cmu.eduÕą̂Ö÷»úµÄ¹ÜÀíÔ±ËùʹÓõÄshellÐÅÏ¢£¬ÒÔ¼°Ëûʲôʱºò»î¶¯ÔÚÕą̂Ö÷»úÉÏ¡£ÕâÑù¾ÍΪ²»·¨ÕßÌṩÁ˺ܶà¹ØÓÚÖ÷»úµÄÐÅÏ¢¡£ÔÚÏÂÃæµÄÀý×ÓÀÖøÃûµÄmorrisÈä³æ£¬ÔÚ1988Ä꣬µ¼ÖÂÕ¼»¥ÁªÍø1/10µÄÔ¼6000̨unixÖ÷»ú±ÀÀ££¬ËðʧΪ1500ÍòÃÀÔ²¡£

»Ø¹ËÀúÊ·[Robert tappan morrisµÄÍøÂçÈä³æÓõ½ÁËfinger daemon¡£finger daemonÔÊÐí´ÓÔ¶¶ËÖ÷»ú·¢ËÍÖÁ¶à512±ÈÌØ×÷ΪFingerÇëÇó¡£È»¶ø£¬fingerÈ´Óлº´æÒç³öµÄ©¶´£¬ÕâÊÇÒòΪȱÉÙÕýÈ·µÄ±ß½ç¼ì²é¡£±»fingerµÄÖ÷»ú½«Èκγ¬¹ý512±ÈÌصĶ«Î÷½âÊͳÉÔÚ±¾µØÖ´ÐеÄÖ¸ÁÎÞÂÛfinger daemonµÄȨÏÞÊÇʲô¡£]
¶Ô²ß

Èç¹ûÓпÉÄÜ£¬¾Í¹Ø±ÕµôfingerµÄÔ¶³Ì·þÎñ£¬¿ÉÒÔ±£Áô±¾µØ·þÎñ¡£Èç¹ûÏë½ûÖ¹±¾µØ·þÎñ£¬¿ÉÒÔÖ±½Óɾ³ýµôfingerÃüÁî¡£

¹Ø±ÕÔ¶³Ì·þÎñ£¨linuxÏ£©

¿ÉÒÔÔÚinetd.d/xinetd.dÖÐÉèÖÃfingerdµÄÆô¶¯½Å±¾£¬°ÑdisableÏîÉèÖÃΪyes¼´¿É¡£

¹Ø±ÕÔ¶³Ì·þÎñ£¨solarisÏ£©

´ò¿ª/etc/inetd.confÎļþ£¬ÕÒµ½ÈçÏÂÐУº
finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd

ÔÚ¸ÃÐеĿªÊ¼´¦Ôö¼Ó#ºÅÀ´½«Æä×¢ÊÍ
#finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd

3. ÖØÐÂÆô¶¯inetd
# ps -ef|grep inetd
root 167 1 0 Oct 07 ? 0:07 /usr/sbin/inetd -s -t
# kill -HUP 167 (ÉÏÃæµÄÀý×ÓÖУ¬167ÊÇinetdµÄpid)


--------------------------------------------------------------------------------

Èç¹û»¹Ïë±£Áôfinger·þÎñ£¬ÄÇô¾ÍÒª¾­³£×¢Òâ·þÎñÆ÷°æ±¾µÄ¸üС£²¢ÇÒÒª°Ñ³¢ÊÔÁ¬½Ó¸Ã·þÎñÆ÷µÄipµØÖ·¼Ç¼µ½ÈÕÖ¾Àï¡£


--------------------------------------------------------------------------------


¹ØÓÚfingerµÄ¸ü¶àÐÅÏ¢
¡¶fingerµÄ¹ÊÊ¡·http://lib.wyu.edu.cn/internet/internet_dc_8.html


RFC1288£¨ÖÐÎÄ£©http://www.cnpaf.net/rfc/rfc1288.txt


RFC1288£¨Ó¢ÎÄ£©http://www.ietf.org/rfc/rfc1288.txt?number=1288


--------------------------------------------------------------------------------


²Î¿¼ÎÄÏ×
man-pageÖÐÎÄ°æ
http://cmpp.linuxforum.net/cman-html/man1/finger.1.html
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ