📄 useradd.local
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -