mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Allow password reading from stdin
This commit is contained in:
@ -642,7 +642,7 @@ if ($has_pdbedit) {
|
||||
&print_tempfile(TEMP, "\n\n");
|
||||
&close_tempfile(TEMP);
|
||||
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'}).
|
||||
($config{'sync_gid'} ? " -G $config{'sync_gid'}" : "").
|
||||
" -c '[".join("", @opts)."]' $ws <$temp 2>&1");
|
||||
|
Reference in New Issue
Block a user