# su - user1
$ stty -a
speed 9600 baud; 58 rows; 125 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff -imaxbel
isig icanon -xcase echo -echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
$ stty -g
3:1c:8:15:4:ff:ff:11:13:1a:19:12:f:17:16:0:302:c05:d00bd:b:
$ exit
# stty -g
3:1c:8:15:4:ff:ff:11:13:1a:19:12:f:17:16:0:302:c05:d00bd:b:
Can anyone tell me why intr (^C) doesn't work when I swith to user1? In root shell it works.
Both stty settings are the same for root and user1.
r, m.
$ stty -a
speed 9600 baud; 58 rows; 125 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff -imaxbel
isig icanon -xcase echo -echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
$ stty -g
3:1c:8:15:4:ff:ff:11:13:1a:19:12:f:17:16:0:302:c05:d00bd:b:
$ exit
# stty -g
3:1c:8:15:4:ff:ff:11:13:1a:19:12:f:17:16:0:302:c05:d00bd:b:
Can anyone tell me why intr (^C) doesn't work when I swith to user1? In root shell it works.
Both stty settings are the same for root and user1.
r, m.