use magic_login to adopt authority but not owner
Hi ALL,
I would like to have an IBMi RTC Build that uses a plain user that is running the build (i.e. JAMES) but the objects are created with authorities from another profile (i.e. JAMESOFR). I would like to stress that I would like the authorities of that user, as I want the object to created with the owner of James. (plain user). I thought this was possible with the magic_login, but it does not appear to work correctly. Is this possible?
Many Thanks
James
I would like to have an IBMi RTC Build that uses a plain user that is running the build (i.e. JAMES) but the objects are created with authorities from another profile (i.e. JAMESOFR). I would like to stress that I would like the authorities of that user, as I want the object to created with the owner of James. (plain user). I thought this was possible with the magic_login, but it does not appear to work correctly. Is this possible?
Many Thanks
James
One answer
Hi James,
magic_login is a different authentication mechanism for the bfagent. On IBM i we have PAM installed, so that is the default authentication mechanism. It does not help in the way you are looking for it to do so.
To do what you propose you would need to setup a post command to change the authorities based on the output objects in the build report.
Kevin
magic_login is a different authentication mechanism for the bfagent. On IBM i we have PAM installed, so that is the default authentication mechanism. It does not help in the way you are looking for it to do so.
To do what you propose you would need to setup a post command to change the authorities based on the output objects in the build report.
Kevin