groupadd.local

来自「pwdutils是一套密码管理工具」· LOCAL 代码 · 共 23 行

LOCAL
23
字号
#!/bin/bash## Here you can add your own stuff, that should be done for every# group which was new created.## When you create a group with groupadd, this script will be called# with the group name and GID as parameter.## Check for the required argument.# Allow 3 arguments, groupadd can also add UID of calling process.if [ $# -lt 2 -o $# -gt 3 ]; then  echo Usage: $0 group gid  exit 1fi# Update NIS database# make -C /var/yp# All done.exit 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?