Is there anything unique/special/magic about that first 501 account?

Is there anything unique/special/magic about that first 501 account (that is, the first account that is created when you run Setup upon boot-up)?

As long as you have other admin accounts, is it ok to remove admin priv from the 501 account (using System Preferences)? Is it ok to delete it completely?

From what I gather, there's nothing particularly special about the 501 account.

PB G4 17", Newton 2100, video iPod 30GB, 466 G4 Dig. Audio dual-boot, Mac OS X (10.4.2)

Posted on Dec 11, 2007 11:50 AM

Reply
8 replies

Dec 11, 2007 12:08 PM in response to Jason Kulas

Jason Kulas wrote:
Is there anything unique/special/magic about that first 501 account (that is, the first account that is created when you run Setup upon boot-up)?

As long as you have other admin accounts, is it ok to remove admin priv from the 501 account (using System Preferences)? Is it ok to delete it completely?

From what I gather, there's nothing particularly special about the 501 account.


When you use the terminal and need a password for sudo, it's usually the password for that first user's account.
Why would you want to remove it?
If your system is backed up with TM, will you be able to get anything back if you delete the primary account?
Your computer name is associated with that user's name. Lots of little things like your network name etc.
What will happen if you do need to restore files from a backup?
I don't have the answers but I would never even consider removing the primary account.

If you have some strong desire to remove it, I would suggest a clone bootable backup before doing so. Removing something is much easier than replacing it. That's entropy at work.

Message was edited by: nerowolfe

Dec 11, 2007 12:42 PM in response to nerowolfe

Why would you want to remove it?


I'm planning-out my setup. Can a user account become compromised and hard-to-salvage because of junk loaded into it and then it becomes easier to just save the files & blow away the account?

If user accounts can become messed-up, and if the 501 account matters...that would argue for NOT using the 501 account as your day-to-day user account. That way it would always exist, and always be clean & neat & functional.

Is it a good idea to avoid using the 501 as your day-to-day user account?

When you use the terminal and need a password for sudo, it's usually the password for that first user's account.


Hmmm...based on my reading, and actual use...if you're logged-in as an admin account, then sudo just wants the password of the account you're currently logged-in as. I've done this just fine with non-501 admin accounts.

If your system is backed up with TM, will you be able to get anything back if you delete the primary account?


I don't know.

Your computer name is associated with that user's name. Lots of little things like your network name etc.


Ah yes, true, I'd forgotten about that. I wonder what the system would do if you blew away the 501 (I'm pretty sure I saw posts from people that have removed it in the past and I think without terrible effects).

Dec 11, 2007 1:00 PM in response to Jason Kulas

There is nothing wrong with experimenting. But I still would suggest a clone bootable backup so that permissions don't matter when you restore it.
Why don't you go into System Preferences/Accounts and be sure that you have two admin accounts. Then disable the primary one and see what happens. Or change the main user's id to something other than 501.
You need to first unlock the padlock and then right-click the user name. You can then change many things that were unchangeable in earlier OSs.
Read the warnings. For example, if you remove the original account, will the padlock open with the new account? If not, then you need to get into the terminal and fix things.
If you simply disable autologin and only use the second admin account, why do you care what number the other one is?

A few other thoughts:
Do you have a .mac account or any other online accounts that are accessed by the 501 account holder? They may not be accessible any more. Not sure about email accounts or other things which may have to be reset to the new admin.
All the things that you setup as the original administrator under 501 are subject to change. Even your access to some files that are now tagged as belonging to 501. You would not have access to them until you changed them to your new uid.
It is worth it? Not to me.

Message was edited by: nerowolfe

Dec 11, 2007 3:09 PM in response to nerowolfe

If you simply disable autologin and only use the second admin account, why do you care what number the other one is?


The Leopard system hasn't arrived yet. I'm just trying to figure out, when it does, when I go through setup & create that first 501 user...should I use that user as my day-to-day account or is it smarter to create a second user as my day-to-day?

If the 501 is special in some way, that makes it seem like it could be smarter to use a second account for day-to-day usage. Then I can do anything I like to my day-to-day account, even delete it if I felt reason to do so. If there's nothing special about the 501 then I'd just use that account.

Dec 11, 2007 3:19 PM in response to Jason Kulas

There is nothing special about that account or the 501 UID. The password requested when you use sudo is that of the currently logged in account; non-admin accounts will be denied access unless the configuration of sudo has been changed. Other items, such as the computer's name, can be changed independently of that or any other account.

(26847)

Dec 11, 2007 3:21 PM in response to Jason Kulas

My $.02:

1. The computer name is irrelevant. It is easily changed by going to System Preferences > Sharing, and does not have to be associated with user 501.

2. sudo is irrelevant. All that matters for sudo is that the user invoking it is a member of the sudoers list ( man sudo, man visudo, man sudoers) and types his/her own password. The password for user 501 is only relevant if 501 is an administrator and is the user executing sudo.

3. For security reasons, your regular user should NOT be a member of the admin group. The admin user should be invoked only when needed for administrative tasks.

4. On Tiger, after setting up the computer and discovering to my horror that I was an administrator, I created a new user to be the administrator and then removed the administrative privileges from my regular, 501, user, as per point #3. I also noticed the odd glitch here and there, which may or may not have been imagined, may or may not have been unrelated, but also may or may not be due to application installers setting permissions assuming that 501 has administrative power.

Therefore, I recommend setting up your computer to make 501 be a NON-day-to-day administrative account, and create a new account for your day-to-day purposes. If that means changing the computer's name from the default named after your administrator, so be it. But don't fear deleting the 501 account, if you so desire.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is there anything unique/special/magic about that first 501 account?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.