Reputation: 157
I have a requirement where I am installing with sudo as I need root access for some actions. I have to create couple of unix users with install4j and then use these users in systemd file to start a particular service.
I was not able to find any action for creating users. So I have used Run executable or batch file action to run a shell script for adding users and giving proper ownership using these users to certain directories.
I have 2 questions here :
Please pardon me , I am new to install4j
Upvotes: 1
Views: 134
Reputation: 48015
As of install4j 8, there is no elevation of privileges for Linux/Unix media files.
The recommendation is to run the entire installer with sudo, if elevated privileges are required.
Upvotes: 0