08-29-2018 11:04 AM
Buenas tardes, he estado investigando los scripts de linux que hay en alfresco para crear, borrar y modificar usuarios.
He conseguido generar un script que borre un usuario que le pases por parametro, pero a la hora de crear un usuario nuevo tengo problemas.
Este es el código del script:
#! /bin/bash
export LD_LIBRARY_PATH="LD_LIBRARY_PATH:.";
export ALFTOOLS_ENDPOINT=http://localhost:8080/alfresco;
export ALFTOOLS_SHARE_ENDPOINT=http://localhost:8080/share;
export ALFTOOLS_USER=****;
export ALFTOOLS_PASSWORD=****;/home/****/alfresco-shell-tools-master/bin/alfCreateUser.sh -n $1 -p $2 -f $3 -l $4 -e $5
exit;
El error que me da es el siguiente:
línea 114: jshon: orden no encontrada
curl: (22) The requested URL returned error: 500 Error Interno del Servidor
He probado ha llamar directamente al script alfCreateUser.sh con los parámetros correspondientes y me sigue dando el mismo error.
Muchas gracias de antemano.
08-29-2018 12:13 PM
Necesitas instalar la herramienta jshon
Puedes encontrar algunas instrucciones aquí: GitHub - ecm4u/alfresco-shell-tools: Automatically exported from code.google.com/p/alfresco-shell-to...
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.