免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2032 | 回复: 3

finger user得到的用户信息是从哪来的? [复制链接]

论坛徽章:
0
发表于 2008-11-15 20:12 |显示全部楼层
finger user得到的用户信息是从哪来的?

论坛徽章:
0
发表于 2008-11-15 20:26 |显示全部楼层
原帖由 flagcugb 于 2008-11-15 20:12 发表
finger user得到的用户信息是从哪来的?


应该有/etc/passwd,/etc/group,其它的就不知道了。
期待各有位补充。

论坛徽章:
0
发表于 2008-11-15 21:09 |显示全部楼层
The getpwnam() function returns a pointer to a structure containing the
broken-out  fields  of  the  record in the password database (e.g., the
local password file /etc/passwd, NIS, and LDAP) that matches  the  user
name name.

论坛徽章:
15
2015年辞旧岁徽章
日期:2015-03-03 16:54:15双鱼座
日期:2015-01-15 17:29:44午马
日期:2015-01-06 17:06:51子鼠
日期:2014-11-24 10:11:13寅虎
日期:2014-08-18 07:10:55酉鸡
日期:2014-04-02 12:24:51双子座
日期:2014-04-02 12:19:44天秤座
日期:2014-03-17 11:43:36亥猪
日期:2014-03-13 08:13:51未羊
日期:2014-03-11 12:42:03白羊座
日期:2013-11-20 10:15:18CU大牛徽章
日期:2013-04-17 11:48:45
发表于 2008-11-17 10:44 |显示全部楼层
FILES
     $HOME/.plan             user's plan

     $HOME/.project          user's projects

     /etc/default/finger     finger options file

     /etc/passwd             password file

     /var/adm/lastlog        time of last login

     /var/adm/utmpx          accounting
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP