I am developing and health check script for our application and we need to validate few things after every major change and/or patching .

One of the checks is whether the pbrun access is working or not .

We generally check with pbrun /bin/su -s /bin/bash sympony . If we are able to convert , then its good.

Now on script , I really do not want to convert to that user as the following command can fail in execution . How can i achieve it without really logging and but to validate thats its working .

Note - I checked the stackexchange recommended posts , but didn`t find relavant. If you see anyone , please let me know.

Thanks in advance :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.