Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
-bash: no job control in this shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rootor
n00b
n00b


Joined: 05 Dec 2011
Posts: 25

PostPosted: Fri Sep 07, 2012 1:57 am    Post subject: -bash: no job control in this shell Reply with quote

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
View user's profile Send private message
roravun
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2012
Posts: 82

PostPosted: Fri Sep 07, 2012 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum