Originally posted by: antenore
When I run a script like:
#!/bin/bash
su - username "-c sleep 1000 &"
With sudo the sleep is killed at the end of the script, running ot dorecthly with root it works.
On a LInux server, with the same sudo/sudoers setup, everything works as expected.
The main issue is that we cannot start anymore Websphere servers beacuse of this issues (with the script) and we are obliged to login as the WAS user.
# lslpp -L USFSsudo.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
USFSsudo.rte 1.8.20.2 C F Sudo V1.8.20p2 NOEXEC none
# oslevel -s
7200-03-02-1846
Thanks!
#AIX-Open-Source-Software#AIXOpenSource