pwck
To verify your /etc/passwd and /etc/shadow files, you can use the pwck command at the shell prompt. This utility will verify each line in the two files and make sure they are valid.
Any errors are reported on the screen, as shown in this example:
openSUSE:/ # pwck
Checking '/etc/passwd'
User 'pulse': directory '/var/lib/pulseaudio' does not exist.
User 'usbmux': directory '/var/lib/usbmuxd' does not exist.
Checking '/etc/shadow'.
As you can see, pwck found that the home directories specified for the pulse and usbmux
system user accounts don’t exist.
LX0-104 Exam Objectives (K)
No comments:
Post a Comment