|
#1
| |||
| |||
| generic folders appear instead of applications / netinfo utilities When i first installed OS X, my Dock was filled with folders where the apps should have been. also if i opened the applications window, i saw folders named e.g. Sherlock.app, instead of the sherlock application. I found a TIL that told me to remove some preference files from /Users/myuser/Library/Preferences, and it also suggested i boot single user and fsck. neither solution worked. i called tech support, they had nothing. then a friend guessed my problem: after installing the OS, it asks you to create an "owner of the computer" account. with lots of experience with solaris and linux, i assumed that they were saying root account. that is the first order of business after installing linux or solaris. i did not realize that the root account is completely hidden from the user, and that you are just making a user account with administrative rights. when i learned this fact, i reinstalled OS X and it worked. i then submitted to apple s OS X suggestions site that they disallow the user from naming this account root. Last edited by lethe; October 10th, 2001 at 06:02 PM. |
|
#2
| |||
| |||
| now my problem is this: i have installed several machines with OS X, and i want to try to restore the OS to working order by managing accounts. i have done similiar fuck-ups to other UNIX OSes, and the solution has always been to boot single user mode, and edit your system files, /etc/passwd, /etc/shadow, or whatever. it works quite well. i obviously can t fix OS X from the aqua session, because even though the machine will boot-up and auto-log me in, i can t launch the sys prefs app, so i can t manage any accounts. botting single user mode doesn t help, because although i can edit those system files, the OS doesn t use flat files when it is in multi-user mode. it runs the lookup daemon, which queries netinfo by default, and not flat files. so i boot up and login to the console. it can log in as root, but it is a root account with uid 500 or something, not uid 0, so i know that it is not the _real_ super-user account. i then start playing with the netinfo directories. i create a netinfo directory with all the keys and values as they appear on my working OS X install. i log in to aqua. no good. i still get no apps. i don t know what this means, but the apps in the dock are question marks instead of generic directory icons. they may have been question marks before on this machine, the folder icons may only have been on the first machine, but i m not sure. the next thing i try is to set lookupd to query flat files, instead of netinfo. the instructions to do this are in the lookupd man pages. i successfully changed lookupd s configuration, i think, so now i can add users simply by editing /etc/passwd, but i still get no apps when i log in to aqua. with UNIX systems, the policy is always "the GUI is OK when you need to see graphics, but for system administration, you need to know how to use the command line utilities, in case the GUI can t fix it." this has always been a successful policy with other unices, but so far i am stuck with OS X. reinstalling maybe the bests option even if i can fix it, because i may have screwed it up in ways that i can t anticipate. but i would still like to figure out how to get aqua to recognize my changes to the sytem configuration |
|
#3
| |||
| |||
| i have noticed on my working OS X system, that i can add a user using the niutil command utility, it works fine. i have to create his home directory and everything, but it works fine. i can login to Darwin through a telnet session, and i can login to aqua with this new user. however, if i open system preferences->users, this new user does not show up in my list of users. this suggests to me that there are gaps between darwin s config files with netinfo, and aqua. |
|
#4
| |||
| |||
| the solution to all my problems of many months ago is to boot single user, and use the nicl command. it can edit nnetinfo databases even though the netinfo daemons are not running. it would have saved me many hours if i had known about this one. so if you ever screw up your netinfo database, and can t login, boot single user mode and try the nicl command |
|
#5
| ||||
| ||||
| I did the same thing, installed osx and typed 'root' for my user name. And I agree, apple shouldn't let the setup program accept 'root'. My solution was to call apple. After several days of trouble shooting, the guy finally says 'so whats your login, anyway?' I re-installed, and all was good. Didn't think to edit the passwd files. |
|
#6
| |||
| |||
| it s nice to hear that i am not the only one who did that. i thought that OSX was giving us the choice to name the root user something else, but why would i want root to be anything else? i did it to 4 new computers at work, and then none of them worked. it was a good thing that we weren t ready to roll out OSX. furthermore, the symptoms that occur mislead me (applications appear as folders), because that is a known problem if some preferences get hosed. so i was trying to fix it that way. once i figured out what the problem was, it was easy enough to reinstall on my computer which has the OSes on seperate partitions. but then what was i going to do to the computers at work that had peoples work on the OS9 side? manually deleting OSX files did not work, because i guess i didn t get all the hidden files or something. it was terrible. i wish i had found this command. (it was somewhere in the mailing list archives of darwinfo.org). keep it handy! read man nicl and you can fix this if it ever happens to you. by the way kilowatt, all the vendors i looked at were back ordered for the combo drive, but i ll let you know how it works |
|
#7
| |||
| |||
| in theory, testuser, those commands would be exactly what is needed. however, when you boot to single user mode, none of the netinfo daemons are running, so attempting to run niload or nidump or niutil fails. this is the kernel of my problem. |
|
#8
| ||||
| ||||
| lethe, Its worth noting here that the root user isn't renamed. The user you create on start up is in the wheel group. So it has some root-like attributes, but its not root. And if you look at the process running, you'll see that many are run by root. to set the password for the root user, there are two ways: 1) open the terminal as the user you created on install, or any other admin user. type sudo passwd root enter *your* password now enter your desired root password. 2) the netinfo manager way: Launch the Netinfo Manager, located in /Applications/Utilities/ Once inside, go to the Domain menu, select the Security sub-menu, and choose "Authenticate". Type your password here. Next, go to the Domain menu, seelect the security sub-menu, and then select 'Enable root user'. there ya have it, to change root's password, just select 'change root password' from the same sub-menu. you might think this is a security issue, but every admin on the computer is allowed to sudo. So just choose with care which users are granted admin status, and all should be fine. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SHUTDOWN without warning SCARY!! | astro_sk | Mac OS X System & Mac Software | 10 | May 16th, 2003 02:45 PM |
| NetInfo Manager hosed | scruffy | Mac OS X System & Mac Software | 0 | April 28th, 2001 02:22 PM |