[Setup] Installation Script

Alex alex at garel.org
Thu Sep 12 14:53:28 UTC 2013


Steve McMahon <steve at ...> writes:

> 
> 
> File a bug report to https://dev.plone.org/newticket and we'll see what we
can figure out.
> 
> On Mon, May 6, 2013 at 3:03 PM, philtempleton
<philip.templeton at sbbcollege.edu> wrote:I am
running the install.sh script on an opensuse 12.1 platform.  The script
> tries to add users to /usr/bin/false and errors out with a "Invalid home
> directory" error.  Where can I update the script so that install the users
> in the correct location?  

Hello,

For your information, I edit ./helper_scripts/user_group_utilities.sh to
change it so :

   ---
Plone-4.3.1r1-UnifiedInstaller/helper_scripts/user_group_utilities.sh
2013-07-04 23:02:32.000000000 +0200
   +++ helper_scripts/user_group_utilities.sh	2013-09-12 16:50:17.000000000
+0200
   @@ -49,7 +49,7 @@
            TARGET_GROUP="$2"
    
            NOLOGIN=`which nologin`
   -        NOHOME=`which false`
   +        NOHOME=`/bin`
            USER_SETTINGS="-g $TARGET_GROUP --shell $NOLOGIN --home $NOHOME"
    
            id "$TARGET_USER" > /dev/null 2>&1

and it works !

Did you file the bug report so I can put this fix there ?



More information about the Setup mailing list