hasakl tech tip
need to do some dev stuff that needs capabilities like binding to a privileged port, or managing wireguard interfaces, without using sudo (because you don't trust your program not to fuck up root access. also it's security)?
systemd-run can do it (systemd-run can do literally anything. you'd be surprised)
systemd-run --pty -S -pAmbientCapabilities=CAP_NET_ADMIN -pUser=$USER -pGroup=$USER
systemd-run creates an ephemeral unit
--pty hooks it up to the current terminal
-S starts a shell as the process
-p sets a property
AmbientCapabilities=CAP_NET_ADMIN gives the unit the CAP_NET_ADMIN capability. you may also be interested in stuff like CAP_NET_BIND_SERVICE and CAP_NET_RAW
User=$USER and Group=$USER runs it under your actual user instead of as root
@devurandom isn’t navalny kind of fascisty but in different ways to putin? not sure about the wider movement though and not educated enough about ruspol
@deletescape i just got purplewashed by apple in lieu of a pink colour option for iPhone 12 mini,,, got a ridiculously cheap contract deal tho so kind of justifying it to myself that way
Mutual aid request, laptop needed, financial help for disabled person
I have been unable to get my desktop repaired and so I need a laptop
I know I retooted like 7 days ago from an older post, but I am desperate
It's a quality of life thing for me as I am housebound most of the time, pandemic or not
My PayPal is firstname.lastname@example.org
re: tillie psa
@deletescape sorry to hear about all this, hope you stay safe... (offers hugs)
i'm in a fvey country so iffy but hopefully will be alright since we've not really chatted in depth about anything sensitive before
in case you aren't able to post again, wishing you all the best and take care <3
The eighth annual international Gender Census 2021 is now open until 10th March!
It's for anyone whose genders (or lack thereof) aren't described by the M/F binary. It's short and easy, and the results are useful in academia, business and self-advocacy.
writing code nobody asked for since 2009 🏳️🌈🏳️⚧️🇬🇧🇪🇺 (she/they, demi) (elsewhere, thejsa[_])