Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    aiwww is offline Registered User
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Delete hidden user

    Hi,
    i`ve tried everything but nothing works when i try to delete de postgres user .
    - first ... list de users and then viewed its profile

    dscl . read /Users/postgres
    AppleMetaNodeLocation: /Local/Default
    NFSHomeDirectory: /Library/PostgreSQL8
    PrimaryGroupID: 401
    RealName:
    PostgreSQL Server
    RecordName: postgres
    RecordType: dsRecTypeStandard:Users
    UniqueID: 401
    UserShell: /usr/bin/false

    - so i tried ..
    sudo dscl . -delete /Users/postgres

    - but the user is still there ..
    - then .. i installed a package to use sudo userdel .. but nothing worked

  2. #2
    Giaguara's Avatar
    Giaguara is offline Chmod 760
    Join Date
    Nov 2002
    Location
    ~
    Posts
    9,487
    Thanks
    23
    Thanked 193 Times in 188 Posts
    How about simply uninstalling PostgreSQL if you don't need that any more?
    Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
    Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
    ~ Samuel Clemens | G's corner | Photos | Game Center, Goodreads etc (just ask)

  3. #3
    aiwww is offline Registered User
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile problem solved

    It happend after uninstalling postgres exactly for upgrade. I solved the problem. My user had no password (just used to press "Enter") ... after changing the password the sudo worked fine.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •