Remove unwanted user, group and ID.

Can this be posted as a user tip in my name? I am unable to post to user tips.
After a recent aborted MacPorts install on OS X 10.5.8 I followed MacPorts uninstall instructions at:
http://guide.macports.org/chunked/installing.macports.uninstalling.html
The uninstall worked well except that I was left with a user called 'macports' with ID 503 which showed up when adding a user in Get Info or using AppleJack. I was not able to remove this user in System Preferences/Accounts nor add another user with the same name.
I eventually discovered that this could be resolved by removing the following as root:
/private/var/db/dslocal/nodes/Default/users/macports.plist
/private/var/db/dslocal/nodes/Default/groups/macports.plist
This has removed MacPorts and ID 503 from Get Info and AppleJack and I can now create a new user called MacPorts in System Preferences/Accounts despite the remaining historic entries in /private/var/db/dslocal/indices/Default/index.
I assume this will work in non-MacPorts situations where the user cannot be removed in System Preferences/Accounts.
This will probably work in all versions of Leopard and some later OSs.

Mac OS X 10.7.5 Lion
1. enable root user       
          click apple(menu)
          ->System Preferences...-> System - Users & Groups
          unlock-> click
                  ->Network Account Server: Join...
          ->Open Directory Utility...
          unlock
          From Directory Utility menu Edit->Enable Root User
2. switch to root
         su root   
3. delete files Neville Hillyermentioned
          rm /private/var/db/dslocal/nodes/Default/users/macports.plist
          rm /private/var/db/dslocal/nodes/Default/groups/macports.plist
4. "disable root user" and "lock" every unlocked menu for safety reason by following step 1

