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
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
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
-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
man expect
However, it's a bad idea to have a script that telnets in without any
prompting to the user. Telnet, itself, is inherently insecure, of its own
accord, as it sends the username and password out in clear text, and
there's no encryption of the session, either.
Add to that, now that
Title: Message
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 t
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
thanks
--- Thierry ITTY <[EMAIL PROTECTED]> wrote:
> maybe tar or cpio could do it ?
> something like
>
> on local system :
> cd maindir; find ./ -name '*.s3d' -print | cpio -o >
> archive.file
>
> transfer archive file
>
> on remote system
> cd maindir; cpio -id < archive.file
>
> or even
>
> >I want to write a program and need some help:
> >1: The program should search for *.s3d files in parent
> >as well as sub directories
> >2: create those directories /sub directories on remote
> >system if it doesn't exist
> >3: copy all the files to remote system in exact
> >direxctories as i
maybe tar or cpio could do it ?
something like
on local system :
cd maindir; find ./ -name '*.s3d' -print | cpio -o > archive.file
transfer archive file
on remote system
cd maindir; cpio -id < archive.file
or even
cd maindir; find ./ -name '*.s3d' -print | cpio -o | remsh remote "(cd
maindir
Hi,
I want to write a program and need some help:
1: The program should search for *.s3d files in parent
as well as sub directories
2: create those directories /sub directories on remote
system if it doesn't exist
3: copy all the files to remote system in exact
direxctories as it is in the client
11 matches
Mail list logo