fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

How to Set-up and Perform Impersonation on PTC Integrity

Published by SPK Blog Post
on April 27, 2015

From time to time, if you are administering a PTC Integrity Lifecycle Manager you’ll need to be able to log into PTC Integrity as one of the users you support. If you want to avoid requesting their password (if your company uses LDAP to synchronize everyone’s PTC Integrity password with their corporate password, sharing passwords with anyone is not a good idea security wise), or forcibly resetting their password in the MKS Domain (if you use that), you can use something called impersonation.

NOTE: Impersonation can be a potential security hole. There is the possibility for a user to perform actions that are logged as another user who could potentially have administrator permissions.

In order to try to avoid any potential security pitfalls, the example I am going to walk through below will demonstrate how you can configure your administrator account (and only your administrator account) to impersonate other users.

Before you can start impersonating people on your PTC Integrity Lifecycle Manager server you need to create an ACL (Access Control List) to define who has access to the permission to do this.

To set up the Impersonation ACL in PTC Integrity Lifecycle Manager, perform the following steps:

1) In the PTC Integrity Administration client, expand the Permissions section and select the “All” node.

2) Next, right click on the mks ACL group, and select “Create ACL.”

3) This will open the “Select ACL Entries to Add” dialog

4) Next, define the user or group you wish to allow impersonation of.  In this case I want to allow for the impersonation of the “everyone” group.  Therefore I have named the ACL mks:impersonate:group:everyone

5) Last but not least, I select the administrator user, to implicitly state which user has permissions to impersonate under this ACL.

6)  Once you select “OK” to apply your new ACL you will see it appear in the ACL lis

Creating the ACL to allow for impersonation is just the first step.  If you actually want to perform Impersonation you need to invoke it from a command prompt window.  You cannot invoke impersonation through the GUI.  You can use the command line to create a GUI session and instantiate the connection using the impersonateuser flag to create a session as the impersonated user.  The command to do so is as follows:

im issues –hostname=serverHost –port=serverPort –user=administrator –password=yourAdminPass –impersonateuser=impersonatedUser –gui

This in turn will open the following window for you:

From here, everything that is performed will be as if you were logged in directly as a given user in the system. And best of all, the only people who will have access to this impersonation functionality as it is configured are those people who already have access to your administrator account.

The ability to impersonate any given person within your PTC Integrity server can go a long way in determining what the problem is when one of your users calls you complaining that a certain trigger or critical piece of functionality isn’t working.

Next Steps:

Latest White Papers

The Ultimate Jira Data Protection

The Ultimate Jira Data Protection

Remote work is here to stay, and companies are turning to cloud-based solutions to support their teams. Atlassian's suite of products is a top choice for businesses worldwide. But, many businesses are still unsure about its built-in data protection capabilities....

Related Resources

PTC LiveWorx 2023 Highlights

PTC LiveWorx 2023 Highlights

PTC LiveWorx is the premier event bringing together professionals and innovators from various industries. It ignites the exploration of digital transformation, industrial innovation, and emerging technologies. From engaging keynote presentations to hands-on workshops...

PTC Windchill Proven Business Outcomes And Customer Reviews

PTC Windchill Proven Business Outcomes And Customer Reviews

We’ve written a number of blogs on the benefits of PTC Windchill. But we also know there’s no greater power than proof in the pudding. You don’t just want another article telling you that PTC Windchill is the best Product Lifecycle Management (PLM) tool. You want to...