how to remove extra login names ?
On one of my MacBooks, I have 2 extra login accounts that show on the login screen every time I reboot.
I'm running Monterey 12.6.6 on this MacBook
How do I eliminate them?
thanks,
tom
Apple Intelligence is now available on iPhone, iPad, and Mac!
On one of my MacBooks, I have 2 extra login accounts that show on the login screen every time I reboot.
I'm running Monterey 12.6.6 on this MacBook
How do I eliminate them?
thanks,
tom
The login screen can show sharing-only accounts, but these don’t appear in the regular Users & Groups panel in System Preferences.
You can try to remove these accounts using the Terminal and the dscl (Directory Service command line utility) command. Here’s how to do it:
1. Open Terminal: You can do this by going to Finder > Applications > Utilities > Terminal.
2. List Users: Enter the following command to list all users:
dscl . list /Users
2. This will display a list of all user accounts, including system accounts. Look for the usernames that match the ones you want to delete.
3. Delete Users: If you find the usernames you want to delete, use the following command to delete them, replacing “username” with the actual username:
sudo dscl . delete /Users/username
3. You will be asked to enter your admin password as this command requires administrative rights.
Caution: Be very careful when deleting user accounts using Terminal. If you delete the wrong account, it could cause issues with your system.
After you’ve deleted the accounts, restart your Mac and see if they still appear on the login screen.
The login screen can show sharing-only accounts, but these don’t appear in the regular Users & Groups panel in System Preferences.
You can try to remove these accounts using the Terminal and the dscl (Directory Service command line utility) command. Here’s how to do it:
1. Open Terminal: You can do this by going to Finder > Applications > Utilities > Terminal.
2. List Users: Enter the following command to list all users:
dscl . list /Users
2. This will display a list of all user accounts, including system accounts. Look for the usernames that match the ones you want to delete.
3. Delete Users: If you find the usernames you want to delete, use the following command to delete them, replacing “username” with the actual username:
sudo dscl . delete /Users/username
3. You will be asked to enter your admin password as this command requires administrative rights.
Caution: Be very careful when deleting user accounts using Terminal. If you delete the wrong account, it could cause issues with your system.
After you’ve deleted the accounts, restart your Mac and see if they still appear on the login screen.
If these are standard user accounts and you no longer need them, you can delete them using the Users & Groups preferences. Here’s how:
1. Click the Apple icon in the top left corner of your screen.
2. Select “System Preferences.”
3. Click “Users & Groups.”
4. Click the lock icon at the bottom left of the window to make changes (you’ll need to enter your admin password).
5. In the left panel, select the user account you want to delete.
6. Click the “-” (minus) button below the list of users.
7. You’ll see a dialog asking what to do with the home folder for the deleted user. You can choose to save it as a disk image, leave it in place without deleting it, or delete it completely. Choose the option that suits you best.
8. Repeat this for the second account.
If these accounts are not standard user accounts, they might be guest accounts or sharing only accounts.
For a guest account:
1. In “Users & Groups,” select “Guest User.”
2. Uncheck “Allow guests to log in to this computer.”
For sharing only accounts:
1. Open “System Preferences” and then “Sharing.”
2. Select “Remote Login” or “Remote Management” and then remove the users from the “Allow access for” list.
Remember, always be sure you have a backup of any important data from these accounts before deleting them. After they are deleted, the data cannot be recovered.
Thanks, Nexus
That didn't work. I have no memory of exactly how this all got started. It was definitely to allow file sharing and one of the iMacs no longer even exists, the other is just a first name for a sharing login.
They no longer (if ever) exist in the Users & Groups dialog, so I can't delete them. My 2 newer Macs do not have them (which doesn't really mean anything but throughout the years I've done many migrations rather than clean installs and thankfully this login problem did not migrate).
I was hoping there was some terminal command I could use to delete them?
thanks for your input
Tom
Assuming you are the adminstrator, open System Preferences > Users & Groups, and delete the two accounts.
Remove them in Users & Groups. How did they get there? You create them in the same place you remove them.
Thanks, but no go. They are not listed in Users & Groups
tom
Thanks, Barney
But they are not in the Users & Groups...so nothing there to remove
Tom
VERY EXCELLENT
One of them is now gone. I'll keep fussing with it and will nail the other one as well.
thanks so much
tom
Thanks Nexus
BINGO
clean login screen again
cheers,
tom
how to remove extra login names ?