<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.E-mailStijl17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.E-mailStijl18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=NL vLink=purple link=blue bgColor=white>
<DIV><FONT face=Arial size=2>Just chown the current sessions terminal when 
connecting.</FONT></DIV>
<DIV><FONT face=Arial size=2>We use exactly that works like a 
dream.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Steve / K</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jayco1@charter.net href="mailto:jayco1@charter.net">Jay Vasallo</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cod@icculus.org 
  href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 12, 2005 10:10 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Screen and su 
  question.</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>we use </FONT></DIV>
  <DIV><FONT face=Arial size=2>screen -dmS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  </FONT></DIV>
  <DIV><FONT face=Arial size=2>I've never was able to su to a user then take 
  over his screen. Always had to login. Maybe Steve can show you how. Steve 
  knows a lot more than I do so you should take his advice over 
  mine.</FONT></DIV>
  <DIV><FONT face=Arial size=2>We also use daemontools if the client wants \rcon 
  quit to restart the server. This also boots the servers if the server does a 
  reboot.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=yuk@xs4all.nl href="mailto:yuk@xs4all.nl">yuk</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cod@icculus.org 
    href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 12, 2005 3:44 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cod] Screen and su 
    question.</DIV>
    <DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT 
    face=Arial size=2></FONT><BR></DIV>
    <DIV class=Section1>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi 
    all,<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Jay, I did not 
    delete the user.. Honest ;) <o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The problem is 
    indeed as Steven described, the screen program is executed from the terminal 
    which is owned by the user Yuk. Then, because I do a su – coduo –c screen 
    the screen command is executed from the coduo user, however there is no 
    terminal created for the coduo user when you use su – coduo –c screen. Then, 
    loggin in as the coduo user, I do see the screen command using screen –ls, 
    but I cannot connect to it because the terminal is owned by yuk, not 
    coduo.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Steven, as for you 
    advice to use the screen –d –m option, still that does not 
    work.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I do in terminal 
    5<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda yuk]$ su 
    - coduo -c "screen -d -m"<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Password:<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda yuk]$ 
    screen -ls<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">No Sockets found in 
    /tmp/uscreens/S-yuk.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda 
    yuk]$<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda yuk]$ ls 
    -al /dev/pts<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">totaal 
    148<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">drwxr-xr-x&nbsp;&nbsp; 
    2 root&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 jan 12&nbsp; 2005 
    .<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">drwxr-xr-x&nbsp; 25 
    root&nbsp; root 147456 jan 12 10:33 ..<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 cod&nbsp;&nbsp; tty&nbsp; 136, 0 jan 12 10:40 
    0<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 coduo tty&nbsp; 136, 1 jan 12 10:40 1<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 root&nbsp; tty&nbsp; 136, 2 jan 12 10:34 2<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 root&nbsp; tty&nbsp; 136, 3 jan 12 10:40 3<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 yuk&nbsp;&nbsp; tty&nbsp; 136, 4 jan 12 10:40 
    4<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><B><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 yuk&nbsp;&nbsp; tty&nbsp; 136, 5 jan 12 10:41 
    5<o:p></o:p></SPAN></FONT></B></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 coduo tty&nbsp; 136, 6 jan 12 10:40 6<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda yuk]$ 
    tty<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><B><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">/dev/pts/5<o:p></o:p></SPAN></FONT></B></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda 
    yuk]$<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">And in terminal 4 ( 
    different telnet session ! )<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[yuk@yoda yuk]$ su 
    - coduo<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Password:<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[coduo@yoda coduo]$ 
    screen -ls<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">There are screens 
    on:<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    4701..yoda&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    (Detached)<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">1 Sockets in 
    /tmp/uscreens/S-coduo.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[coduo@yoda coduo]$ 
    screen -r 4701..yoda<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Cannot open your 
    terminal '/dev/pts/4' - please check.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[coduo@yoda coduo]$ 
    tty<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><B><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">/dev/pts/4<o:p></o:p></SPAN></FONT></B></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[coduo@yoda coduo]$ 
    ls -al /dev/pts<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">totaal 
    148<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">drwxr-xr-x&nbsp;&nbsp; 
    2 root&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 jan 12&nbsp; 2005 
    .<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">drwxr-xr-x&nbsp; 25 
    root&nbsp; root 147456 jan 12 10:33 ..<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 cod&nbsp;&nbsp; tty&nbsp; 136, 0 jan 12 10:40 
    0<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 coduo tty&nbsp; 136, 1 jan 12 10:40 1<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 root&nbsp; tty&nbsp; 136, 2 jan 12 10:34 2<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 root&nbsp; tty&nbsp; 136, 3 jan 12 10:40 3<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><B><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 yuk&nbsp;&nbsp; tty&nbsp; 136, 4 jan 12 10:42 
    4<o:p></o:p></SPAN></FONT></B></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 yuk&nbsp;&nbsp; tty&nbsp; 136, 5 jan 12 10:41 
    5<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
    1 coduo tty&nbsp; 136, 6 jan 12 10:40 6<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[coduo@yoda 
    coduo]$<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The initial thought 
    behind this was to have a script run on boot of the machine to start my 
    coduo server but that server process should be owned by coduo not 
    root.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I think you script 
    would be more usefull, except for the fact that there is no way of executing 
    commands on the server in the console if you do not use screen. In 
    otherwords, without using some sort of remote admin tool to admin the coduo 
    server you can only start and stop it. Sometimes you want to say, change the 
    map or kick some user from your server and the most easy way to do that with 
    all Q3 engine based servers it on the command line in the game server 
    console.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">That is the only 
    reason I use this screen tool. <o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Jay, what kind of 
    script/command do you use to start your coduo servers ? Do you login as the 
    user who will own the coduo server ? Or do you use su – to switch to that 
    user .. I know you use screen as well, as many other members of this mailing 
    list, but maybe if some of you provided their approach I could figure out 
    the best way to go.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanx for the help 
    so far.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Kind 
    regards,<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Yuk.<o:p></o:p></SPAN></FONT></P>
    <DIV>
    <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
    face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
    <HR tabIndex=-1 align=center width="100%" SIZE=2>
    </SPAN></FONT></DIV>
    <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Van:</SPAN></FONT></B><FONT 
    face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Jay 
    Vasallo [mailto:jayco1@charter.net] <BR><B><SPAN 
    style="FONT-WEIGHT: bold">Verzonden:</SPAN></B> woensdag 12 januari 2005 
    4:14<BR><B><SPAN style="FONT-WEIGHT: bold">Aan:</SPAN></B> 
    cod@icculus.org<BR><B><SPAN style="FONT-WEIGHT: bold">Onderwerp:</SPAN></B> 
    Re: [cod] Screen and su question.</SPAN></FONT><o:p></o:p></P></DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <DIV>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I understand what they are. It 
    just looked as if he was trying to get it started. Then removed the user 
    while he had screens with the user. Then re-added the user and then he tried 
    to connect to them. I have done this in the past and always had permission 
    errors. This is why i suggested deleting them and starting the server 
    again.</SPAN></FONT><o:p></o:p></P></DIV>
    <BLOCKQUOTE 
    style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message ----- 
      <o:p></o:p></SPAN></FONT></P></DIV>
      <DIV style="font-color: black">
      <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
      size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
      title=killing@multiplay.co.uk href="mailto:killing@multiplay.co.uk">Steven 
      Hartland</A> <o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
      title=cod@icculus.org href="mailto:cod@icculus.org">cod@icculus.org</A> 
      <o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
      Tuesday, January 11, 2005 8:56 PM<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Re: 
      [cod] Screen and su question.<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I don't think you quite 
      understand what pts's are. They are "sudo" 
      files</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">they&nbsp;there are more like 
      devices than files. They are created 
      dynamically</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">when you 
      login.</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So sshing in as yuk will 
      create a "terminal" pty owned by said 
      user.</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is that sessions "screen" 
      to all intensive purposes. When you 
      logout</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">it will be 
      "deleted".</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">There is no problem starting 
      the game processes under screen using</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">the coduo user. The problem 
      he's seeing is that if said screen is</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">created in the foreground it 
      instantly tries to write to the 
      "terminal"</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">as that device is only 
      accessible to the yuk user this fails.</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The solution as I said is to 
      start them using -d -m which never tries 
      to</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">open the "terminal". If you 
      then subsequently want to view the 
      screen</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">and you logged in as another 
      user and su'ed, just temporally grant</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">that user access to that 
      sessions "terminal" with chmod e.g.</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">chown coduo 
      /dev/pts/6</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; Steve / 
      K</SPAN></FONT><o:p></o:p></P></DIV>
      <BLOCKQUOTE 
      style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
        <DIV>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message ----- 
        <o:p></o:p></SPAN></FONT></P></DIV>
        <DIV style="font-color: black">
        <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
        size=2><SPAN 
        style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
        face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
        title=jayco1@charter.net href="mailto:jayco1@charter.net">Jay 
        Vasallo</A> <o:p></o:p></SPAN></FONT></P></DIV>
        <DIV>
        <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
        style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
        face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
        title=cod@icculus.org href="mailto:cod@icculus.org">cod@icculus.org</A> 
        <o:p></o:p></SPAN></FONT></P></DIV>
        <DIV>
        <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
        style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
        face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
        Wednesday, January 12, 2005 12:44 AM<o:p></o:p></SPAN></FONT></P></DIV>
        <DIV>
        <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
        style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
        face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Re: 
        [cod] Screen and su question.<o:p></o:p></SPAN></FONT></P></DIV>
        <DIV>
        <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
        style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>
        <DIV>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Well he shows two users. 
        </SPAN></FONT><o:p></o:p></P></DIV>
        <DIV>
        <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
        style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
        <DIV>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Using username 
        "yuk".<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Authenticating with public 
        key "imported-openssh-key" from agent<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[yuk@yoda yuk]$ su 
        -<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Password:<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@yoda root]# su - coduo 
        -c screen<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><B><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Cannot 
        open your terminal '/dev/pts/6' - please 
        check.<o:p></o:p></SPAN></FONT></B></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@yoda root]# ls -la 
        /dev/pts<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">totaal 
        148<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">drwxr-xr-x&nbsp;&nbsp; 2 
        root root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 jan 11&nbsp; 2005 
        .<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">drwxr-xr-x&nbsp; 25 root 
        root 147456 jan 11 22:22 ..<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 1 
        cod&nbsp; tty&nbsp; 136, 0 jan 11 22:58 0<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 1 
        yuk&nbsp; tty&nbsp; 136, 1 jan 11 22:59 1<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 1 
        root tty&nbsp; 136, 2 jan 11 22:53 2<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 1 
        yuk&nbsp; tty&nbsp; 136, 3 jan 11 22:59 3<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw-------&nbsp;&nbsp; 1 
        yuk&nbsp; tty&nbsp; 136, 4 jan 11 22:59 4<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 1 
        yuk&nbsp; tty&nbsp; 136, 5 jan 11 23:00 5<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 1 
        yuk&nbsp; tty&nbsp; 136, 6 jan 11 23:00 6<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@yoda root]# 
        tty<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/dev/pts/6</SPAN></FONT><o:p></o:p></P>
        <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
        style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
        style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
        <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">He is probably the one using 
        them all with this script of his. If he is the only one..I say delete 
        them and start over. Screw trying to figure out why one user can't use 
        the other one. Have the same user start the same screen. Looks like he 
        did a "userdel" while he had open screens. I have done this myself...so 
        I say delete them, start his server. But of course everyone wants to 
        make a science project out of starting a simple coduo 
        server.</SPAN></FONT><o:p></o:p></P></DIV>
        <BLOCKQUOTE 
        style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message 
          ----- <o:p></o:p></SPAN></FONT></P></DIV>
          <DIV style="font-color: black">
          <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
          size=2><SPAN 
          style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
          face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
          <A title=killing@multiplay.co.uk 
          href="mailto:killing@multiplay.co.uk">Steven Hartland</A> 
          <o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
          style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
          face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
          <A title=cod@icculus.org 
          href="mailto:cod@icculus.org">cod@icculus.org</A> 
          <o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
          style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
          face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
          Tuesday, January 11, 2005 6:29 PM<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
          style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
          face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
          Re: [cod] Screen and su question.<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">LOL</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Erm dont delete them /me 
          slaps Jay around with some skills 
