userdel-post.local
来自「pwdutils是一套密码管理工具」· LOCAL 代码 · 共 24 行
LOCAL
24 行
#!/bin/bash## Here you can add your own stuff, that should be done for every user# which we deleted.## If you delete a user with userdel, this script will be called# with the login name, UID, GID and the HOME directory as parameter# after the account and optional home directory was removed from the# system.## Check for the required argument.if [ $# != 4 ]; then echo Usage: $0 username uid gid home exit 1fi# Rebuild NIS database to remove the account from it.# make -C /var/yp# All done.exit 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?