4,181 reputation
41544
bio website lekensteyn.nl
location Netherlands
age 21
visits member for 3 years, 7 months
seen 7 hours ago

Former Kubuntu desktop user, now using Arch Linux. Open-source enthusiast, programmer.

Interests: network protocols, Linux kernel, server administration, Android, breaking & fixing stuff.


Jan
17
comment How do I remove a user from a group?
This "works", but only because you have a single secondary group. usermod -G newgroup11 abc2 will put you in the secondary group newgroup11. Since the primary group is abc2, you will end up in both groups. usermod -g abc2 abc2 results in newgroup11 being removed from the secondary groups because it is not mentioned anymore. So for three or more different groups, this method won't work. See the other answers involving gpasswd for a better command.
Jan
10
awarded  Nice Answer
Dec
31
revised grep invading my ps
corrected spelling, formatting
Dec
31
comment grep invading my ps
[my]process. would match mprocessX and yprocessY (since [my] is a character class which matches on of the letters m or y, and . matches anything).
Dec
23
answered How to set nginx for http and https
Dec
23
comment Is btrfs suitable as backup filesystem?
@wurtel The problem with --checksum is that you cannot really detect bitrot. The number of metadata changes (mtime, permissions, ...) and actual data changes will by far exceed that single file so manual inspection is not an option. So data checksumming (as provided by btrfs) is really necessary here.
Dec
22
revised Is btrfs suitable as backup filesystem?
added 84 characters in body
Dec
22
answered Does iptables protect from kernel vulnerabilities?
Dec
22
answered record contents of packets dropped in iptables
Dec
22
comment Is btrfs suitable as backup filesystem?
@StrongBad I do not disagree that subvolumes are an alternative worth to be considered, but replacing one (hardlinks) for the other (subvolumes) is no use if data can easily be lost. I have read that btrfs does a lot in the background. Will this make cause corruption issues when the machine locks up during a transfer, when the power/data cable breaks, etc. Are there certain options/pitfalls which make it more likely to lose data compared to ext4?
Dec
22
comment Is btrfs suitable as backup filesystem?
@kirill-a I did consider ZFS, but since it is not mainlined I am hesitant to use it.
Dec
22
comment Is btrfs suitable as backup filesystem?
@StrongBad a reliable free space indicator is definitely something where btrfs does not really excel. The question is however not about replacing hardlinks with subvolume snapshots, but rather the reliability of btrfs as filesystem for a backup disk.
Dec
22
asked Is btrfs suitable as backup filesystem?
Dec
10
comment How do I remove a user from a group?
vigr was already mentioned for editing /etc/group manually. My manual pages says that user names are separated by commas, not by colons. Rebooting is not necessary, you just need to re-login (or use newgrp).
Dec
8
awarded  Famous Question
Nov
29
revised Trying to read USB Audio Device, but /dev/hidraw0 is unavailable for reading
Fixed wrong interpretation of report
Nov
28
comment Trying to read USB Audio Device, but /dev/hidraw0 is unavailable for reading
@Charlie Can you obtain a packet capture as described in this post? Remove the USB device, start the capture, insert the device, wait for 3 seconds (such that is clear in the capture), press some keys, stop the capture and upload it.
Nov
27
answered Trying to read USB Audio Device, but /dev/hidraw0 is unavailable for reading
Nov
22
comment Minimal MTA that delivers mail locally (for cron)?
@gauteh I think you are better off with a more complete MDA such as Dovecot for that use case. You are free to patch femtomail for your use case though, and maybe even send a PR in case others are interested.
Nov
20
comment Minimal MTA that delivers mail locally (for cron)?
@gauteh That is already more advanced and probably not for use on a single-user machine. More features means larger code and a greater chance of bugs. What is your use case?