Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the pwck command in Linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to use the pwck command in Linux. It is very detailed and has a certain reference value. Friends who are interested must finish it!

The Linux common command pwck command is used to verify the integrity of the content and format of the system authentication files / etc/passwd and / etc/shadow.

Pwck is used to verify the integrity of the content and format of the system authentication file.

Syntax pwck (options) (parameters) option-Q: only error messages are reported;-s: sort files "/ etc/passwd" and "/ etc/shadow" by user id;-r: run instructions read-only. Parameter password file: specify the path to the password file

Shadow file: specifies the path to the shadow file.

Example 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: no change. This is all about the article "how to use pwck commands in Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report