yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

User Default Image


4m read
·Nov 3, 2024

Hey guys, this is Mids, and one today I'm going to be teaching you about the user default image. You might not understand what this says; in fact, it's okay to not understand what this is because it's quite misleading by its name. Image is not like a graphical image; it's a set of files.

When I say "user default," I mean the default of a user. So when I put this all together, I mean when you create a new user account on your Macintosh computer running Leopard, Tiger, or Panther, or even whatever came before that. When you create a new user, it creates a home folder for them, and then inside of it is sites, library, desktop, documents, pictures, photos, etc.

Well, how does all that stuff get there? You might think maybe they spent their time hardcoding it into the code, but why would they do that when they could just put the files on your computer? They did put the files on your computer; in fact, there's a simple folder on your computer that has a default image of what a user is.

So right now, if I go into Finder—and I'm just going to be using Finder to demonstrate because you can't really do it through Finder this way—you go to Macintosh HD, then System, Library. Okay, you have to open Library, then you want to open User Template.

Now, you cannot read this, even as an administrator; you have to be root, so we can't go any further from Finder. If you try to double-click it, it just doesn't let you. So what we're going to do is we're going to open up Terminal.

Okay, next, we're going to type the following command: sudo -s and hit Enter. Now we're going to type our password. Now, please note that you must be an administrator to do this, so if for some reason you aren't, please watch no further because you cannot continue. Or you can watch our video—I'm going to put an annotation up right now on how to enable root on your Mac.

Okay, so now that you're an administrator and you're logged in as root now because you typed sudo -s, you want to type the following command: mkdir ~/username/Desktop/user_template all in one word. Now hit Enter. Now, Alex is my username, but when I typed my username for the first time, I typed Alex neck.

So if you're in a regular terminal window that you just opened, all you need to do is type whoami and hit Enter, and it prints out your SIMP—that's your actual username, not your long username. So now that I've done this, there's a folder on my desktop called user_template.

So now what I want to do is I want to type rsync -av , then I drag that in, then I type ~/username/Desktop/user_template again with no spaces in it, and you hit Enter. Now it's copying all this stuff right over. Right now, you want to type chmod 777 ~/username/Desktop/user_template/*.

Then you want to type that whole command again /* and keep on doing that until it says "no such file or directory." It'll take longer and longer the more / stars you add, but keep on doing it until it says "no such file or directory."

Great! So it says "no such file or directory." So for me, I had to do about six / stars, so now I'm going to keep this terminal command open for easy use. So now on my desktop, I have this folder called user_template, and if I open it up, right here's this folder called user_template. If I open this up, right here's all the stuff.

If I open user.template, I can just preview it; it's zero bytes, so that's too bad. Here is non-localized, which means it's sites in there and library in there. It doesn't, in fact, have preferences in it right now, and it gathers more preferences from other users when it actually does this.

So if I do a "Show Package Contents" to this user template, here is the actual home directory. Documents has no items, pictures has no items, public has one item, in fact, Dropbox, Library—10 items. Now that's pretty nice. Preferences has two items inside because things are registered to go in there.

In movies and music, it also has the icons and hidden files, which I'm not going to show you. So this is the user template folder. Also, if you want to mess around with this but you're not an administrator and for some reason you can't enable root on your Mac, which is okay, I will upload a zip file of this user template from my Leopard machine onto macasone.com.

Shortly, in the description of this video, there should be a link to download that image of the user template so that way you can check it out without messing around with it and doing all this terminal stuff.

So, thank you for watching. Mids, and please subscribe to our videos. It really helps us out. If you subscribe, then we can make more cool videos and find out more cool stuff. Goodbye!

More Articles

View All
SHARK MURDER and MORE. IMG! episode 8
The only thing scarier than this picture is this picture. It’s episode 8 of IMG. I just recently found these shirts and I love them. They come in pairs and they’re battery powered. When you’re far away from the person wearing the matching shirt, your hear…
How I made $136,474.43 in 30 days as a Real Estate Agent
What’s up you guys, it’s Graham here. So I ended up getting quite a few comments on my income breakdown video for one month in particular, and that was in April of 2017, where my income that month was a hundred and thirty-six thousand four hundred and sev…
Grand Canyon Adventure: The 750-Mile Hike That Nearly Killed Us (Part 1) | Nat Geo Live
What we’re gonna do tonight, Kevin and I are gonna take you on an unusual and somewhat remarkable journey through a remarkable place, the Grand Canyon. But before we do that, we felt it’s important to get a little bit of an idea of how we know each other,…
Additive and multiplicative relationships
We are told that Miguel and a group of friends play soccer during recess each day. More students join them to play. The table below shows the relationship between the number of students joining Miguel and his friends and the total number of students playi…
When the functions of money break down: Hyperinflation | AP Macroeconomics | Khan Academy
So in the last video, I was talking about various functions of money. You know, the first was that it’s a medium of exchange. If you want to trade for things, typically you give someone money, and they give you the thing, rather than trying to barter, tra…
My Sister Got Malaria ....(And I Didn't) - Smarter Every Day 167
Video about global health issues. Now, here’s the deal: when you think about—let’s make a video about global health issues—you think about statistics and numbers and like money, or you think about your sister who served in the Peace Corps in Sub-Saharan A…