[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: Varying the initcmd for a console

Andras.Horvath Andras.Horvath@cern.ch
Fri, 16 Oct 2009 08:17:36 GMT


On Fri, Oct 16, 2009 at 10:03:10AM +0200, Pearce Andy wrote:
> 
> As I understand it the conserver is started with a configuration file
> conserver.cf that defines a set of consoles for various machines, output
> from these machines is then logged. The conserver.cf that is read when 
> conserver starts can also specified a script that is to be run when the
> console command is used to connect to the machine via the initcmd
> option.

ahh, sorry, misunderstood your question (I'm aware of that feature but I
do not use it.)

> I was wondering if the initcmd could be changed via the per-user-config
> file that can be specified, but didn't appear so.

Interesting. I don't know a direct solution.

As a workaround, I'd script around 'console' with 'expect' :) to provide
different functionality as user-accessible scripts. 

Andras