:P</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">They are owned by a 
          different user as that's the user u logged in 
          as.</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Your "terminal" is always 
          owned by the user u log in as. This is to 
          prevent</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">other&nbsp;people reading 
          your "screen".</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">What I suspect u really 
          want to do is to create a server under 
          screen</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">to do this use -m -d 
          e.g.</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">su -&nbsp;coduo -c "screen 
          -m -d &lt;server command&gt;"</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now if u want to login 
          like u have and reconnect to see whats 
          happening</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">you will need to give said 
          user access to your "terminal". To do 
          this</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">just use chown or chmod. 
          Once your done dont forget to 
          either:</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1. undo the permission 
          changes</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2. logout totally and then 
          reconnect ( u get a new "terminal" 
          ).</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face=Arial size=2><SPAN 
          style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; Steve / 
          K</SPAN></FONT><o:p></o:p></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
          <DIV>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt">----- Original Message ----- 
          <o:p></o:p></SPAN></FONT></P></DIV>
          <BLOCKQUOTE 
          style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
            <DIV style="font-color: black">
            <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
            size=2><SPAN 
            style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
            face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
            <A title=jayco1@charter.net href="mailto:jayco1@charter.net">Jay 
            Vasallo</A> <o:p></o:p></SPAN></FONT></P></DIV>
            <DIV>
            <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
            style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
            face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
            <A title=cod@icculus.org 
            href="mailto:cod@icculus.org">cod@icculus.org</A> 
            <o:p></o:p></SPAN></FONT></P></DIV>
            <DIV>
            <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
            style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
            face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
            Tuesday, January 11, 2005 10:56 
PM<o:p></o:p></SPAN></FONT></P></DIV>
            <DIV>
            <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
            style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
            face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
            Re: [cod] Screen and su question.<o:p></o:p></SPAN></FONT></P></DIV>
            <DIV>
            <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
            style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>
            <DIV>
            <P class=MsoNormal><FONT face=Arial size=2><SPAN 
            style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Delete them and start 
            again.</SPAN></FONT><o:p></o:p></P></DIV>
            <BLOCKQUOTE 
            style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
              <DIV>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message 
              ----- <o:p></o:p></SPAN></FONT></P></DIV>
              <DIV style="font-color: black">
              <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
              size=2><SPAN 
              style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
              face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
              title=yuk@xs4all.nl href="mailto:yuk@xs4all.nl">yuk</A> 
              <o:p></o:p></SPAN></FONT></P></DIV>
              <DIV>
              <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
              style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
              face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
              title=cod@icculus.org 
              href="mailto:cod@icculus.org">cod@icculus.org</A> 
              <o:p></o:p></SPAN></FONT></P></DIV>
              <DIV>
              <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
              style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
              face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Tuesday, January 11, 
              2005 4:03 PM<o:p></o:p></SPAN></FONT></P></DIV>
              <DIV>
              <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
              style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
              face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> [cod] Screen and su 
              question.<o:p></o:p></SPAN></FONT></P></DIV>
              <DIV>
              <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
              style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi 
              Guys,<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">With great joy I have 
              read all the posts in this lists and most of the information is 
              very valuable! Thank you all for 
