Neil W Rickert <[EMAIL PROTECTED]> writes:
> >according to the jerry peaks book rcvtty will send
> >a message to all shells listed in my /var/run/utmp
> >file, which doesnot seem to be ascii file so i can't
> >see which shells are registered.
> 
> The 'who' command lists this.
> 
> >one possible problem is that when i run 'who' i get
> 
> >%who
> >simon    tty1     Apr 20 18:22
> 
> >but there are 4 xterms up so i'm not sure why they
> >don't get mentioned in the who output.
> 
> That depends on how you start xterm.  The '-ut' and '+ut' operands
> can set whether an entry is made in utmp.  (Offhand, I don't remember
> which is which).  Also your .Xdefaults can turn this on or off.

And (if Redhat is like other UNIXes I'm familiar with), xterm needs to be
installed suid root, or it won't have permission to write to the utmp file.

-----------------------------------------------------------------------
Dan Harkless                   | To prevent SPAM contamination, please 
[EMAIL PROTECTED]      | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW.  Thank you.     

Reply via email to