Added by ciuino magno over 10 years ago
Hi guys, when I try to access through command: su openproject -c "bash -l"
gives me an error: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell
how can i fix it?
Replies (9)
You can ignore that error.
If you execute whoami, you will see that you are openproject user. Just check where you are by typing pwd
Regards,
Igor
When i try to do every operation it give me:
sudo no tty present and no askpass program specified
i can’t continue, i’m stuck on git clone
If you specify more details on the enviroment and what guidelines you are following, somebody might help you:
- OS
- guidelines which you are following
- provide example what operation you have tried when you got the error above
- step to reproduce the problem
Regards,
Igor
I Have Ubuntu 14.04 x64, I’m using the official installation guide for ubuntu 12.04, as I wrote before, when I tried to access to the user OpenProject via su openproject -c "bash -l it gives me bash: cannot set terminal process group (–1): Inappropriate ioctl for device bash: no job control in this shell and i can’t do any superuser operation, and it give me sudo no tty present and no askpass program specified, maybe because isn’t in sudoers, but if you could give me some advice or something that I could try to do to solve it
Ciuino
I inserted the OpenProject user in the sudoers file but still don’t work… any advice?
Hi,
you can try other options to run commands with the openproject user.
The following should give you a shell as the openproject user:
In that shell you can run commands as the openproject user.
I hope this helps to resolve your problem.
cheers,
tessi
PS: After some a little google search for your error message I found this stack exchange answer which might help you.
Thanks for the advice, it give me the same error but now seems that the git clone works :D
The original error (
cannot set terminal process group (-1)
) sounds like something ubuntu related (I’m pretty sure that it’s not OpenProject specific).Unfortunately I don’t know why this is happening, sorry.
At the end, i used the 3.1 pre ppa, but I have several problems there too, i’ll wait for your answers
Thanks a lot for the support :)