Blog Archives

Awk Trick: Verify the /etc/passwd Lines

As you know, the /etc/passwd file has 7 fields on each line. The lines from /etc/passwd having more than 7 fields can create security vulnerabilities or generate massive system errors. It is better to remove them This little awk oneliner

Tagged with: , , , , , , , ,
Posted in The Linux and Unix Articles!


Subscribe to get the latest Linux news and how to guides directly on your e-mail!