mirror of
https://github.com/webmin/webmin.git
synced 2025-08-08 08:26:00 +00:00
Allow password reading from stdin
This commit is contained in:
@ -642,7 +642,7 @@ if ($has_pdbedit) {
|
|||||||
&print_tempfile(TEMP, "\n\n");
|
&print_tempfile(TEMP, "\n\n");
|
||||||
&close_tempfile(TEMP);
|
&close_tempfile(TEMP);
|
||||||
local $out = &backquote_logged(
|
local $out = &backquote_logged(
|
||||||
"cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -u ".
|
"cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -t -u ".
|
||||||
quotemeta($_[0]->{'name'}).
|
quotemeta($_[0]->{'name'}).
|
||||||
($config{'sync_gid'} ? " -G $config{'sync_gid'}" : "").
|
($config{'sync_gid'} ? " -G $config{'sync_gid'}" : "").
|
||||||
" -c '[".join("", @opts)."]' $ws <$temp 2>&1");
|
" -c '[".join("", @opts)."]' $ws <$temp 2>&1");
|
||||||
|
Reference in New Issue
Block a user