Skip to content

Commit 50fddd1

Browse files
authored
Comment clarifying the line that uses $zboolean
1 parent b300c4d commit 50fddd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyId=sys,sys && \
1717
" Do ##class(Security.Users).UnExpireUserPasswords(\"*\")\n" \
1818
" Do ##class(Security.Users).AddRoles(\"admin\", \"%ALL\")\n" \
1919
" Do ##class(Security.System).Get(,.p)\n" \
20-
" Set p(\"AutheEnabled\")=\$zb(p(\"AutheEnabled\"),16,7)\n" \
20+
" // 2**4 = 16; this sets bit 4 to enable OS authentication for the admin user" \
21+
" Set p(\"AutheEnabled\")=\$zboolean(p(\"AutheEnabled\"),16,7)\n" \
2122
" Do ##class(Security.System).Modify(,.p)\n" \
2223
" Do \$system.OBJ.Load(\"/opt/app/Installer.cls\",\"ck\")\n" \
2324
" Set sc = ##class(App.Installer).setup(, 3)\n" \
@@ -28,4 +29,4 @@ RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyId=sys,sys && \
2829
| iris stop $ISC_PACKAGE_INSTANCENAME quietly
2930

3031
#USER irisowner
31-
CMD [ "-l", "/usr/irissys/mgr/messages.log" ]
32+
CMD [ "-l", "/usr/irissys/mgr/messages.log" ]

0 commit comments

Comments
 (0)