Skip to content

Commit 6b0a579

Browse files
committed
homed: do not log new password when debug logs are enabled
systemd-homed[3443]: Sending to worker: { "enforcePasswordPolicy": false, "userName": "foobarbaz", "perMachine": [ { "storage": "directory", "matchMachineId": "c1082742b92c4f7e8d30d6b17f9d3351" } ], "disposition": "regular", "lastChangeUSec": 1750606709833174, "lastPasswordChangeUSec": 1750606709833174, "privileged": { "hashedPassword": [ "$y$j9T$ai2Fshq0ev9W05WL4SoRJ1$EFfe41ACrJKXMCQ83A05n6UW.HrRr9/O4b1x0CXgAXD" ] }, "binding": { "c1082742b92c4f7e8d30d6b17f9d3351": { "blobDirectory": "/var/cache/systemd/home/foobarbaz", "uid": 60056, "gid": 60056 } }, "secret": { "password": [ "test" ] }, "__systemd_homework_internal_blob_fdmap": {} } (cherry picked from commit e248790) (cherry picked from commit a283e832dabd35d9f6e6aace0525ecf4f6372b57) (cherry picked from commit bd71224be1cce183ea0b862ae702d0bb62873479) (cherry picked from commit 49d2797) (cherry picked from commit 528a943)
1 parent fa1cb0c commit 6b0a579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/home/homed-home.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ static int home_start_work(Home *h, const char *verb, UserRecord *hr, UserRecord
11731173
if (stdin_fd < 0)
11741174
return stdin_fd;
11751175

1176-
log_debug("Sending to worker: %s", formatted);
1176+
log_debug("Sending request to worker");
11771177

11781178
stdout_fd = memfd_create("homework-stdout", MFD_CLOEXEC);
11791179
if (stdout_fd < 0)

0 commit comments

Comments
 (0)