Page Menu
Home
WMGMC Issues
搜索
Configure Global Search
登录
Files
F15885
set_worker_password.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
订阅
标记用于日后
授予令牌
Size
282 B
Referenced Files
None
订阅者
None
set_worker_password.sh
View Options
#!/bin/bash
password_file
=
'/etc/rspamd/override.d/worker-controller-password.inc'
password_hash
=
`
/usr/bin/rspamadm
pw
-e
-p
$1
`
echo
'enable_password = "'
$password_hash
'";'
>
$password_file
if
grep
-q
"
$password_hash
"
"
$password_file
"
;
then
echo
"OK"
else
echo
"ERROR"
fi
File Metadata
详情
附加的
Mime Type
text/x-shellscript
Expires
9月 9 Tue, 5:46 AM (7 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5372
默认替代文本
set_worker_password.sh (282 B)
Attached To
Mode
rMAILCOW mailcow-tracking
附加的
Detach File
Event Timeline
Log In to Comment