vigr命令可以修改group、gshadow文件,使用vigr命令可以编辑/etc/group文件。当寻找一个编辑器时将首先尝试环境变量$VISUAL,然后是环境变量$EDITOR,最后默认是vi编辑器。
语法格式:vigr [参数]
常用参数:
| -g | 修改组信息 |
| -p | 修改密码信息 |
| -R | 在CHROOT_DIR目录中应用更改并使用CHROOT_DIR目录中的配置文件 |
| -s | 编辑shadow 或 gshadow 信息 |
参考实例
修改组信息:
[root@linuxcool ~]# vigr -g
修改密码信息:
[root@linuxcool ~]# vigr -p

Undeniably believe that which you said. Your favorite
justification seemed to be on the internet the simplest thing to be aware of.
I say to you, I certainly get irked while people think
about worries that they just don’t know about.
You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people
can take a signal. Will likely be back to get
more. Thanks