pwck命令如何使用
发布时间:2024-05-27 15:33:25 所属栏目:Linux 来源:DaWei
导读: pwck命令用来验证系统认证文件/etc/passwd和/etc/shadow的内容和格式的完整性。
语法
pwck(选项)(参数)
选项
-q:仅报告错误信息;
-s:以用户id排序文件“/etc/passwd&rdquo
语法
pwck(选项)(参数)
选项
-q:仅报告错误信息;
-s:以用户id排序文件“/etc/passwd&rdquo
pwck命令用来验证系统认证文件/etc/passwd和/etc/shadow的内容和格式的完整性。 语法 pwck(选项)(参数) 选项 -q:仅报告错误信息; -s:以用户id排序文件“/etc/passwd”和“/etc/shadow”; -r:只读方式运行指令。 参数 密码文件:指定密码文件的路径; 影子文件:指定影子文件的路径。 实例 pwck /etc/passwd user 'lp': directory '/var/spool/lpd' does not exist user 'news': directory '/var/spool/news' does not exist user 'uucp': directory '/var/spool/uucp' does not exist user 'www-data': directory '/var/www' does not exist user 'list': directory '/var/list' does not exist user 'irc': directory '/var/run/ircd' does not exist user 'gnats': directory '/var/lib/gnats' does not exist user 'nobody': directory '/nonexistent' does not exist user 'syslog': directory '/home/syslog' does not exist user 'couchdb': directory '/var/lib/couchdb' does not exist user 'speech-dispatcher': directory '/var/run/speech-dispatcher' does not exist user 'usbmux': directory '/home/usbmux' does not exist user 'haldaemon': directory '/var/run/hald' does not exist user 'pulse': directory '/var/run/pulse' does not exist user 'saned': directory '/home/saned' does not exist user 'hplip': directory '/var/run/hplip' does not exist pwck:无改变 (编辑:岳阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- linux C Acknegative lookahead给出错误
- linux-kernel – dirty_expire_centisecs的实现
- linux – 杀死特定用户运行的进程
- linux C pthreads线程在堆栈中预先故障的最佳方法是什么?
- 什么是acpi_pm linux的clockource,什么硬件实现?
- linux – 我需要一个TCP选项(ioctl)来立即发送数据
- linux – OpenLDAP是Windows LDAP的可行替代方案吗?
- Linux机器有一个不错的固定费率在线备份解决方案吗?
- linux – debian上单核vps的负载平均值大于20
- 了解linux标准USB网络摄像头驱动程序
推荐文章
站长推荐