Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: conserver: users

Script Exit/Reinitialization

 

 

conserver users RSS feed   Index | Next | Previous | View Threaded


benbatten at gmail

Sep 30, 2009, 5:10 AM

Post #1 of 4 (1365 views)
Permalink
Script Exit/Reinitialization

All--

Apologies in advance if these have been asked-and-answered but with
Googling and experimenting I haven't been able to find a configuration
yet ...

has anyone done either of the following:

- pass or embed a console-exit -- "^Ec." -- through a forced ssh
command. Ie., running a forced script (menu) and an option is to exit
and thereby close the console. Like an expect line or something
similar?

- or is there a way to simply disable the reinitialization or limit it
to a single ondemand initialization?

Thanks!

Ben--
_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users


wernli at in2p3

Sep 30, 2009, 6:40 AM

Post #2 of 4 (1258 views)
Permalink
Re: Script Exit/Reinitialization [In reply to]

Hi,

On Wed, Sep 30, 2009 at 08:10:39AM -0400, Ben Batten wrote:
> - pass or embed a console-exit -- "^Ec." -- through a forced ssh
> command. Ie., running a forced script (menu) and an option is to exit
> and thereby close the console. Like an expect line or something
> similar?

not sure what you mean by "forced script (menu)", but for what it's worth
I've got two very simple expect scripts to up and down a console

> - or is there a way to simply disable the reinitialization or limit it
> to a single ondemand initialization?

sure is - check out the conserver.cf manpage

_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users


benbatten at gmail

Sep 30, 2009, 7:24 AM

Post #3 of 4 (1255 views)
Permalink
Re: Script Exit/Reinitialization [In reply to]

> Hi,
>
>
>> - pass or embed a console-exit -- "^Ec." -- through a forced ssh
>> command. Ie., running a forced script (menu) and an option is to exit
>> and thereby close the console. Like an expect line or something
>> similar?
>
> not sure what you mean by "forced script (menu)", but for what it's worth
> I've got two very simple expect scripts to up and down a console

Forced commands are a feature of SSH, you can force a user to only run
a script or program at login. One can force a user to only run a
script/command or do other things and exit from the system when done.

>
>> - or is there a way to simply disable the reinitialization or limit it
>> to a single ondemand initialization?
>
>> sure is - check out the conserver.cf manpage

I've been up and down the manpage and I see some things that control
the initialization but nothing jumps out at me other than "autoreinit"
... I tried "!autoreinit" and that didn't work. I see the spin
configuration options, is that what you're talking about. It's not
clear to me how to configure it. I'll experiment but if anyone has
any tips or pointers for configuring those that would be great.

Again, thanks!
_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users


Andras.Horvath at cern

Sep 30, 2009, 7:32 AM

Post #4 of 4 (1265 views)
Permalink
Re: Script Exit/Reinitialization [In reply to]

On Wed, Sep 30, 2009 at 04:24:17PM +0200, Ben Batten wrote:

> ... I tried "!autoreinit" and that didn't work. I see the spin

I use

default * {
options reinitoncc,!autoreinit;
}

and it works for me.

Andras
_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users

conserver users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.