免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4221 | 回复: 4
打印 上一主题 下一主题

请问shadow文件中密码栏是NP表示什么意思啊? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-27 17:57 |只看该作者 |倒序浏览
我man了一下,知道*LK*是锁住用户的意思,但是没有NP的说明

论坛徽章:
0
2 [报告]
发表于 2005-07-28 00:47 |只看该作者

请问shadow文件中密码栏是NP表示什么意思啊?

but  i thought it is account disabled

论坛徽章:
0
3 [报告]
发表于 2005-07-28 09:11 |只看该作者

请问shadow文件中密码栏是NP表示什么意思啊?

我想他不应该是no password,因为在man page里面解释没有密码的情况是什么都没有,下面是man page里面关于password域的解释,但是没有提到NP\r\n\r\n \r\n
\r\n         password\r\n                An encrypted password for the user  generated  by\r\n                crypt(3C),  a  lock  string  to indicate that the\r\n                login is not  accessible,  or  no  string,  which\r\n                shows that there is no password for the login.\r\n\r\n                The lock string is defined as *LK* in  the  first\r\n                four characters of the password field.\r\n

论坛徽章:
0
4 [报告]
发表于 2005-07-28 15:05 |只看该作者

请问shadow文件中密码栏是NP表示什么意思啊?

password – Contains a 13-character encrypted password, or the string *LK*, which indicates a locked account, or the string NP,which indicates no password.\r\n\r\n238上面的原话\r\n我的个人理解是no password\r\n\r\n--------以上纯属个人呢愚见

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
5 [报告]
发表于 2005-07-28 15:39 |只看该作者

请问shadow文件中密码栏是NP表示什么意思啊?

NP=no password\r\n“无密码”和“密码为空”是概念不同,后者是有密码的,不过密码字符为空字符而已。这时登录时系统仍然要提示用户输入密码,用户仍然需要按一下回车。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP