Re: Lotus Notes Server Console



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.


.



Relevant Pages

  • Re: Lotus Notes Server Console
    ... existing screen session due to pty permissions that screen sets. ... always have to login directly as the notes server user. ... started the screen session) my pty is still owned by my login userid. ...
    (comp.unix.aix)
  • sreen session and scp
    ... I have a number crunching PC on which I login remotely. ... If I want to scp a file over to the server, I now get the error that "should ... How can I modify the .bashrc on the server so ... that it still logins to a screen session but allows to scp over files. ...
    (Ubuntu)
  • Re: good command-line audio player for fc5?
    ... I would like to leave this particular machine sitting in the closet and ... only ever login via ssh.... ... You can try running everything within a screen session. ...
    (Fedora)