[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -bash: no job control in this shell



On 12:51 Mon 07 Jan     , Scott Gifford wrote:
> 
> To find out, create a brand new user with default dotfiles, and try
> logging in as that user.
> 
> Hope this helps,
> 


No such luck :(.

Every user who initially logs in to tty1 gets the no job control message!

Here is some information.

I find that for ANY user on the system - including root 
if they log in via tty1 they get that message

-bash:no job control in this shell

while if ANY user logs on to the system via tty2-tty6 they don't get that message! 

Moreover in that same tty1, if the 
say  the root user does 
su - mlaks then we have this output

-su:no job control in this shell

So it has to do with tty1. 
Now I notice that this inittab file says

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
#T0:23:respawn:/sbin/mgetty -x5 -s 57600 ttyS0 vt102
#-- runit begin
SV:123456:respawn:/usr/sbin/runsvdir-start
#-- runit end
      
but this is no different from any other debian system
that does not do this.

I am running sid.

Mitchell


Reply to: