免费注册 查看新帖 |

Chinaunix

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

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

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

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
2 [报告]
发表于 2005-07-27 18:39 |只看该作者

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

好像是no password

论坛徽章:
0
3 [报告]
发表于 2005-07-27 19:15 |只看该作者

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

没错,就是no passwd

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

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

but  i thought it is account disabled

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

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

我想他不应该是no password,因为在man page里面解释没有密码的情况是什么都没有,下面是man page里面关于password域的解释,但是没有提到NP


         password
                An encrypted password for the user  generated  by
                crypt(3C),  a  lock  string  to indicate that the
                login is not  accessible,  or  no  string,  which
                shows that there is no password for the login.

                The lock string is defined as *LK* in  the  first
                four characters of the password field.

论坛徽章:
0
6 [报告]
发表于 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.

238上面的原话
我的个人理解是no password

--------以上纯属个人呢愚见

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

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

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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP