Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: bash: no job control in this shell
- To: "TLUG mailing list" <tlug@example.com>
- Subject: Re: bash: no job control in this shell
- From: "SN_Diamond" <Norman.Diamond@example.com>
- Date: Wed, 8 Aug 2001 15:16:11 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain;charset="iso-2022-jp"
- Delivered-To: tlug@example.com
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <Norman.Diamond@example.com>
- References: <017001c11e53$eb4a52c0$0f01a8c0@example.com> <m2snf3ummp.fsf@example.com> <009501c11fce$7b6bf040$0f01a8c0@example.com> <m2ofprulpa.fsf@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <t5-2ZC.A.KaG.NlNc7@example.com>
- Resent-Sender: tlug-request@example.com
SL Baur continues to help me. Unfortunately I still don't know the meanings, except for one fact. Since I did an "su", naturally my login process (parent of su) is still open on my pty. > > [root@example.com ndiamond]# ls -l /proc/self/fd > > 合計 0 > > lrwx------ 1 root root 64 8月 8 15:03 0 -> /dev/pts/0 > > lrwx------ 1 root root 64 8月 8 15:03 1 -> /dev/pts/0 > > lrwx------ 1 root root 64 8月 8 15:03 2 -> /dev/pts/0 > > lr-x------ 1 root root 64 8月 8 15:03 3 -> /proc/1261/fd > > That's correct. Two more questions: > What are the permissions on /dev/pts/0? `ls -l /dev/pts/0'. > What other processes have that device open? '/sbin/fuser /dev/pts/0' > Then, for all the numbers listed in the fuser command, do `oldps <number>' > to see what they are. Since this is a new su, one process number is different. [ndiamond@example.com ndiamond]$ su Password: bash: no job control in this shell [root@example.com ndiamond]# ls -l /proc/self/fd 合計 0 lrwx------ 1 root root 64 8月 8 15:22 0 -> /dev/pts/0 lrwx------ 1 root root 64 8月 8 15:22 1 -> /dev/pts/0 lrwx------ 1 root root 64 8月 8 15:22 2 -> /dev/pts/0 lr-x------ 1 root root 64 8月 8 15:22 3 -> /proc/1274/fd [root@example.com ndiamond]# ls -l /dev/pts/0 crw--w---- 1 ndiamond tty 136, 0 8月 8 15:22 /dev/pts/0 [root@example.com ndiamond]# /sbin/fuser /dev/pts/0 /dev/pts/0: 1020 1021 1262 1263 1276 [root@example.com ndiamond]# oldps 1020 PID TTY STAT TIME COMMAND 1020 ? SW 0:00 login -- ndiamond [root@example.com ndiamond]# oldps 1021 PID TTY STAT TIME COMMAND 1021 ? S 0:00 -bash [root@example.com ndiamond]# oldps 1262 PID TTY STAT TIME COMMAND 1262 ? S 0:00 su [root@example.com ndiamond]# oldps 1263 PID TTY STAT TIME COMMAND 1263 ? S 0:00 bash [root@example.com ndiamond]# oldps 1276 PID TTY STAT TIME COMMAND No processes available. [root@example.com ndiamond]# Sincerely, Norman Diamond
- Follow-Ups:
- Re: bash: no job control in this shell
- From: SL Baur <steve@example.com>
- References:
- bash: no job control in this shell
- From: "SN_Diamond" <Norman.Diamond@example.com>
- Re: bash: no job control in this shell
- From: SL Baur <steve@example.com>
- Re: bash: no job control in this shell
- From: "SN_Diamond" <Norman.Diamond@example.com>
- Re: bash: no job control in this shell
- From: SL Baur <steve@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: bash: no job control in this shell
- Next by Date: Re: bash: no job control in this shell
- Prev by thread: Re: bash: no job control in this shell
- Next by thread: Re: bash: no job control in this shell
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links