-
Notifications
You must be signed in to change notification settings - Fork 0
fix: redact HPC username and remove hardcoded home paths #79
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 |
|---|---|---|
| @@ -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 |
|---|---|---|
|
|
@@ -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.
Replacing the real account with 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.
Commenting out
User=changes this from an unprivileged user service to running as root in the system manager, which also changes%hto root’s home and makesExecStartresolve under/rootrather than the intended account. On hosts where the script is in a normal user home, this will fail to start and also broadens privileges unexpectedly.Useful? React with 👍 / 👎.