It's not working.
When i run it without su - username -c it works, while
when i run it with - user id doesn't.
Of course if i run the script manually directly by that user it works (i have permissions)
Any idea?
This is my script:
#!/sbin/sh
#
#
AVAYA_IC_HOME=/usr/aicprod/IC60
AVAYA_USER_NAME=User
#
# The password has to be changed if the Admin password is changed in ICManager.
#
AVAYA_USER_PASSWORD=password
case "$1" in
start)
cd ${AVAYA_IC_HOME}/etc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.