that.<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now, the time has come 
              that I need some help. <o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I want to use screen 
              to monitor my server and have created a script to start it. 
              However, I have a problem with screen which I do not know how to 
              solve. It’s probably something trivial, but my UNIX knowledge is 
              not so great yet so I am quite stuck. Below is a snip let of what 
              I wanted to do and does not work.<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Using username 
              "yuk".<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Authenticating with 
              public key "imported-openssh-key" from 
              agent<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[yuk@yoda yuk]$ su 
              -<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Password:<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@yoda root]# su - 
              coduo -c screen<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><B><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Cannot 
              open your terminal '/dev/pts/6' - please 
              check.<o:p></o:p></SPAN></FONT></B></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@yoda root]# ls 
              -la /dev/pts<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">totaal 
              148<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">drwxr-xr-x&nbsp;&nbsp; 
              2 root root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 jan 11&nbsp; 2005 
              .<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">drwxr-xr-x&nbsp; 25 
              root root 147456 jan 11 22:22 ..<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
              1 cod&nbsp; tty&nbsp; 136, 0 jan 11 22:58 
              0<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
              1 yuk&nbsp; tty&nbsp; 136, 1 jan 11 22:59 
              1<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
              1 root tty&nbsp; 136, 2 jan 11 22:53 
2<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
              1 yuk&nbsp; tty&nbsp; 136, 3 jan 11 22:59 
              3<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw-------&nbsp;&nbsp; 
              1 yuk&nbsp; tty&nbsp; 136, 4 jan 11 22:59 
              4<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
              1 yuk&nbsp; tty&nbsp; 136, 5 jan 11 23:00 
              5<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">crw--w----&nbsp;&nbsp; 
              1 yuk&nbsp; tty&nbsp; 136, 6 jan 11 23:00 
              6<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@yoda root]# 
              tty<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/dev/pts/6<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In bold, you can see 
              that the screen command fails because it cannot open the 
              /dev/pts/6 pseudo terminal. That is correct because that terminal 
              is owned by the user YUK not the user CODUO which I have su’ed to 
              before calling screen.<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">If anyone can help me 
              out I would really appreciate it.<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Kind 
              regards,<o:p></o:p></SPAN></FONT></P>
              <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
              style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Yuk.<o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></BLOCKQUOTE>
          <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
          style="FONT-SIZE: 12pt"><BR>================================================<BR>This 
          e.mail is private and confidential between Multiplay (UK) Ltd. and the 
          person or entity to whom it is addressed. In the event of 
          misdirection, the recipient is prohibited from using, copying, 
          printing or otherwise disseminating it or any information contained in 
          it. <BR><BR>In the event of misdirection, illegible or incomplete 
          transmission please telephone (023) 8024 3137<BR>or return the E.mail 
          to postmaster@multiplay.co.uk. 
      <o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></BLOCKQUOTE>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"><BR>================================================<BR>This 
      e.mail is private and confidential between Multiplay (UK) Ltd. and the 
      person or entity to whom it is addressed. In the event of misdirection, 
      the recipient is prohibited from using, copying, printing or otherwise 
      disseminating it or any information contained in it. <BR><BR>In the event 
      of misdirection, illegible or incomplete transmission please telephone 
      (023) 8024 3137<BR>or return the E.mail to postmaster@multiplay.co.uk. 
      <o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BLOCKQUOTE><br>================================================<br>
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. <br>
<br>
In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137<br>
or return the E.mail to postmaster@multiplay.co.uk.</body></HTML>