Fix first time installations on Ubuntu 12.04+
This commit is contained in:
parent
abfd333230
commit
a664233a2d
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
v1.0.6.8 20-Jul-2016 - Andrew Leary
|
||||||
|
|
||||||
|
1. Fixed the SETUP.sh script to handle installing on fresh
|
||||||
|
installations of Ubuntu 12.04+. These versions do not install
|
||||||
|
an admin group, which MBSE uses to enable the mbse user to run
|
||||||
|
sudo. SETUP.sh will now add the admin group if it doesn't
|
||||||
|
exist, to prevent useradd failing to create the mbse user.
|
||||||
|
This change only affects first time installations on Ubuntu
|
||||||
|
12.04 or later.
|
||||||
|
|
||||||
v1.0.6.7 28-Jun-2016 - Andrew Leary
|
v1.0.6.7 28-Jun-2016 - Andrew Leary
|
||||||
|
|
||||||
1. Added the ability to disable cross-zone SEEN-BY
|
1. Added the ability to disable cross-zone SEEN-BY
|
||||||
|
4
SETUP.sh
4
SETUP.sh
@ -299,6 +299,10 @@ if [ "$OSTYPE" = "Linux" ]; then
|
|||||||
fi
|
fi
|
||||||
if [ "$DISTNAME" = "Ubuntu" ]; then
|
if [ "$DISTNAME" = "Ubuntu" ]; then
|
||||||
GRPS=${GRPS}",adm,admin"
|
GRPS=${GRPS}",adm,admin"
|
||||||
|
if ! grep -q ^admin /etc/group ; then
|
||||||
|
# Fresh install of Ubuntu 12.04+ has no admin group; we need it to enable use of sudo.
|
||||||
|
$PW groupadd admin
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if grep -q ^dialout /etc/group ; then
|
if grep -q ^dialout /etc/group ; then
|
||||||
GRPS=${GRPS}",dialout"
|
GRPS=${GRPS}",dialout"
|
||||||
|
@ -12,7 +12,7 @@ AC_SUBST(SUBDIRS)
|
|||||||
PACKAGE="mbsebbs"
|
PACKAGE="mbsebbs"
|
||||||
MAJOR="1"
|
MAJOR="1"
|
||||||
MINOR="0"
|
MINOR="0"
|
||||||
REVISION="6.7"
|
REVISION="6.8"
|
||||||
VERSION="$MAJOR.$MINOR.$REVISION"
|
VERSION="$MAJOR.$MINOR.$REVISION"
|
||||||
COPYRIGHT="Copyright (C) 1997-2016 Michiel Broek, All Rights Reserved"
|
COPYRIGHT="Copyright (C) 1997-2016 Michiel Broek, All Rights Reserved"
|
||||||
SHORTRIGHT="Copyright (C) 1997-2016 M. Broek"
|
SHORTRIGHT="Copyright (C) 1997-2016 M. Broek"
|
||||||
|
Reference in New Issue
Block a user