home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
tusportal.tus.k12.pa.us
/
tusportal.tus.k12.pa.us.tar
/
tusportal.tus.k12.pa.us
/
Wyse
/
latest-image.raw
/
0.img
/
usr
/
sbin
/
groupadd.local
< prev
next >
Wrap
Text File
|
2010-05-08
|
554b
|
30 lines
#!/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.
#
case "$1" in
--help|--version)
echo Usage: $0 group gid
exit 0
;;
esac
# 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 1
fi
# Update NIS database
# make -C /var/yp
# All done.
exit 0