Re: [XFree86] Re: xterm utmp question

2003-07-09 Thread Jay R. Ashworth
On Tue, Jul 08, 2003 at 06:24:41PM -0400, war wrote:
 On Tue, 8 Jul 2003, Thomas E. Dickey wrote:
  On Tue, 8 Jul 2003, war wrote:
   Slackware Linux 9.0
 
  on Slackware, utmp is owned by root, so xterm has to be setuid'd to root
  so it can modify that file:
 
  -rws--x--x1 root bin246588 Mar  2 02:52 /usr/X11R6/bin/xterm

 Ah, thank you!

I don't suppose I have to explain why that's a Really Bad Approach.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Member of the Technical Staff Baylink RFC 2100
The Suncoast Freenet The Things I Think
Tampa Bay, Floridahttp://baylink.pitas.com +1 727 647 1274

   OS X: Because making Unix user-friendly was easier than debugging Windows
-- Simon Slavin, on a.f.c
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: xterm utmp question

2003-07-08 Thread war
Slackware Linux 9.0

GCC 3.3


On Tue, 8 Jul 2003, Thomas E. Dickey wrote:

 On Tue, 8 Jul 2003, war wrote:

  I build the latest xterm (xterm-179) from
  http://invisible-island.net/xterm/.
 
  With and without --with-utemper option.

 What type of system?  (Linux, Unix, etc).

  [EMAIL PROTECTED]:~$ w
   12:05:27 up 18 min,  1 user,  load average: 0.13, 0.54, 0.62
  USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
  [EMAIL PROTECTED]:~$
 
  (this is with the one I built)
 
  [EMAIL PROTECTED]:~$ /usr/X11R6/bin/xterm
  [EMAIL PROTECTED]:~$ w
   12:05:47 up 19 min,  2 users,  load average: 0.30, 0.55, 0.62
  USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
  war  pts/7 12:050.00s  0.03s  0.01s w
  [EMAIL PROTECTED]:~$
 
  [EMAIL PROTECTED]:~$ ps auxww|grep xterm|wc
8 1551146
  [EMAIL PROTECTED]:~$
 
  How come my xterms do not show up when I type w or who, etc?
  But using the /usr/X11R6/bin/xterm works fine?
 
 

 --
 T.E.Dickey [EMAIL PROTECTED]
 http://invisible-island.net
 ftp://invisible-island.net

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: xterm utmp question

2003-07-08 Thread Thomas E. Dickey
On Tue, 8 Jul 2003, war wrote:

 Slackware Linux 9.0

on Slackware, utmp is owned by root, so xterm has to be setuid'd to root
so it can modify that file:

-rws--x--x1 root bin246588 Mar  2 02:52 /usr/X11R6/bin/xterm

 GCC 3.3


 On Tue, 8 Jul 2003, Thomas E. Dickey wrote:

  On Tue, 8 Jul 2003, war wrote:
 
   I build the latest xterm (xterm-179) from
   http://invisible-island.net/xterm/.
  
   With and without --with-utemper option.
 
  What type of system?  (Linux, Unix, etc).
 
   [EMAIL PROTECTED]:~$ w
12:05:27 up 18 min,  1 user,  load average: 0.13, 0.54, 0.62
   USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
   [EMAIL PROTECTED]:~$
  
   (this is with the one I built)
  
   [EMAIL PROTECTED]:~$ /usr/X11R6/bin/xterm
   [EMAIL PROTECTED]:~$ w
12:05:47 up 19 min,  2 users,  load average: 0.30, 0.55, 0.62
   USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
   war  pts/7 12:050.00s  0.03s  0.01s w
   [EMAIL PROTECTED]:~$
  
   [EMAIL PROTECTED]:~$ ps auxww|grep xterm|wc
 8 1551146
   [EMAIL PROTECTED]:~$
  
   How come my xterms do not show up when I type w or who, etc?
   But using the /usr/X11R6/bin/xterm works fine?
  
  
 
  --
  T.E.Dickey [EMAIL PROTECTED]
  http://invisible-island.net
  ftp://invisible-island.net
 


-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: xterm utmp question

2003-07-08 Thread war
Ah, thank you!

On Tue, 8 Jul 2003, Thomas E. Dickey wrote:

 On Tue, 8 Jul 2003, war wrote:

  Slackware Linux 9.0

 on Slackware, utmp is owned by root, so xterm has to be setuid'd to root
 so it can modify that file:

 -rws--x--x1 root bin246588 Mar  2 02:52 /usr/X11R6/bin/xterm

  GCC 3.3
 
 
  On Tue, 8 Jul 2003, Thomas E. Dickey wrote:
 
   On Tue, 8 Jul 2003, war wrote:
  
I build the latest xterm (xterm-179) from
http://invisible-island.net/xterm/.
   
With and without --with-utemper option.
  
   What type of system?  (Linux, Unix, etc).
  
[EMAIL PROTECTED]:~$ w
 12:05:27 up 18 min,  1 user,  load average: 0.13, 0.54, 0.62
USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
[EMAIL PROTECTED]:~$
   
(this is with the one I built)
   
[EMAIL PROTECTED]:~$ /usr/X11R6/bin/xterm
[EMAIL PROTECTED]:~$ w
 12:05:47 up 19 min,  2 users,  load average: 0.30, 0.55, 0.62
USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
war  pts/7 12:050.00s  0.03s  0.01s w
[EMAIL PROTECTED]:~$
   
[EMAIL PROTECTED]:~$ ps auxww|grep xterm|wc
  8 1551146
[EMAIL PROTECTED]:~$
   
How come my xterms do not show up when I type w or who, etc?
But using the /usr/X11R6/bin/xterm works fine?
   
   
  
   --
   T.E.Dickey [EMAIL PROTECTED]
   http://invisible-island.net
   ftp://invisible-island.net
  
 

 --
 T.E.Dickey [EMAIL PROTECTED]
 http://invisible-island.net
 ftp://invisible-island.net

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: xterm utmp question

2003-07-08 Thread Thomas E. Dickey
On Tue, 8 Jul 2003, war wrote:

 Ah, thank you!

no problem

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86