blob: 612875fa674410e9192a31d04cd2ab4f83e789e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- IDcheck.sh.orig 2004-11-06 10:34:45.167017728 +0100
+++ IDcheck.sh 2004-11-06 10:35:15.092372928 +0100
@@ -89,19 +89,7 @@
I_AM_ROOT=1
fi
-if [ $NOBODY_ID != "0" ] || [ $BIN_ID != "0" ] || [ $DAEMON_ID != "0" ] || [ $NOBODY_GRP != "0" ] || [ $BIN_GRP != "0" ] || [ $DAEMON_GRP != "0" ] || [ $USERS_GRP != "0" ] || [ $SYS_GRP != "0" ] && [ $I_AM_ROOT != "0" ];
-then
- echo -n "If any required user ids and/or groups are missing, would you like these created? Y/N "
- read ans
- case $ans in
- Y*|y*)
- CREATE=1
- ;;
- *)
- CREATE=0
- ;;
- esac
-fi
+CREATE=0
if [ $NOBODY_ID != "1" ] && [ $NOBODY_GRP != "1" ]; then
echo "Nobody user id and group exist."
|