<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.E-mailStijl17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=NL vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Well he shows two users. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</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></P></DIV>
<BLOCKQUOTE 
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=killing@multiplay.co.uk href="mailto:killing@multiplay.co.uk">Steven 
  Hartland</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> Tuesday, January 11, 2005 6:29 
  PM</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>LOL</FONT></DIV>
  <DIV><FONT face=Arial size=2>Erm dont delete them /me slaps Jay around with 
  some skills :P</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>They are owned by a different user as that's the 
  user u logged in as.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Your "terminal" is always owned by the user u log 
  in as. This is to prevent</FONT></DIV>
  <DIV><FONT face=Arial size=2>other&nbsp;people reading your 
  "screen".</FONT></DIV>
  <DIV><FONT face=Arial size=2>What I suspect u really want to do is to create a 
  server under screen</FONT></DIV>
  <DIV><FONT face=Arial size=2>to do this use -m -d e.g.</FONT></DIV>
  <DIV><FONT face=Arial size=2>su -&nbsp;coduo -c "screen -m -d &lt;server 
  command&gt;"</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Now if u want to login like u have and reconnect 
  to see whats happening</FONT></DIV>
  <DIV><FONT face=Arial size=2>you will need to give said user access to your 
  "terminal". To do this</FONT></DIV>
  <DIV><FONT face=Arial size=2>just use chown or chmod. Once your done dont 
  forget to either:</FONT></DIV>
  <DIV><FONT face=Arial size=2>1. undo the permission changes</FONT></DIV>
  <DIV><FONT face=Arial size=2>2. logout totally and then reconnect ( u get a 
  new "terminal" ).</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Steve / K</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>----- Original Message ----- </DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <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> Tuesday, January 11, 2005 10:56 
    PM</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>Delete them and start again.</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=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> Tuesday, January 11, 2005 4:03 
      PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> [cod] Screen and su 
      question.</DIV>
      <DIV><BR></DIV>
      <DIV class=Section1>
      <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></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. </BLOCKQUOTE></BODY></HTML>