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

10 回复

  1. I think the admin of this web site is genuinely working
    hard in favor of his website, for the reason that here every data is quality based data.

  2. Heya i’m for the first time here. I found this board and I find It truly useful &
    it helped me out much. I hope to give something back
    and aid others like you helped me.

  3. I have been browsing on-line greater than three hours as of late, yet I never discovered any fascinating article like yours.
    It is pretty worth sufficient for me. In my view, if all website owners and bloggers made excellent content
    material as you did, the net will likely be much more helpful than ever before.

  4. Hi there, just became aware of your blog through Google, and found that it’s truly informative.
    I am going to watch out for brussels. I’ll appreciate if you continue this
    in future. Numerous people will be benefited from your writing.

    Cheers!

回复 http://extrading-taiwan.com/ 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注