I would like to be able to spawn a fully working shell environment from upstart script.
sudo su -l user -c bash fail to load user's environment properly?
$ sudo su -l -m adam -c "bash" bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell
How to launch a fully working bash session, similar to the one user gets in virtual tty or when logging in by ssh?
I use Ubuntu 14.04 64bit