bash: cannot set terminal process group (3987): Inappropriate ioctl for device bash: no job control in this shell
On a new Ubuntu 14.04 (Trusty) LTS server, I ran into the following:
$ su -c /bin/bash foo
bash: cannot set terminal process group (3987): Inappropriate ioctl for device
bash: no job control in this shell
However, the su
procedure worked and I was logged in as user foo.