Re: Lotus Notes Server Console
- From: Scottz <mugi@xxxxxxxxxxxxx>
- Date: Fri, 05 Oct 2007 14:52:49 -0700
On Oct 2, 9:54 pm, Cydrome Leader <prese...@xxxxxxxxxxxxxx> wrote:
Scottz <m...@xxxxxxxxxxxxx> wrote:
1. su from a user to the lotus notes server user, you can't access the
existing screen session due to pty permissions that screen sets. You
always have to login directly as the notes server user.
this sounds weird. ARe you running latest screen version?
Probably not - version 4.00.02 (FAU) 5-Dec-03
This was a pre-compiled version off of the UCLA PDSLIB (now defunct)..
I'll see if I can find what/where the latest is.
I was mistaken in that it's screen setting the pty permission.
If I login as myself and su - to another user (i.e. the one that
started the screen session) my pty is still owned by my login userid.
As the owner on the pty doesn't change to the user you su to, screen
will exit with a "Cannot open your terminal '/dev/pts/0' - please
check".
2. I can't send a command to the screen session (i.e. quit) which I'd
like to do via scripts.
Why not?
I wasn't clear on that one and using quit was a bad example.
I need to send a command to a shell or application running in a screen
session as if someone had attached to it and typed it. This needs to
be done via a script running outside of a screen session.
In this case, I need to send to the Lotus Notes Server running in a
screen session it's Lotus Notes "quit" command so the application will
gracefully shutdown.
So it isn't specific screen commands themselves I'm after, but being
able via script to send text to a screen session as if someone had
attached to the session it and typed it in.
.
- Follow-Ups:
- Re: Lotus Notes Server Console
- From: Cydrome Leader
- Re: Lotus Notes Server Console
- References:
- Re: Lotus Notes Server Console
- From: Cydrome Leader
- Re: Lotus Notes Server Console
- Prev by Date: Re: getent in AIX
- Next by Date: Re: strange memory leak
- Previous by thread: Re: Lotus Notes Server Console
- Next by thread: Re: Lotus Notes Server Console
- Index(es):
Relevant Pages
|