Artificial intelligent assistant

How to sudo -i -u user_xx without password? I have user `automation` and want to execute a script as `app-admin` and using `app-admin` environment. So sysadmin add these line in `etc/sudoers`: `(automation) NOPASSWD: /path01/scripthome/startDaemon.ksh` but when i execute `sudo -i -u automation /path01/scripthome/startDaemon.ksh`, the system asked for password. How to sudo -i without password?

sysadmin edit `/etc/sudoers` to : `(app-admin) NOPASSWD: /bin/bash -c /path01/scripthome/startDaemon.ksh` and it solve the problem.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 25b0878e666b4f4f43a4ee1f80271437