View previous topic :: View next topic |
Author |
Message |
rootor n00b
Joined: 05 Dec 2011 Posts: 25
|
Posted: Fri Sep 07, 2012 1:57 am Post subject: -bash: no job control in this shell |
|
|
I use a normal user login system via ssh.
when I switch user via: su or run bash
I got :
-bash: no job control in this shell
when I run: bg , fg
then I got:
bash: fg: no job control
The result is I can not use Ctrl+C
But when I login as root via ssh, no this problem
Need help
Last edited by rootor on Sat Sep 08, 2012 5:23 am; edited 1 time in total |
|
Back to top |
|
|
roravun Tux's lil' helper
Joined: 05 Sep 2012 Posts: 82
|
Posted: Fri Sep 07, 2012 12:26 pm Post subject: |
|
|
Try 'set -m' after you log in as different user.
Being able to emit SIGINT with ^C has nothing to do with job control, you should be able to do it regardless of job control status. But I think you meant ^Z? |
|
Back to top |
|
|
|