On a Linux operating system, you cannot delete a user if
any user processes are running. The adapter can be configured for
Linux operating systems to end all user processes when a user is deleted.
About this task
The default behavior of the Linux operating system is to
fail a user delete request if any user processes are running. Use
this task to configure the adapter to end any active user processes
when you submit a delete user request.This option is configurable
by service. The option is not displayed automatically on the Service
Form.
Note: This option must not be used on systems that permit
duplicate user IDs.
To add this attribute to the Service
Form:
Procedure
-
Edit the profile JAR
file.
- Log in to the system where the UNIX and Linux Adapter is installed.
- Copy the JAR file into a temporary directory.
- Extract the contents of the JAR file into the temporary directory. Run the following
command. The following example applies to the Linux adapter profile.
- Type the name of the JAR file for your operating system.
#cd /tmp
#jar -xvf PosixLinuxProfile.jar
The jar command extracts the files into the PosixLinuxProfile directory.
- Edit the Service.xml file for your respective profile. For
example, erPosixLinuxRMIService.xml in the case of the Linux
adapter.
- Add the attribute erPosixDelUserInUse on the Service form for
your respective profile.
<formElement name="data.erposixdeluserinuse" label="$erposixdeluserinuse">
<checkbox name="checkbox" value="false"/>
</formElement>
- Save the changes.
- Import the file.
- Create a JAR file by using the files in the /tmp directory Run the following
command:
#cd /tmp
#jar -cvf PosixLinuxProfile.jar PosixLinuxProfile
- Import the JAR file into the Identity server.
- Stop and start the Identity server.
- Restart the adapter service.
Once the steps above are performed, erPosixDelUserInUse
attribute is visible on service form.
- Create a service with following parameter:
Delete user account even when it is in use
- Restart the Dispatcher.