1,103 reputation
2827
bio website statystyka.net
location Warsaw, Poland
age 35
visits member for 2 years, 7 months
seen 17 hours ago

1d
awarded  Popular Question
Nov
21
awarded  Popular Question
Nov
6
comment Why does sudo su -l user -c bash fails to load user's environment?
sudo -u adam "command" works! I kind of assumed that under upstart's root sudo would lead to the same error as su. I still understand nothing, but I am grateful it works! Thank you!
Nov
6
asked Why does sudo su -l user -c bash fails to load user's environment?
Nov
4
awarded  Famous Question
Oct
22
awarded  Nice Answer
Oct
22
awarded  Notable Question
Oct
2
comment What is the reliable way of getting each user's .ssh directory from bash?
It is a default, that can be changed in /etc/ssh/ssh_config and sshd_config; at least on Ubuntu 14.04
Oct
2
comment What is the reliable way of getting each user's .ssh directory from bash?
Great answer with all the polishing that includes the awk magic (which I never truly understood)
Oct
2
accepted What is the reliable way of getting each user's .ssh directory from bash?
Oct
2
comment What is the reliable way of getting each user's .ssh directory from bash?
@mgjk No, I know how to do it on puppet. In fact I need this answer to write a bootstrapping script that sets up a puppetmaster on a LXC container :-)
Oct
2
asked What is the reliable way of getting each user's .ssh directory from bash?
Sep
16
accepted How can I deny internet access to all processes except the chosen ones?
Sep
12
comment How can I deny internet access to all processes except the chosen ones?
I have problem with my Ubuntu desktop, which runs entirely on the same logical machine. If you can give me a working way to modify cgroup settings (or other) for it so it uses different network settings than the rest of the computer so the network traffic can be separated, I'll accept it.
Sep
12
comment How can I deny internet access to all processes except the chosen ones?
Thank you! How can I restore the internet traffic? Will kernel reset the iptables when I restart the network interface with ifconfig eth0 down and ifconfig eth0 up?
Sep
12
asked How can I deny internet access to all processes except the chosen ones?
Sep
5
awarded  Popular Question
Aug
24
comment How much space would be freed by removing a btrfs subvolume?
I hope you know, that btrfs.wiki.kernel.org/index.php/Btrfs_mailing_list might be a better place to ask questions about the inner workings of the btrfs (or any other kernel component). If you get the answer please post it here as well. I'm curious about the answer myself.
Aug
19
awarded  Popular Question
Aug
14
accepted What privileges are needed to delete a read-only btrfs subvolume?