Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable autologin / single-user UNIX

Status
Not open for further replies.

Adji

IS-IT--Management
Jul 31, 2002
1
SE
Hi,
got a seriouse problem with my mac. My user profile is damaged. When logging on the computer locks (it seems) and all you see is a blue screen + the clock, monitor & sound settings in the corner. When hitting the 'command+alt+esc' I can see that the finder is starting multiple copies of itself. I found out that it's because a damaged profile (and I know that the other profiles work, sadly I didn't have the osx in autologin mode when this problem araused, I switched to it after!!) . There in lays the tricky part: How to disable the autologin in single-user mode (which is the only way I can do Anything on my computer)

I've got these steps to follow, they should work but there's more problems...
1. write '/sbin/fsck -y'
- this gives me this answere:
'* Root file system
*Checking HFS Plus volume.
*Checking Extents Overflow file.
*Checkling Catalog file.
Overlapping extent allocation (file 72245d)
Invalid sibling link'
Running the '/sbin/fsck' without the '-y' or several times does not change the outcome.

2. write '/sbin/mount -uw'
Here I'm given the answere:
'root_device on / (local, read-only)
revfs on /dev (local)'
I'm guessing that the outcome of this command is based on an fault result in the previouse command. Since something is wrong with the 'fsck' I can't get write permissions(?)

3. write 'cd /var/db/netinfo/'
to go to the map where netinfo is

4. write 'nicl -raw ./local.nidb/ alt sudo nicl -raw ./local.nidb/'
Execute the netinfo program

5. write 'cd localconfig/autologin/'
to switch to the right map to locate the autologin

6.write '-delete . username'
to delete the autologin of desired username
Here I get the reply 'Remove: Write Fail' I'm guessing due to the problems at point 1&2

7.write 'quit'
to exit netinfo.

8.write 'exit'

This operation should work, right? Then why doesn't it? And how do I fix it?
It all comes down to gaining write permission (I guess?)
Can anybody help me?! Have I lost my computer and/or everything on it?
Help, please!



 
What about booting from the CD.

Maybe that can help you get your data off before doing any more "playing"


As for stopping auto-logon. Hmmm. Maybe renaming the home directory of the user might stop auto logon.

Or can you disable the auto-logon user, using the niutil command.

These are all just guesses, unfortunately but hopefully something might give you a hint to the real answer.

Good luck [sadeyes]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top