modify using vipw

Usage: vipw [options]

-g, –group edit group database
-h, –help display this help message and exit
-p, –passwd edit passwd database
-q, –quiet quiet mode
-s, –shadow edit shadow or gshadow database

someone said this editor is the safest way to edit /etc/shadow /etc/group /etc/password

The manual is same as vi or vim command

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.