Can user accounts be deleted via Unix?

shonny62

Registered
I have a Mac computer at home that automatically logs in to my daughters user account. Apparently, there is an automatic log-in in her account that has conflicts because whenever the computer is turned on, after the gray apple screen, the screen turns totally blue.

I have tried booting up in safe boot (pressing shift key at startup)and get the following message:

darwin/BSD (Laurens-computer.local) (console)
login:

After typing any login, I get a line for typing password but nothing types in the line of password and I keep getting a fast message of incorrect password and the screen goes back to blue and then back to the same darwin line.

I have an administrator account on this computer and no combination of logins and passwords seem to work.

I have also started the computer with command key + s key and gets into single user mode and is in the root. From there, I do not know how to delete her user account to eliminate the problem as I am not able to get into the computer bypassing her automatic log-in.

Any suggestions on how to fix this problem? I do not have any startup disks for this computer as it was donated as a surplus from the school. It is a G3 operating on Mac OS X and I am not sure if the version is 10.3
 
Do you have the install discs?

I would first NOT delete the account but try other options like forcing teh setup assistant to reappear at boot
In single user mode

rm -f /var/db/.AppleSetupDone

reboot

If trying that, be VERY cautious as any typos (including enter in wrong place or a space too much) can delete things you didn't want to. Single user mode will load only US keyboard layout (in case it was any different for your physical layout). More of what happens with this setupdone http://discussions.apple.com/thread.jspa?messageID=6217971. Any files removed with rm, in command line or normal boot, will be GONE immediately, will not be recoverable, so extreme caution needed when using it (and I don't feel comfortable advising this topic late at night for this reason..)

this will keep the existing account so we can use the new account to recover files and access to the old account's data. (which I think will be better than deleting the users from command line at this point. Users folders are located at /Users/xx where xx is the username you want.)
 
I tried the suggestion:

rm -f /var/db/.AppleSetupDone

reboot

After reboot, the screen went blue again... any other suggestions?

Thanks!
 
Back
Top