WSL-Hello-sudo
wsl-distrod
WSL-Hello-sudo | wsl-distrod | |
---|---|---|
7 | 27 | |
1,155 | 1,815 | |
- | - | |
0.0 | 0.0 | |
12 months ago | about 1 year ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WSL-Hello-sudo
-
Quick Tip: Enable Touch ID for Sudo
Well, `sudo` is a *nix binary, so Linux and macOS are your most popular options here.
Fingerprint authentication for sudo was enabled by default on my Manjaro install after I enrolled a fingerprint so I guess popular Linux distributions configure it automatically. If yours doesn't, try the configuration methods on this page: https://wiki.archlinux.org/title/fprint or here: https://askubuntu.com/questions/1015416/use-fingerprint-auth... or consult your operating system's documentation.
The big difference is that you need "pam_fprintd.so" instead of "pam_tid". On Ubuntu (or derived, probably), running "sudo pam-auth-update" will allow you to configure fingerprint authentication without needing to manually edit system files.
Do note that if you use a more exotic window manager, any fancy visual sudo prompts may not know how to deal with such a system.
If you're on Windows and want WSL with Windows Hello, there's this tool: https://github.com/nullpo-head/WSL-Hello-sudo which is a PAM library that will call into Windows Hello from WSL. Windows Hello should in turn support your fingerprint reader or other biometric authentication system configured for your PC.
-
WSL Hello Sudo: Face Recognition of Windows Hello on Windows Subsystem for Linux
What kind of prompt is this? It looks like Windows Terminal running Bash, but are the icons PNGs (windows + home), or a specific type-face rendering emoji?
https://github.com/nullpo-head/WSL-Hello-sudo/blob/master/de...
-
Use Touch ID for Sudo on Mac
Similarly for WSL2 using Windows Hello:
https://github.com/nullpo-head/WSL-Hello-sudo
- WSL-Hello-sudo - sudo by face recognition of Windows Hello on WSL
wsl-distrod
-
Arch in WSL
Systemd works even in the non-store Windows 10 using https://github.com/nullpo-head/wsl-distrod
-
Should I be creating a WSL "install" for each project?
In case you're using an older version of WSL that doesn't support systemd, you can give Distrod a try.
-
Losing everything due to WSL corruption?
It uses snapd (so in turn, systemd) so maybe that's what you missed. Up until the WSL update that brought systemd support I've been using distrod to have systemd in my WSL2 distros so it went all smoothly for me.
-
wsl-archlinux-manager: An efficient & easy strategy to install and manage Arch Linux instances on WSL.
I use distrod to get a wsl instance of Arch running. It's nice to have (some) systemd functionality with it ;)
-
I finally got arch linux working on windows 11(WSL2) By using docker.
You don't need Docker Desktop to install Linux distros as your WSL2 systems. For Arch there's https://github.com/yuk7/ArchWSL and if you want systemd too then use this one instead https://github.com/nullpo-head/wsl-distrod/ (not specific to just Arch). Also any OCI compliant rootfs tarball goes really, you can use Docker or Podman to export images as tarballs & import them as WSL distros and vice versa. Just telling in case all you want is a distro and not a container engine like Docker running.
-
How to install robo3t on Ubuntu WSL, Windows 11
You can install the snap version if you have snap running (duh) so, I recommend you to either add systemd to your Ubuntu or make a new Ubuntu installation, both with this one: https://github.com/nullpo-head/wsl-distrod/.
-
Cannot install WSL UBUNTU 22 in windows 10
Not sure on the specifics for why it won’t install for you, but I’d recommend trying a tool called distrod regardless. You can get Ubuntu Jammy with it and it makes the distro support systemd.
-
WSL2 with no network connectivity
Install the resolvconf package and write the nameserver etc lines into /etc/resolvconf/resolv.conf.d/base file instead (or depending on your needs, use systemd by using a tool like Distrod and edit /etc/systemd/resolved.conf instead).
-
Install minikube with podman and CRI-O on wsl2 / Windows 11
I used Distrod tool to install WSL that has extra features like systemd, auto-start and port forwarding ability.
-
Now you can even replace systemd with Emacs
https://github.com/nullpo-head/wsl-distrod I use this at work with Gentoo and it's worked fine.
What are some alternatives?
pam-watchid - PAM plugin module that allows the Apple Watch to be used for authentication
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
sekey - Use Touch ID / Secure Enclave for SSH Authentication!
genie - A quick way into a systemd "bottle" for WSL
sudo-touchid - A fork of `sudo` with Touch ID support.
easyWSL - Create WSL distros based on Docker Images.
rdpwrap - RDP Wrapper Library
ArchWSL - ArchLinux based WSL Distribution. Supports multiple install.
pam_reattach - Reattach to the user's GUI session on macOS during authentication (for Touch ID support in tmux)
WSL2-Linux-Kernel - The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
pam-duress - A Pluggable Authentication Module (PAM) which allows the establishment of alternate passwords that can be used to perform actions to clear sensitive data, notify IT/Security staff, close off sensitive network connections, etc if a user is coerced into giving a threat actor a password.
arch_linux_wsl2 - Installation instructions for Arch Linux in WSL2