You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
328 B
12 lines
328 B
#!/bin/bash
|
|
# Author: Iain Douglas <centos@1n6.org.uk>
|
|
|
|
t_Log "Running $0"
|
|
|
|
# Check that the testgroup exists with GID 1010
|
|
grep -q "testgroup:x:1010:testshadow" /etc/group || { t_Log "FAIL Test group doesn't exist"; exit $FAIL; }
|
|
|
|
echo "Changing GID for group testgroup to 1011"
|
|
groupmod -g 1011 testgroup
|
|
t_CheckExitStatus $?
|