<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bharat Mediratta on Medium]]></title>
        <description><![CDATA[Stories by Bharat Mediratta on Medium]]></description>
        <link>https://medium.com/@bharatman?source=rss-7014521590af------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9ulCtG62B6qVUuQ4TmfmEg.png</url>
            <title>Stories by Bharat Mediratta on Medium</title>
            <link>https://medium.com/@bharatman?source=rss-7014521590af------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 04:09:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bharatman/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to pass on your data when you die]]></title>
            <link>https://medium.com/swlh/how-to-securely-pass-on-your-data-2cd35fbf1c0f?source=rss-7014521590af------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cd35fbf1c0f</guid>
            <category><![CDATA[loved-ones]]></category>
            <category><![CDATA[death]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Bharat Mediratta]]></dc:creator>
            <pubDate>Mon, 22 Jul 2019 22:19:56 GMT</pubDate>
            <atom:updated>2019-07-24T06:57:36.664Z</atom:updated>
            <content:encoded><![CDATA[<h4>Prepare for the inevitable so that your loved ones can have an easier time figuring out how to move on</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6TwwChKB_x939Uv1ftu7Tg.jpeg" /></figure><p>A friend of mine just lost her husband recently and suddenly. On top of the unbearable heartbreak of losing her best friend and lover, she’s now faced with the almost impossible challenge of following the digital clues to piece together parts of his life. His laptop is locked and she doesn’t know the password. She knows some of his other passwords, but not all. She can get into his phone, but he has a bunch of additional security that she’s not entirely familiar with. They haven’t been married long so she doesn’t know about all of his various assets. Where were the invoices for his consulting business? Or his tax forms? Is she liable for any of this? On top of all the other real-life stuff that she has to take care of right now, she has to be a sleuth to figure out all of his digital life.</p><p>There’s an uncomfortable truth facing us all: we’re going to die. And we’re going to leave behind people we love. We all hate to think about our own mortality, but it’s important to think about what our loved ones will do when we pass on. What are the simple things we can do <em>today </em>to set them up for success? I’m not talking about creating a will and trust, etc. even though that’s a good idea. I’m talking about how to safely pass on the digital controls to your life.</p><p>Over the past few years, I’ve ramped up my digital security to a high level and in a previous article, <a href="https://medium.com/@bharatman/a-letter-to-my-siblings-about-digital-security-part-1-589d65674fa3">I advised you how to do the same</a>. So hopefully by now, you’ve locked down your digital security like Fort Knox — nobody’s getting your data! Unfortunately, this level of security cuts both ways. Hackers can’t steal your data, but your loved ones can’t get to it either unless they know all your passwords and where it’s all located.</p><p>So, how do you keep your data secure <em>and </em>pass it on to somebody else? A small amount of preparation can set you and your loved ones up for success. I’m going to discuss some key things that you can do pretty quickly that will make a huge difference.</p><h4>First, create a document that outlines all your key assets</h4><p>The purpose of this document is to tell your loved ones where to <em>find</em> your assets. <strong>It’s important to note that this document should not contain any passwords or password hints! </strong>I can’t stress this enough. Without passwords, if somebody stumbles upon the document by accident, they may know where your resources are but not how to access them. Obviously, even without passwords, this is still sensitive information so you should keep the document secure, but it’d be fine for you to store it in your DropBox or other cloud storage that has password protection. We’ll talk about secure password storage in a bit.</p><p>Even simple notes in this document can be incredibly helpful. Don’t worry about formatting, just get some content down. A single word with the name of a financial institution can be a valuable starting point for somebody trying to unravel your finances so don’t worry about it being complete: just get started.</p><p>Once you’ve started it, let your loved ones know that this document exists and roughly where to look for it. Because it doesn’t have passwords in it, you can even print out a copy and store it in a safe at home, but be sure to keep the paper copy up to date or at least mention where they can find the digital copy. Be sure to securely shred old printouts!</p><p>What types of things should you consider for this document? Here’re some things to think about:</p><ol><li>The location of your will (and any trust documents, if you have them!) so that your assets don’t get hung up in probate.</li><li>A list of the financial institutions where you have resources, roughly in the order of importance.</li><li>Any life insurance policies you have, or other insurance (car, home, etc).</li><li>Where do you store your cloud data? Google Drive? Dropbox? A list of services can save a lot of time.</li><li>Details that you have that you think people will have a difficult time sorting out. Which of your computers has hard drives with useful data on them? What are the passwords to those drives, and where should people look? Where are the backups stored? Each bit of detail you add gives people a place to look.</li></ol><p>It’s important to note that <strong><em>this is a living document </em></strong>which means that periodically (say every year, or when you have life changes) you should scan it and make edits. It will take a few passes until it’s covering most of your information, but something is better than nothing.</p><h4>Second, consolidate all of your secret notes in LastPass (or some other password manager).</h4><p>Any time I have data that is secret, I store it in LastPass. This includes PINs, social security numbers, 2-factor rescue codes, etc. This is putting a lot of eggs in one basket, but it also means that your security exposure is limited. They’ll need your master password to get to any secure data. This is also why I commit my master password to memory and only write it down in one place (see below).</p><p>It may take some time to consolidate all of your secret data here. But keep at it. Slowly but surely you’ll increase your security.</p><h4>Third, find a really secure place to store your master password</h4><p>You should be storing all of your key passwords in a password manager like LastPass. That password database is going to be hugely valuable for whoever comes after you and it’s all secured by a single master password that you never write down anywhere, right? But if you don’t write it down then passing it on is tricky. Here are two options you can try:</p><p><strong>Option #1: Write it down and put it in a safety deposit box<br></strong>I have written my master password down in exactly one place: on a piece of paper that’s physically stored in a safety deposit box at my bank. I trust my bank’s security because they require keys, signatures, photo matching, etc. But even so, the piece of paper has no additional markings on it to indicate what the password is for.</p><p>If you don’t have access to a safety deposit box — and most people don’t! — start the process to get one <em>now </em>because in many places you may be on a waiting list for quite a while. They can be pretty cheap through a bank where you have a balance. Meanwhile, use option #2.</p><p><strong>Option #2: Use a memorable phrase and teach it to your partner</strong><br>If you read <a href="https://medium.com/@bharatman/a-letter-to-my-siblings-about-digital-security-part-1-589d65674fa3">my last post about digital security</a> you know that having a memorable phrase makes for a good password. Change your master password to a phrase that is easy to memorize and teach it to your partner, or somebody else that you deeply trust. Test them from time to time to make sure they still remember it.</p><h4>That’s it?</h4><p>Yes. If you just do the above few things, it will greatly increase the chances that your loved ones will be able to make heads and tails out of your life while keeping your data very secure.</p><p>There are of course many more things that you can do. Have a will! I can’t stress enough how big a difference a will makes. Most estate planning attorneys are familiar with all of this and can really help. Organize your data so that it’s easier to find. Create a trust and put all of your assets into it. All this stuff takes time (and money!) to set up, but if you chip away at it, you’ll get it done.</p><p>Finally, I’ll just highlight that Google has an <a href="https://publicpolicy.googleblog.com/2013/04/plan-your-digital-afterlife-with.html">Inactive Account</a> feature that you can use to pass your account on to somebody else after you die. Facebook has something similar, as does LastPass. They’re easy to set up and use, and I highly recommend it. Google’s was a little heartbreaking because it offers you a chance to write one final letter to your loved ones… but I like to think that they’ll have a final moment of joy when they read it.</p><p>I hope this helps. Suggestions or criticisms? Share them in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cd35fbf1c0f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/how-to-securely-pass-on-your-data-2cd35fbf1c0f">How to pass on your data when you die</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A letter to my siblings about digital security, part 1.]]></title>
            <link>https://medium.com/@bharatman/a-letter-to-my-siblings-about-digital-security-part-1-589d65674fa3?source=rss-7014521590af------2</link>
            <guid isPermaLink="false">https://medium.com/p/589d65674fa3</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[family]]></category>
            <dc:creator><![CDATA[Bharat Mediratta]]></dc:creator>
            <pubDate>Sat, 10 Nov 2018 21:26:20 GMT</pubDate>
            <atom:updated>2018-11-16T06:10:00.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCenyclrevGOmF4-leUHcg.jpeg" /><figcaption>My little man learning how to be the next generation tech guy!</figcaption></figure><p>Dear siblings,</p><p>I’m your brother, but over the years I’ve also been your tech guy. I’m the guy you go to when your laptop has a virus on it. Or your wifi isn’t working properly. Or you’re trying to figure out what product to buy. Over the years I’ve spent many a holiday visit in your home office, or kitchen, or in your basement happily fixing technical issues with a glass of whiskey while the rest of the family drank wine and caught up in another part of the house.</p><p>Truth be told, as an introvert, I’ve never really minded being the tech guy. I’m pretty used to coming to visit and after the pleasantries hearing “hey before you go, I’d like you to take a look at something for me.” It gives me a purpose and a way to apply my skills to bring value to the family. I live far away from the rest of you and it’s nice to feel needed when I’m in town.</p><p>Lately, consumer technology has gotten good enough that you don’t really need my skills the way you used to. Your children have grown up and taken on much of that responsibility. I like the fact that my nieces and nephews are the first lines of support when things go wrong- I am sure that even as they groan “what have you done now?” they are thinking “cool, I’m going to do something useful.” And as they say “omg, I can’t believe you installed that” or “why are you still using that outdated browser” they’re enjoying that moment of teaching you something. It’s a rite of passage that I enjoyed when I started teaching our parents about technology and I know how good it can feel.</p><p>But the world is changing. There are things that are going wrong that you might be unaware of. The problems that we’re all facing are getting more sophisticated and when they do finally go wrong, it may be too late for me to do more than help comfort you. The problems that you’re likely to face now are not about backing up your hard drive (please do this) or getting a modern router (also a good idea) or updating the firmware on your devices (talk to me about this and I’ll help you).</p><p>The problem that you’re going to face next is identity theft. And it’s a big one. And the best way to fix it is to never expose yourself to it in the first place.</p><p>There are many ways that a thief can steal your identity. And if you put on your tinfoil hat, there are endless ways that you can try to protect yourself from it. You can shred all your mail, and use fake names, and disposable email addresses. But those things are a pain and I’m not advising you to do that. Today, I’m just going to suggest one thing: use a different, secure password for every website, app, and service.</p><p>To understand why, allow me to tell you the standard horror story: One day, you get a phone call from a credit card company‘s fraud department. They’re verifying that you really are the person who just signed up for a credit card providing your name, address, and social security number. You tell them it’s not you.. but then you go digging. Somebody has been making repeated credit checks. Each of these is to open up an account in your name somewhere. You dig further. It’s been happening for six months. Over 50 accounts have been opened in your name. Digging your way out is endless. <a href="https://www.forbes.com/sites/laurashin/2014/11/18/someone-had-taken-over-my-life-an-identity-theft-victims-story/#2e8b505b25be">This is a real story.</a></p><p>Or perhaps one day, you’re about to use your iPhone and it powers down in front of you. You turn it back on again to find it is back to the setup screen. You try to restore from a backup, but your backups are mysteriously gone. You open your laptop to log into Gmail and your password is wrong. Then your laptop shuts down and asks for a 4 digit PIN. You don’t have a 4 digit PIN. You’re offline now, and somebody is ransacking your life, reading your email, resetting your passwords and taking over your digital identity. They’re trying to make progress on your bank accounts. They’re forging emails to your lawyer, your banker, your friends. <a href="https://www.wired.com/2012/08/apple-amazon-mat-honan-hacking/">This is also a real story.</a></p><p>Scary. But, there are a billion people out there. Why would you be a target? In the case of Mat Honan (the guy from the second story), he was a visible figure and he was chosen by attackers. But in many cases, attackers just use systems to attack many people at once and try to pick off the people who are the most vulnerable. So if you tighten up your security it makes it harder and they just move on to the next person.</p><p>So let’s tighten up your security a bit. The easiest, first step is to make sure that you use a different password for every website that you use. Why? In brief, it’s because if you use the same password on every website, then if one of those sites has low security and gets hacked and they crack your password — they can use it everywhere. And they will. They do it a million people at a time. Crack a weak website, decrypt hundreds of thousands of passwords, use the email address and password combination to see if it works anywhere else, compile a big database and when they have enough accounts for one identity, sell it on the black market.</p><p>If you already use different passwords everywhere- that’s awesome! But many people don’t because they just don’t have a good way to keep track of all the passwords, so they have one or two passwords, then maybe they have a few really secure ones for financial sites. I get it. That’s what I used to do. But now there are really easy ways to avoid that.</p><p>The first thing I recommend is for you to install a password manager. I like to use <a href="https://www.lastpass.com/">LastPass</a>. It’s free. Or you can get the premium version then it’s $24/year. LastPass and other systems are very simple. They store all of your passwords in a secure fashion (I can go into detail about how they do it, but for now just take that at face value) and they make it convenient for you to have a different password on every website.</p><p>Starting with LastPass is easy. Just install the browser extension. Every time you log onto a website it’ll pop up a little dialog saying “hey, do you want me to remember this password?”. All you have to do is say “yes” and you’ll have a database of sites and passwords. Then at some point, it’s going to start saying “hey, you’re using the same password on a bunch of websites” and you’ll have to do a little bit of work. In some cases, LastPass can automatically change your password for you. In some cases, you need to go to that website and change your password manually. Either way, LastPass will keep track of the new password and over time you’ll get more and more secure. Make absolutely sure that your Gmail and Apple accounts use unique passwords since most places let you reset your password through your email or your phone number.</p><p>You won’t know your passwords anymore. But that’s ok. All you have to remember is one master password for LastPass itself. I suggest that you avoid the gibberish passwords like “IG8o437qLQ9m” — who can remember that? Instead, use four random common words like “eggs iron trophy cable” and memorize that. It’s just as secure and will be easy to memorize. If you do write it down somewhere, put it in a safety deposit box and don’t label it. This one password will unlock all your other passwords.</p><p>LastPass is convenient. It will automatically fill in your passwords for you. It runs on your laptop. It runs on your iPhone. It can autofill apps as well as websites. It lets you share passwords with loved ones if you want to. And it’s an easy thing you can do <em>today</em> that can dramatically reduce your chances of getting hacked down the road. I encourage you to be proactive about this, it’s important.</p><p>Ok! That’s all for today. In future letters maybe I’ll talk about two-factor authentication, freezing your credit rating, and backups and more. But that’s for another day!</p><p>love,<br>your bro.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=589d65674fa3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automatically starting and stopping your VirtualBox VM]]></title>
            <link>https://medium.com/@bharatman/how-to-autostart-and-autostop-your-headless-virtualbox-guest-vm-on-a-debian-host-3ca7ede2380b?source=rss-7014521590af------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ca7ede2380b</guid>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[unifi]]></category>
            <category><![CDATA[systemd]]></category>
            <category><![CDATA[virtualbox]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Bharat Mediratta]]></dc:creator>
            <pubDate>Mon, 20 Feb 2017 01:45:01 GMT</pubDate>
            <atom:updated>2017-02-20T18:12:16.709Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been having a lot of trouble recently with my wifi. As a technologist, there’s nothing more embarrassing than having your friends come over and laugh at you when your wifi is broken — or worse, unreliable. There’s a much longer story where I upgrade my wifi to something awesome (namely, the UniFi access points from Ubiquiti)… but this part of the story is particularly about how I fought and won a tiny battle with VirtualBox. I’m detailing it here so that others can find it and benefit.</p><p>So let’s fast forward past the part where I install the UniFi Controller (which is an excellent piece of technology), and find out that my 32-bit Debian home router doesn’t let me enable a critical feature. Let’s fast forward past the part where I decide that I should try installing a 64-bit Debian guest virtual machine in a virtual container inside my 32-bit Debian host system. Let’s even fast forward past the part where I get VirtualBox set up mostly properly (replete with all kinds of traps, pitfalls that I either narrowly avoid, or spend hours wallowing in). I get it <em>installed</em> and I get it <em>running</em> and life is good.</p><p>But there’s a hitch. Now I’m running a machine-within-a-machine and the inner machine is in charge of my home wifi network. So it’s got to be reliable, otherwise refer above to: friends laughing at me. But sometimes the host machine has to be rebooted and when that happens, I need the guest VM to shut down cleanly and start up again cleanly. That should be simple, right? You’d think that VirtualBox would have this nailed down — but it turns out that they don’t.</p><p>After much trawling around the internet, the best solution appears to be to set your guest machine to <em>AutoStart</em> mode and use a service called <em>vboxautostart-service</em> to automatically start and stop the service. But unfortunately, the script that comes with the Debian VirtualBox package is not really designed well. It’ll start the service — if you follow the direction — but it won’t cleanly stop it. So if my host machine reboots, then the guest vm shuts down uncleanly.. and then the guest machine <em>might</em> not restart cleanly when I reboot. It’s also grossly over-engineered for my needs and thoroughly offends my engineering sensibilities.</p><p>After much Googling of the deep web and learning of the many clever things, I found that there’s a very simple way to do this on a per VM basis. I’m sharing that here in the hopes that it helps others.</p><p>It boils down to this:</p><h4><em>vboxautostart-service, get thee gone from my sight</em></h4><p>If it’s already configured as a service on your system, you can either leave it alone, or you can tell the system to ignore it with:<br><strong>systemctl disable vboxautostart-service</strong></p><h4>Then, create your shiny new service</h4><p>Let’s say that your guest VM is called <em>unifi</em> and you want to create a new service that starts your VM in headless mode.</p><p>In /etc/systemd/system create a file called <em>unify-vm.service</em> and put this in it:</p><pre>[Unit]<br>Description=<strong>Unifi</strong> VM service<br>After=network.target vboxdrv.service</pre><pre>[Service]<br>ExecStart=/usr/bin/vboxheadless -s <strong>unifi</strong><br>ExecStop=/usr/bin/vboxmanage controlvm <strong>unifi</strong> acpipowerbutton</pre><pre>[Install]<br>WantedBy=multi-user.target</pre><p>(I bold-faced the parts of the config that are specific to my UniFi setup, you’ll probably want to change those bits). This basically tells systemd how to start and stop a headless VM.</p><h4>Enable your service</h4><p>You have to tell <em>systemd</em> that there’s a new service with:<br><strong>systemctl daemon-reload</strong></p><p>and that you want want your service to start at boot time with:<br><strong>systemctl enable unifi-vm</strong></p><h3>That’s it.</h3><p>Your guest VM should shut down cleanly when your host shuts down. And when your host reboots, your guest should boot up with it. It’s a surprisingly easy process, and it should be fairly robust across upgrades. Share and enjoy.</p><h4>Technical mumbo-jumbo appendix</h4><pre><strong>VirtualBox:<br></strong>Version 5.1 for Debian</pre><pre><strong>Host</strong>:<br>Linux <em>redacted</em> 4.9.0–1–686-pae #1 SMP Debian 4.9.6–3 (2017–01–28) i686 GNU/Linux</pre><pre><strong>Guest</strong>:<br>Linux unifi-vm 4.9.0–1-amd64 #1 SMP Debian 4.9.6–3 (2017–01–28) x86_64 GNU/Linux</pre><pre><strong>Debian</strong>:<br>version 9 in both cases</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ca7ede2380b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>