- Timestamp:
- 2009-03-23T10:44:24+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/GSI-Makefile
r18733 r18734 47 47 @echo "" ; 48 48 @echo "Configuring admin user password:" ; 49 @ encrypted_password=`getpw` ; 50 @ if [ $$? = "0" ] ; then \ 51 echo -e "[admin]\n<enabled>true\n<groups>administrator,colbuilder,all-collections-editor\n<password>$$encrypted_password\n<username>admin" \ 52 | txt2db -append "${GSDLHOME}/etc/users.db" ; \ 53 fi 49 @ (encrypted_password=`getpw` ; \ 50 if [ $$? = "0" ] ; then \ 51 echo -e "[admin]\n<enabled>true\n<groups>administrator,colbuilder,all-collections-editor\n<password>$$encrypted_password\n<username>admin" \ 52 | txt2db -append "${GSDLHOME}/etc/users.db" ; \ 53 else \ 54 echo "Did not set password" ; \ 55 fi ) 54 56 @echo "" 55 57
Note:
See TracChangeset
for help on using the changeset viewer.