useradd.local

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

LOCAL
23
字号
#!/bin/bash## Here you can add your own stuff, that should be done for every user who# was new created.## When you create a user with useradd, this script will be called# with the login name as parameter. Optional, UID, GID and the HOME# directory are added.## Check for the required argument.if [ $# -lt 1 -o $# -gt 4 ]; then  echo Usage: $0 username [uid gid home]  exit 1fi# Update NIS database# make -C /var/yp# All done.exit 0

⌨️ 快捷键说明

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