When I try to run "smbpasswd -U , I get "getsmbfilepwent: malformed password entry (no :) Failed to find entry for user root. Failed to modify password
$modify->code && warn "failed to modify entry: ", $modify->error ; } else { if ($< != 0) { my $FILE="|$config{smbpasswd} -s >/dev/null"; open (FILE, $FILE) || die "$!n"; print FILE <<EOF; $oldpass $pass
When I try to run "smbpasswd -U, I get "getsmbfilepwent: malformed password entry (no :) Failed to find entry for user root. Failed to modify password entry for user root" and the smbpasswd file changes permission to 600. I am using ...