-
Notifications
You must be signed in to change notification settings - Fork 0
fix: redact remaining personal identifiers in hpc, wezterm, sway, and email.service #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,8 +8,8 @@ StartLimitIntervalSec=0 | |
| Type=simple | ||
| Restart=always | ||
| RestartSec=1 | ||
| User=stanfish | ||
| ExecStart=/home/stanfish/scripts/system/fetch-emails.sh | ||
| # User= # set locally: User=your-username | ||
| ExecStart=%h/scripts/system/fetch-emails.sh | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
|
|
||
| [Install] | ||
| WantedBy=multi-user.target | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| output * bg /home/stanfish/Git/my-configs/img/space.jpeg fill | ||
| output * bg ~/.config/sway/wallpaper.jpeg fill |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ workspace_switcher.apply_to_config(config) | |
|
|
||
| config.window_decorations = "RESIZE" | ||
| config.background = { | ||
| { source = { File = "C:/Users/zhiyu/Desktop/Git/my-configs/img/dark-green-forest.jpg" }, opacity = 0.4 }, | ||
| { source = { File = wezterm.home_dir .. "/.config/wezterm/background.jpg" }, opacity = 0.4 }, | ||
| } | ||
| -- config.window_decorations = "INTEGRATED_BUTTONS | RESIZE" | ||
| -- config.integrated_title_button_alignment = "Left" | ||
|
|
@@ -353,7 +353,7 @@ domains.apply_to_config(config, { | |
| config.ssh_domains = { { | ||
| name = "greatlakes", | ||
| remote_address = "greatlakes.arc-ts.umich.edu", | ||
| username = "zyyu", | ||
| username = "username", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Setting the SSH user to the literal string Useful? React with 👍 / 👎. |
||
| } } | ||
|
|
||
| -- wezterm will automatically connect to unix mux server | ||
|
|
@@ -367,7 +367,7 @@ config.default_gui_startup_args = { "connect", "unix" } | |
| config.launch_menu = { | ||
| { | ||
| label = "greatlakes", | ||
| args = { "ssh", "zyyu@greatlakes.arc-ts.umich.edu" }, | ||
| args = { "ssh", "username@greatlakes.arc-ts.umich.edu" }, | ||
| }, | ||
| { | ||
| label = "msvc", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing
User=from this system unit makes the service run as root by default and changes%hinExecStartto root’s home, so it tries to execute/root/scripts/system/fetch-emails.shinstead of the intended unprivileged user script path. In this repo state,systemd-analyze verify linux/services/email.servicealready resolves the command to/root/...and reports it missing, so the service fails unless each machine patches the unit locally and otherwise runs with elevated privileges.Useful? React with 👍 / 👎.