<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[linux密码文件/etc/passwd]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 07 Aug 2012 07:27:42 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	linux账号都储存在/etc/passwd 中。<br/><br/>root:~# cat /etc/passwd<br/>root:x:0:0:root:/root:/bin/bash<br/>daemon:x:1:1:daemon:/usr/sbin:/bin/sh<br/>bin:x:2:2:bin:/bin:/bin/sh<br/>sys:x:3:3:sys:/dev:/bin/sh<br/>sync:x:4:65534:sync:/bin:/bin/sync<br/>...<br/><br/>每一行代表一个用户,最前面是用户名称。<br/>要想统计用户个数（统计文件行数）：<br/>wc -l /etc/passwd<br/><br/>详细说明：<br/>/etc/passwd是个文本文件,每行一条记录,格式：<br/>account:password:UID:GID:GECOS:directory:shell （帐号: 密 码: 用户ID:组ID:一般的信息:目录:shell）<br/>字段描述如下:<br/>account 使用者在系统中的名字，它不能包含大写字母<br/>password 加密的用户密码，或者星号<br/>UID 用户 ID 号<br/>GID 用户的主要组 ID 号<br/>GECOS 这字段是可选的，通常为了存放信息目的而设的．通常，它包含了用户的全名<br/>directory 用户的 $HOME 目录<br/>shell 登录时运行的程序（如果空的，使用/bin/sh). 如果设为不存在的执行（程序），用户不能通过 login(1) 登录<br/><br/>基于安全考虑，密码在/etc/passwd中通常为*号,而真正的密码（加密过的）放在/etc/shadow<br/><br/>----------------------
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] linux密码文件/etc/passwd]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>