How do I delete user name and password from startup drive?

I have a Seagate External Backup Portable drive with OSX 10.13.6 installed that I previously used for startup. Now it's asking for a user name and password for that drive to startup. The computer's user name/password nor any other name/password do not work. How can I delete/modify the user name and password for that drive to bypass this issue?

MacBook Pro 13″, macOS 10.13

Posted on Dec 7, 2023 7:47 PM

Reply

Similar questions

7 replies

Dec 7, 2023 9:28 PM in response to dba4951

On the external drive delete this file then restart from the external drive...


 /var/db/.AppleSetupDone


Once you've done that & you've restarted from the external, the computer starts and it's like the first time you used the machine, except all your data will still be there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

Dec 7, 2023 9:45 PM in response to dba4951

If you're booted from the Internal drive, can't you just use the Finder?


Oh, but if only the external is bootable then yes...


See if you can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
  5. Reboot by typing reboot then ↩ enter.
  6. Complete the setup process, creating a new admin account.


Be very careful to notice the spaces in those Terminal Commands.


Once you've done that the computer reboots and it's like the first time you used the machine, except all your data will still be there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

Dec 7, 2023 11:36 PM in response to dba4951

It's a hidden file so in finder, Press ⇧⌘. —the command-shift-period chord—to toggle the display of the hidden files, and the Library folder will then become visible in your home directory. And will become invisible, when you press that chord again.


In Finder's Menu, select Go menu>Go to Folder, and go to "/volumes". (no quotes)


Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.


Mine..

Macintosh HD

OWC Envoy Pro mini

SSD2

Update

Sonoma - Data

SonomaApplications

Macintosh HD - Data

BigSurApplications

SSD3aApplications


Add the external Drives name, SSD2 in my case...

If in terminal enter...


cd /volumes/SSD2/var/db

ls -a


Or...


rm /volumes/SSD2/var/db.AppleDiagnosticsSetupDone


If there's a space in the Volumes name then enclose the name in Quotes...


rm /volumes/"SSD 2"/var/db.AppleDiagnosticsSetupDone

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.

How do I delete user name and password from startup drive?

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