Similar Messages

  • What  is difference between user group and reference user group?

    hi
    guys,
            what  is difference between user group and reference user group? 
    your regards
      p.suresh

    Hi ,
    Chk the link below for your clarifiacation.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/5c/c1c81c445f11d189f00000e81ddfac/frameset.htm
    Hope it helps.
    Regards,
    Amit
    Edited by: Amit Kotwani on Sep 2, 2008 2:15 PM

  • Win 8.1 domain workstation. Block all access, except for a fews users/groups and domain controller information/date.

    Hi!
    Win 8.1 pro, domain workstation. How Block all access, except for a fews users/groups and domain controller information/date.
    Nuance:
    From domain AD is locked Workstation Firewall "Domain profile" edit.
    Possible?
    cenubit

    Hi GirtsR,
    I am not sure the command to use the SID to accomplish what you want to achieve, if you only know the SID, you could take use Powershell to find the related information, more information, please check:
    Working with SIDs
    And a similar thread for reference:
    How to find user/group known only SID
    More reference: Default local groups.
    Best regards
    Michael Shao
    TechNet Community Support

  • How to stop the removing a user account and saving the home directory  to a disk image?

    I tried to delete one of two administers on my iMac (10.10.1). After more than 12 hours it will not let me quit System Preferences for it "is removing a user account and saving the home directory to a disk image". How do I finish deleting the administer and quit System Preferences?

    I would recommend asking them in C# forums: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral&filter=alltypes&sort=lastpostdesc
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • HT4798 I have forgotten my password for mountain os. I have followed the instructions about going to "User group" and enetering my apple ID. It doesn't work. Can anyone help me? Thank you.

    I have forgotten my password for mountain os. I have followed the instructions about going to "User group" and enetering my apple ID. It doesn't work. Can anyone help me? Thank you.

    Welcome to the Apple Support Communities
    https://discussions.apple.com/docs/DOC-4101

  • Interesting Information about Hyperion User Groups and Conferences

    Ed Roske has an interesting post on his blog, including a letter from John Kopcke (SVP of EPM at Oracle). There is a lot of content discussing the disbandment of the Hyperion User Groups and the absorption by OAUG with the new Hyperion SIG (Special Interest Group). In addition there is discussion of conference's focusing on Hyperion content.
    Take a look at http://looksmarter.blogspot.com/2008/06/john-kopckes-letter-to-hyperion.html
    Best Regards,

    Gary,
    Thanks for nice post

  • How to manageimported users, groups, and computers in the "Magic Triangle"

    How do I manage imported users, groups, and computers? Server Preferences versus Workgroup Manager? I can import users and groups with the former but it offers limited configurable options. I can view all users. groups. and computers (from active directory) in the latter, but it does not designate which accounts have been imported.
    I've got a magic triangle setup, with my users, groups and computers in Windows Active Directory, and my MacOS X snow leopard server setup as a directory master, abd bound to AD as well. I wish to apply group policy like settings to my Mac OS X leopard and snow leopard clients.
    Here's a summary of my goals:
    1. Time Machine Storage for mac users when they logon to Mac OS X computers.
    2. Automount group shares located on the Mac OS X Server.
    3. Redirect user desktop and document folders to user shares either on the Mac OS X server or my Windows file server.
    4. Automount a custom folder (for each user) located either on the Mac OS X server or my Windows file server.
    5. Setup Mac OS X server as a printer server with quotas for all mac and windows computer users.
    Goal #1 appears to be working. "need help with the rest. Thanks

    I'm not sure you want to import users to use the magic triangle properly. I think importing creates 'Augmented Records' - the user icons have blue dots.
    The principle is this…
    Bind the server to Active Directory (AD) & create an Open Directory master (OD). This can be done from Server Admin, in the OD section, via the change button.
    Then you use Workgroup Manager, set the viewing directory (tiny little globe in top left) to use LDAP records on the server - LDAPv3/127.0.0.1. Authenticate (lock on right of toolbar) add a group, then switch to to its Members tab, click + Then change the user list to show the AD records & add the AD users to the OD group. It sounds weird & wrong, but it is how it works.
    You are never modifying the AD records, just assigning a group to the users in OD. It's why the clients need to bind to AD & OD.
    From there you can set the Managed prefs (MCX) for the members of the OD group. It also helps to add a guest computer account to OD to assign computer prefs based on the macs that bind to the server - it's in the File menu when you select the computes list in OD.
    I hope that's clear, not sure I can help with the other tasks, but they tend to fall into place once you have the complex start in place.

  • My MAC is running slowly and I am having to continually remove unwanted pop ups and leave unwanted pages which appear including MACkeeper. If I am on a sports website, betting pages appear - any ideas?

    My MAC is running slowly and I am having to continually remove unwanted pop ups and leave unwanted pages which appear including MACkeeper. If I am on a sports website, betting pages appear - any ideas?

    Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones. If you're willing to use a tool to remove it(you don't need to, but may find it easier), you can instead run Adware Medic; this link is a direct download.
    (120718)

  • Collaboration Drives Innovation as China Oracle User Groups and Oracle University Work Together to Change Lives

    Check out the latest Customers in the Know blog post where Jim Jiang shares the story of an innovative program launched collaboratively by the China Oracle User Groups and Oracle University.
    https://blogs.oracle.com/customersknow/entry/innovation_and_collaboration_at_its

    Check out the latest Customers in the Know blog post where Jim Jiang shares the story of an innovative program launched collaboratively by the China Oracle User Groups and Oracle University.
    https://blogs.oracle.com/customersknow/entry/innovation_and_collaboration_at_its

  • Non-privileged user groups and examples of tasks

    Wiki says that normal, non-privileged users can and should be given membership in the following groups:
    audio - for tasks involving sound card and related software
    floppy - for access to a floppy if applicable
    lp - for managing printing tasks
    optical - for managing tasks pertaining to the optical drive(s)
    storage - for managing storage devices
    video - for video tasks and hardware acceleration
    wheel - for using sudo
    power - used w/ power options (e.g.: shutdown with power button)
    What I'm interested is the examples of the typical tasks (besides mentioned on Wiki) that require membership in these groups: storage, video, power, camera, games.
    If someone could break it down nicely I would be much obliged. Thank you.

    Runiq wrote:
    Storage allows you to (un)mount removable media as user in graphical file managers (when HAL is involved).
    Power allows you t resume/suspend/shutdown/reboot as user.
    Some games set the permissions on their executables so that a non-member of the games group can't start the game.
    For the others, I have no idea unfortunately. By the way, the groups are to be deprecated in the (rather far?) future since you are supposed to get proper permissions when you need them. I think ConsoleKit is involved in that IIRC.
    Thanks for a quick reply. That's an interesting idea to grant privileges dynamically on demand. Haven't heard of it yet. Where can I read about it more?
    Last edited by xCrucialDudex (2010-02-26 09:38:07)

  • ISE 1.2: Remove unused Sponsor Group and Identity Group

    Hi
    I started with ISE 1.1.2 and now upgrade to 1.2.
    There are 1. Sponsor Groups and 2. Identity Groups which are no more in use, but I am not able to remove them anymore.
    1. One is a special Sponsor group which sponsor group policy I already removed. The I go to Aministration>Web Portal Management>Sponsor Groups and select the appropriate Group ans click delete and ok to confirm, the following error is displayed:
    com.cisco.cpm.nsf.api.exceptions.NSFEntityDeleteFailed: java.rmi.RemoteException: Failed to execute the Query : DELETE_USERONAPP ORA-02292: integrity constraint (CEPM.EDF_GST_SPGRPID_SUB) violated - child record found ; nested exception is: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (CEPM.EDF_GST_SPGRPID_SUB) violated - child record found
    2. The same happens with one Identity Group. I do not have it active anymore. Not in authentication, and not in authorization policy. I go to Administration>Identity Management>Groups>  and select te group to remove, and click "Delete selected" and confirm with ok, the following error occured:
    Cannot delete selected Identity Group(s) because there are resources which are mapped to these or its child identity group(s)
    Is there any reason for any of these issue?
    Many thanks

    Hi ,
    Please open service request with cisco. These kind of issues may happen when the dependencies are deleted from UI but there is a chance that some of the dependencies may not be deleted completely and are not visible from UI as well.  These kind of issues can be resolved under cisco guidance.
    Thanks,
    Naresh

  • Retrieving User groups and email for all users in a group

    Hi Everyone,
    I need to create an ADF application to retrieve all the groups in OID, the user would select a group and it should list down all the email addresses in that group.
    Can you suggest what is the best way to achieve this. My main concern is how to retrieve groups and email addresses from OID. I was unable to find APIs for it.
    Your suggestions are greately appreciated.
    Thanks,
    Husain

    In a multi-user environment, a user install a dreamweaver extension,but just the user who install the extension can use it.
    Is there a way that administrator install the extension and make this extension available for other users in multi-user environment(e.g. the Windows 7)
    Dreamweaver had this capability many releases ago, but it has been dropped, so it's no longer available.
    Regards,
    Randy Edmunds
    Dreamweaver Development
    Adobe Systems, Inc.

  • How to create users ,groups and  workflow in batch?

    I have to create 100 groups for each course,and each course has a admin user.Each group has some workflows .These workflow can only be viewed by some users.
    Can i import user name and password from a .txt file and do the work automatically?
    It is a hard work if i do it manually.

    I'm not sure you want to import users to use the magic triangle properly. I think importing creates 'Augmented Records' - the user icons have blue dots.
    The principle is this…
    Bind the server to Active Directory (AD) & create an Open Directory master (OD). This can be done from Server Admin, in the OD section, via the change button.
    Then you use Workgroup Manager, set the viewing directory (tiny little globe in top left) to use LDAP records on the server - LDAPv3/127.0.0.1. Authenticate (lock on right of toolbar) add a group, then switch to to its Members tab, click + Then change the user list to show the AD records & add the AD users to the OD group. It sounds weird & wrong, but it is how it works.
    You are never modifying the AD records, just assigning a group to the users in OD. It's why the clients need to bind to AD & OD.
    From there you can set the Managed prefs (MCX) for the members of the OD group. It also helps to add a guest computer account to OD to assign computer prefs based on the macs that bind to the server - it's in the File menu when you select the computes list in OD.
    I hope that's clear, not sure I can help with the other tasks, but they tend to fall into place once you have the complex start in place.

  • User Groups and non Developers users

    Hi,
    two questions.
    1) How do I create users groups.
    I want to divide specific users to specific groups.
    2) I created users not as developer and not as a administrator.
    When I logged on with that users I didnt see any of the applications, why?
    Thanx.

    1. You asked "how do I assign users to that group and later attach the group..." I think your question is not about how to assign users to a group but rather how to attach the group... Use the function wwv_flow_fnd_user_api.user_in_group in an authorization scheme (desc wwv_flow_fnd_user_api). Attach the scheme to a region, button, etc. to control access. Please read about authorization schemes in the user guide and search this forum for "authorization" and "groups" for useful threads.
    2. A user account without development privilege will be useful for authenticating to an application you create. It will not be useful for developing any applications in the Application Builder.
    Scott

  • Cannot remove a sync group and provisioning never stops

    I try to remove my sync group in Azure DataSync , but get a message "Cannot remove this sync group because one or more databases are currently provisioning, re-provisioning, de-provisioning, canceling sync or synchronizing. TracingId=cc4af9b5-f6c5-2ca9-9412-acbaee44f87b"
    My sync group is Sync Group ID: b9dfb07f-5415-487d-a6c7-c7caccf473b8_East / Subscription ID: 31e2bcf5-8078-4bf3-8898-ba771ea860ac
    And before I try to remove it, it has a trouble that Provisioning never finishes.
    The provisioning was adding reference new servers and the provisioning is continuing for more than 10 days.
    While removing the sync group, I had deleted all reference database other than the hub database, and applied DeprovisioningUtil.exe to the hub database.
    In the sync group, all databases were Azure SQL.  The sync group didn't use sync agent.
    The hub database seems to have no tables relating datasync like as "_dss" or "_traking" after I applied DeprovisioningUtil.exe.
    I had no more idea to do other than waiting, any other ideas?
    Best regards,

    Hi Kamiyn,
    Regarding to the error message and your description, it seems that you tried to remove sync group failed , I assume you only have one sync group, when you used DeprovisioningUtil tool, you should manually clean up all objects by running the deprovisioning
    utility from the same folder where the Data Sync Agent gets installed.
    Here is a similar issue about this error, you can refer to the post.
    http://social.msdn.microsoft.com/Forums/en-US/d0c50049-4d20-447e-85f9-904f7d146a40/cannot-remove-a-data-sync-group-even-dropping-the-involved-databases-and-servers?forum=ssdsgetstarted
    Hope it is helpful for you.
    Thanks,
    Sofiya Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • WD application-selection screen - Parameter passing error

    Hi, In my WD application selection screen I am using a parameter(COSP-VERSN) When i read this using read context i am getting an error saying "Could not find attribute KOKRS" In context I have created a node with COSP-VERSN. My Kokrs will be contstan

  • Rule in Mail of Mountain Lion

    My wife and I each have a MacBook Pro (mid 2012) and are on th same LAN. Whenever I create a "Rule" in my Mail 6.2 Account (in Preferences) it seems to be "added" to my wife's Mail Account also. We do not use iCloud for Mail. Any thoughts on how to m

  • Oracle BI Answers Conditional Formatting

    Hi, Im using Oracle BI Answers and I am trying to set the colour conditioning function on the following graph: On the X axis I have company branches, on the Y axis I have sales figures. The two values that I have projected on the graph are sales figu

  • Firefox on my Mac has been so slow the past few days, what's going on?

    The past week, every time I click on anything - an e-mail in gmail, something on a website I want to go to, the arrow to scroll on a page, the Mac colorwheel comes on and it takes forever. I finally got so frustrated I switched back to my old Safari.

  • Grainy (pixels) photos in iPhoto

    I recently transferred and combined 2 iPhoto libraries. I copied the library from iPhoto 6 and imported it into iPhoto 9. I now have 40,000+ photos in the library. Here is the problem: The photos from the older iPhoto library are grainy and have a lo