[-] Agility0971@lemmy.world 34 points 9 months ago

Your concerns are valid.

In my opinion the easiest solution, if you don't know what youre doing (or dont wanna care) would be to use exclusively an immutable distro. That would lock you out of tweaking the system, but also heavily limit any potential malware. This should be sufficient imo:

  • keep system up to date
  • dont run programs or commands from unofficial channels
  • have firewall enabled and running
  • make offline backups of user files
  • use immutable distro
12
submitted 1 year ago by Agility0971@lemmy.world to c/usa@lemmy.ml

[-] Agility0971@lemmy.world 18 points 1 year ago

no linux support, so no.

23

If you ever wanted to chroot into the generated initramfs here are the steps. I thought it was interesting so wanted to share.

mkdir -p /mnt/initramfs
cd $_
lsinitcpio -x /boot/initramfs-linux.img
mount --bind /proc ./proc
mount --bind /sys ./sys
mount --bind /dev ./dev
SHELL=/bin/ash chroot .
[-] Agility0971@lemmy.world 18 points 1 year ago

Drinking red wine

[-] Agility0971@lemmy.world 25 points 2 years ago

Lets order a tank. What is the destination? inhales Berlin

20
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/linux@lemmy.ml

Can someone explain why this would make the command wait forever? What is tee waiting for?

echo "test" | sudo tee newfile

What would be a scriptable workaround for such cases?

Edit: this command would not terminate in zsh. This works fine in bash tho.

9

Do anyone know how to disable the touchscreen on wayland? All I find is only relevant for x11

[-] Agility0971@lemmy.world 52 points 2 years ago

Just 9.99 per month

22
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/selfhosted@lemmy.world

I'm looking for a simple remote system monitoring and alerting tool. Nothing fancy. Do you know of any? Features:

  • monitors CPU, memory and disk space
  • can accept multiple hosts to watch
  • has some sort of alerting system
  • can be deployed as a single docker container
  • can be configured using a text file
  • configs can be imported and exported inside the docker compose file

I like uptime-kuma but it only records the uptime. Other containers I've found seemed to be overly complicated. They requires multiple docker containers for log aggregation etc...

[-] Agility0971@lemmy.world 17 points 2 years ago

This is such an odd thing to do... I really cannot see the benefits for the project doing this. Maybe those maintainers were payed for their work and sanctions prohibit paying them or something?

20

In every country there are several mobile service providers. And with current EU regulations no mobile provider can charge extra for traveling within EU. Mobile providers in my country are definitely more expensive that average European mobile plan. I was wondering, can I downgrade my current plan to only keep my current phone number and purchase a plan from a cheaper mobile provider in another EU country with unlimited data and just use roaming all the time since I'm in EU? What are your thoughts? Do you know about a cheap mobile data plan?

82
Deduplication tool (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/linux@lemmy.ml

I'm in the process of starting a proper backup solution however over the years I've had a few copy-paste home directory from different systems as a quick and dirty solution. Now I have to pay my technical debt and remove the duplicates. I'm looking for a deduplication tool.

  • accept a destination directory
  • source locations should be deleted after the operation
  • if files content is the same then delete the redundant copy
  • if files content is different, move and change the name to avoid name collision I tried doing it in nautilus but it does not look at the files content, only the file name. Eg if two photos have the same content but different name then it will also create a redundant copy.

Edit: Some comments suggested using btrfs' feature duperemove. This will replace the same file content with points to the same location. This is not what I intend, I intend to remove the redundant files completely.

Edit 2: Another quite cool solution is to use hardlinks. It will replace all occurances of the same data with a hardlink. Then the redundant directories can be traversed and whatever is a link can be deleted. The remaining files will be unique. I'm not going for this myself as I don't trust my self to write a bug free implementation.

27
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/linux@lemmy.ml

I've run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I've rebooted my system to make sure it was not an issue.

Edit: Solved Turns out the password were changed for root account but not my user account. I think the reason is that there are no password quality requirements on root accounts, but there are on the default account in ubuntu. Changing the password from root account passwd user worked fine.

30
while true; do; sudo pacman -Syu --noconfirm; done
1

It is common for companies to neglect financing in cyber security for a quick short term gain. And at the same time the laws are created such that an offensive hacker would be the criminal. By turning the law around the blame would be on the company for building insecure systems, just like it is right now companies get problems if they would create unsafe products for consumers.

What do you think would happen if laws would change in such a way, that gaining unauthorized access would become legal? Note that I've intentionally excluded permission to share sensitive information. Would love to read your responses and thoughts

4
Apple MacBook SSDs (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/hackintosh@lemmy.world

I've picked up an old MacBook air 2013 from trash without battery and ssd. I want to see if I can bring it back to life. Apparently Apple does not use standard SSD. Do you know about any adapters in the market that would make it possible to use a standard SSD? I don't want to spend money on non standard SSDs that works only on macs. I don't even know if it work even at this point.

[-] Agility0971@lemmy.world 21 points 2 years ago

Meh, screen angle is constant. Not impressed until it supports screens with a constant angular velocity.

[-] Agility0971@lemmy.world 94 points 3 years ago

It says it's scraped and not leaked

82
submitted 3 years ago by Agility0971@lemmy.world to c/privacy@lemmy.ml
[-] Agility0971@lemmy.world 21 points 3 years ago

Just using duckduckgo. I'm not happy with my search results as they heavily prioritize clickbait CEO blogs instead of showing official documentation / sources.

[-] Agility0971@lemmy.world 22 points 3 years ago

i disagree with the color of the text. too much contrast. may I suggest it being dark blue?

[-] Agility0971@lemmy.world 18 points 3 years ago* (last edited 3 years ago)

They didn't. LibreOffice devs wanted to provide support exclusively through Flatpak. Thus making native installations not supported. In stead of spending time on maintaining native package they just tell users to use Flatpak. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/46ZZ6GZ2W3G4OJYX3BIWTAW75H37TVW6/

view more: next ›

Agility0971

0 post score
0 comment score
joined 3 years ago