Re: Shell program question

2002-08-15 Thread Kevin Myers
On Wed, 14 Aug 2002 20:09:58 +0700, I wrote: >When run from a normal shell, test.sh finishes and leaves the other two >scripts running as expected. > >When test is run as the 'login shell', everything finishes when the user >logs out. > >Why? Thanks to Anthony (again) for suggesting using nohup

Re: Shell program question

2002-08-14 Thread Kevin Myers
On Wed, 14 Aug 2002 19:33:08 +0700, you wrote: >Interesting situation here with that in place: I'm using sudo to allow users >to control the DSL connection. One of the scripts is supposed to stay >running in the background when the user logs off, but when I use the menu >as the shell it is kille

Re: Shell program question

2002-08-14 Thread Kevin Myers
On Tue, 13 Aug 2002 07:48:38 -0400, you wrote: >I think you want to set your users to use an program or script as soon as >they login, with no other choice. If that is what you want, just edit >/etc/passwd and change their shell to the program or script that you want >them to run. Interesting si

Re: Shell program question

2002-08-13 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13-Aug-2002/16:54 +0800, Roger <[EMAIL PROTECTED]> wrote: >I want to have a shell script for telnet, the other users must use it >without any interactivities, I remember there is a way in shell >programing that we can write some commands of some ap

Shell program question

2002-08-13 Thread Roger
Hi I want to have a shell script for telnet, the other users must use it without any interactivities, I remember there is a way in shell programing that we can write some commands of some applications in shell script , such as open, user, passwd of ftp, bash would transfer these commands to the a