Menu

postgres account visible in login screen

2007-06-28
2012-08-31
  • Matt Solnit

    Matt Solnit - 2007-06-28

    Hi there. PostreSQL for Mac is great, but one thing I noticed is that there is now a "postgres" account visible in the Login Window. Is there any way to get rid of this?

    Sincerely,
    Matt

     
    • Andy Satori

      Andy Satori - 2007-06-28

      There is. open NetInfo Manager, navigate to Users then Postgres and change the Shell to /usr/bin/false It should have defaulted to that, but in some instances does not. I haven't been able to isolate why though.

       
    • Matt Solnit

      Matt Solnit - 2007-06-28

      That did it! Thanks for the quick response.

      Sincerely,
      Matt

       
    • Matt Solnit

      Matt Solnit - 2007-06-28

      P.S. I'm very much a newbie to this stuff, but would adding the following to "postflight" fix it?

          sudo /usr/bin/niutil -createprop / /users/postgres shell "/usr/bin/false"
      

      -- Matt

       

Log in to post a comment.

MongoDB Logo MongoDB