Hello
I run a shell script from a java application, but I need to run the command in the script under a specific user (eg testusr), how to do this in the script knowing that the command su can not save the password of the user in the same line, but it requires a password after typing su. So I can use in this case. What I have to do to achieve this? Any help will be highly appreciated. Thank you in advance.
Bookmarks