Menu

After the install

Help
kalikkalik
2005-06-08
2012-08-31
  • kalikkalik

    kalikkalik - 2005-06-08

    On Tiger, I notice that I now have two accounts at my login screen...the one I created by installing Tiger, and one called "postgres", even though there are no such accounts listed in the "Accounts" pref pane.

    How do I get rid of this?

     
    • Andy Satori

      Andy Satori - 2006-02-11

      Yes, though it's not in the installer yet.

      In NetInfo, find the Postgres user, and add the key shell with the value /usr/bin/false. Once that is done, you'll have to reboot and then chown -R postgres:postgres /Library/PostgreSQL8/data as well as chown -R postgres:postgres /Library/PostgreSQL8/log. If you want to be able to view the log at anytime, you'll also want to chmod the log accordingly.

       
    • Roger

      Roger - 2005-12-24

      If you open the Netinfo program (in the utilities folder in your program folder) and click on "users", then you'll see postgres listed. Here you'll see many more users that you don't see in the accounts preference pane. I suppose there you only get to see users that are persons.

       
    • Nicolas Mommaerts

      I have the same, rather annoying, problem. I did some Googling and found a site where it is said that all users with a UID below 500 are not shown on the logon list. Looking at the users with Netinfo this looks correct, except for the Postgres user (which has an id of 401 on my machine). So it shouldn't show up, but it does. Which leads me to the conclusion that something is done when installing Postgresql using this package...

       
    • Nicolas Mommaerts

      Something is done wrong I meant to say of course

       
    • Andy Satori

      Andy Satori - 2006-01-24

      Well, I'm still trying to figure out exactly what the issue is, though I have an idea. What it's doing was fine on Panther, but with tiger it shows up on the list, and I haven't found the detail of why.

      Now to the idea, I susect that it's because when the install script creates the user in netinfo ( it does this from the command line, using the first id above 400 that is available ), it sets a home directory (/Library/PostgreSQL8) so that you can su to the postgres user to make changes to the configuration files in /Library/PostgreSQL8/data that are owned by the postgres user. If you have suggestions, I'm all ears, because this problem has bugged me since I saw it in the first Tiger developer releases.

      If we can isolate this, I'd really like to get it fixed for the next release, as my Intel iMac should be here in the next few days to do final Intel testing.

       
    • Nicolas Mommaerts

      Any updates on this issue?

       

Log in to post a comment.

MongoDB Logo MongoDB