linux系统spool用法,pwck命令_Linux pwck 命令用法详解:用来验证系统认证文件内容和格式的完整性...

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:无改变

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值