Changeset 19288


Ignore:
Timestamp:
2009-04-29T15:09:51+12:00 (15 years ago)
Author:
ak19
Message:

Some changes to configure-admin target, not yet finished, not completely working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/gsicontrol.bat

    r19278 r19288  
    7171:graceful
    7272:stoptest
    73 echo %target% is not operational yet (no local apache web server included in this release).
     73echo Command %target% is not yet operational (no local apache web server included in this release).
    7474goto exit
    7575
     
    110110:cfgadmin
    111111echo.
    112 rem echo Configuring admin user password:
    113 echo Command %target% not yet operational
     112echo Configuring admin user password:
     113for /F %%T in ('getpw') do set encrypted_password=%%T
     114rem echo %encrypted_password%
     115if ERRORLEVEL 0 (
     116    (
     117    echo [admin]
     118    echo ^^^<enabled^^^>true
     119    echo ^^^<groups^^^>administrator,colbuilder,all-collections-editor
     120    echo ^^^<password^^^>%encrypted_password%
     121    echo ^^^<username^^^>admin
     122    )|txt2db -append "%GSDLHOME%\etc\users.gdb"
     123) else (
     124    echo Did not set password
     125)
     126goto exit
     127
    114128
    115129:exit
Note: See TracChangeset for help on using the changeset viewer.