Activity for matthewsnyderâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Question | — |
How do you eval SSH agent output in fish? SSH agent prints some envar commands for sourcing in a shell. However, these are bash-style, and I use fish. Fish barfs at the bash syntax. How can I fix it? (more) |
— | over 1 year ago |
Edit | Post #289383 | Initial revision | — | over 1 year ago |
Answer | — |
A: SSH key added to agent, but keeps asking for password After some digging, I was able to figure out the problem. I actually have multiple keys. In Kwallet, I noticed that one of them has the wrong passphrase. So looks like I put the passphrase of Key X for both keys X and Y, and now Y is failing (because that's the wrong passphrase). It looks like Kwalle... (more) |
— | over 1 year ago |
Edit | Post #289382 | Initial revision | — | over 1 year ago |
Question | — |
SSH key added to agent, but keeps asking for password I have my key added to `ssh-agent` and they show up in `ssh-add -l`. When I try to actually SSH to a host that requires the key, I still get prompted for a password. I enter it again and again and it seemingly refuses to cache it. Frustratingly, this configuration is copied between several compute... (more) |
— | over 1 year ago |
Comment | Post #289380 |
Of course, you would still have the secure erase problem if you leaked the key, because you can no longer consider the cryptodisk secure.
I get that there is variation between hardware implementations. For that matter, same could be said for magnetic HDDs. But at the end of the day, I doubt all th... (more) |
— | over 1 year ago |
Edit | Post #289378 |
Post edited: |
— | over 1 year ago |
Edit | Post #289378 | Initial revision | — | over 1 year ago |
Question | — |
How to securely erase data from a thumb (solid state) drive How do you securely erase data from a thumb (USB/flash) drive? With traditional (magnetic/spinny) hard drives, it used to be that you could use various tools to simply overwrite with random data, and make it unrecoverable. You even have tools like `shred` that can do it for a specific file. Man... (more) |
— | over 1 year ago |
Edit | Post #289354 |
Post edited: |
— | over 1 year ago |
Comment | Post #289354 |
Let me edit the answer. I figured the cache would be easy to figure out from what I posted, but sounds like it's not. (more) |
— | over 1 year ago |
Comment | Post #289354 |
Honestly, I've ran into such issues with it as well. It seems like `xdg-open` is supposed to be the final word, but sometimes isn't. I despise this tool for that reason, but we seem stuck with it.
The file associations are actually cached, and I think after changing one you also have to reload the... (more) |
— | over 1 year ago |
Edit | Post #289370 | Initial revision | — | over 1 year ago |
Question | — |
What does Gnome Disks "erase" do? When formatting drives with Gnome Disks, there is an option to "Erase". The help text says this takes longer, but "completely" erases data. What exactly does this option do? Is there a CLI equivalent to it? (more) |
— | over 1 year ago |
Edit | Post #289354 | Initial revision | — | over 1 year ago |
Answer | — |
A: How to change the default app for opening directories in Gnome? I don't use Gnome, but I'm guessing it relies on `xdg-open` to figure out what program to use. Your first step would be to do `xdg-open ` to see if it uses the same incorrect program. If so, great - you can troubleshoot xdg-open. If not, Gnome decided to write their own file association resolver t... (more) |
— | over 1 year ago |
Edit | Post #289302 | Initial revision | — | over 1 year ago |
Question | — |
How to let systemd user unit see keys in SSH agent? I have a script that does `git fetch` for a repository. When I run this in my shell it works fine. I want to run it in a systemd user unit. However, I am using an SSH url, and the systemd unit fails with `fatal: Could not read from remote repository.'` (Git exit code 128). This is probably beca... (more) |
— | over 1 year ago |
Edit | Post #289301 | Initial revision | — | over 1 year ago |
Question | — |
Starts systemd service and follow log I can start services with `systemctl start`. I can see logs with `systemctl status` or `journalctl`. But by the time I run the second the process has already started. I'd like to `start` a service and immediately be dropped into the live log from it, similar to `docker run` for example. How can I do ... (more) |
— | over 1 year ago |
Comment | Post #289300 |
And furthermore, systemd should be destroyed. :) (more) |
— | over 1 year ago |
Edit | Post #289300 | Initial revision | — | over 1 year ago |
Question | — |
How to create systemd unit that depends on a website being up? I'm going to write some systemd services. All of these can only be run if a certain website is up. I thought I could create a `/.config/systemd/user/website.service` this: ``` [Unit] Description=Confirm that example is up Wants=network-online.target After=network-online.target nss-lookup.targe... (more) |
— | over 1 year ago |
Edit | Post #289227 | Initial revision | — | over 1 year ago |
Question | — |
GUI apps stop working until next boot after some system upgrades My system occasionally has an issue that looks like this: I run `pacman -Syu` Many things get updated Many GUI apps (including all display managers and Xorg) start refusing to run and throw up OpenGL errors, if I try to restart the display manager I get stuck in TTY with no GUI At next rebo... (more) |
— | over 1 year ago |
Edit | Post #289201 | Initial revision | — | over 1 year ago |
Question | — |
What does the "Valid" column mean in the output of "faillock"? I was looking into unlocking my login after too many incorrect password attempts. I found this post about it. Doing `faillock -user $(whoami) --reset` did indeed unlock the login. However, what exactly is the output of `faillock` and how do I interpret it? When I ran it while I was locked out, ... (more) |
— | over 1 year ago |
Edit | Post #289105 |
Post edited: The answer is very different for not-gnome |
— | over 1 year ago |
Edit | Post #289140 | Initial revision | — | over 1 year ago |
Question | — |
How to change keyboard layout without a DE? I am running X on Arch Linux without a desktop environment, only i3. Sometimes I need to switch between typing in different languages. How do I switch my keyboard layout? (more) |
— | over 1 year ago |
Suggested Edit | Post #289105 |
Suggested edit: The answer is very different for not-gnome (more) |
helpful | over 1 year ago |
Edit | Post #289138 | Initial revision | — | over 1 year ago |
Answer | — |
A: How can I change the timeout after too many incorrect login attempts? This appears to be set by the option `unlocktime` in `/etc/security/faillock.conf`. (more) |
— | over 1 year ago |
Edit | Post #289137 | Initial revision | — | over 1 year ago |
Answer | — |
A: Increase incorrect login attempts before locking account This appears to be set by the option `deny` in `/etc/security/faillock.conf`. (more) |
— | over 1 year ago |
Edit | Post #289136 | Initial revision | — | over 1 year ago |
Question | — |
How can I change the timeout after too many incorrect login attempts? When I enter the login password incorrectly 3 times, my computer locks me out from attempting a login for 10 minutes. How can I change the timeout? (more) |
— | over 1 year ago |
Edit | Post #289135 | Initial revision | — | over 1 year ago |
Question | — |
Increase incorrect login attempts before locking account When I enter the login password incorrectly 3 times, my computer locks me out from attempting a login for 10 minutes. How can I increase the number of attempts? (more) |
— | over 1 year ago |
Edit | Post #289037 |
Post edited: |
— | over 1 year ago |
Edit | Post #289037 |
Post edited: |
— | over 1 year ago |
Edit | Post #289037 | Initial revision | — | over 1 year ago |
Question | — |
How do I set up my own DNS on my LAN, with delegation of public domains? I want to have a local DNS server on my home LAN, say at `192.168.1.123`. All of my machines will use `192.168.1.123` as their only DNS server when connected to my home network. By default, my DNS server will process requests by checking them with a public DNS service on the internet. I am plannin... (more) |
— | over 1 year ago |
Edit | Post #289026 |
Post edited: |
— | over 1 year ago |
Edit | Post #289026 | Initial revision | — | over 1 year ago |
Answer | — |
A: Copy to clipboard from terminal with Vim bindings Vim has multiple "registers", which in modern parlance is multiple internal clipboards. By default, `y`ank sends to an anonymous register, which is separate from the clipboard. However, you can make it send to other registers. The registers `` and `+` in particular are interesting, because they ha... (more) |
— | over 1 year ago |
Edit | Post #289025 | Initial revision | — | over 1 year ago |
Answer | — |
A: Copy to clipboard from terminal with Vim bindings I use kitty as my terminal, which allows you to map a key for copying any text from the screen to the keyboard. The text is selected by pressing some hint keys, similar to the Vimium extension. It's quite flexible but I mostly use "copy line" and "copy word". This just works with clipboard manager... (more) |
— | over 1 year ago |
Comment | Post #288934 |
I consider them whitespace. (more) |
— | over 1 year ago |
Comment | Post #288970 |
@#63646 Evidently, Docker Desktop (which is probably what you would use on windows) supports both: https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers Either should work. You should skim the instructions for both and see which one is easier.
I don't have much experience with Doc... (more) |
— | over 1 year ago |