In article <1803@news.duke.edu> I wrote:
>biff doesn't work for any user. Even though it is set in the .login,
>and if you type "biff" it returns "is y", there is no mail notification.
>It used to work, but for no apparent reason it has stopped.
The basic answer to this is that /usr/etc/in.comsat must be running, and
/etc/inetd.conf and /etc/services must permit biff.
Also, peter@engr.Trinity.EDU (Peter Vafeades) pointed out that
One reason why this may not be working is if your machine is not
the mail server... If your mail goes to a spool directory which is
exported and mounted on other machines on the network (NIS domain)
biff will not work unless you are logged on to the mail server.
In my case, these were not the problems, I don't know what was, and since I
rebooted (a good default action I always say) it has worked fine.
>Second, on the console, running OpenWindows 3.0, it doesn't seem to think
>I own my own windows. If I type "biff" I get "is n" even though the
>same command from a different terminal (remote or non-OpenWin console)
>gets "is y". And trying to change it I get an error:
>
>% biff y
>/dev/ttyp6: Not owner
If I do an "ls -l" of /dev/ttyp6, I see that root owns the terminal,
unlike many non-OpenWindows terminals. Because OpenWindows cannot
change the execute bit of the terminal (since OW doesn't have setuid
root privileges and root owns it), biff cannot be changed from within
OpenWindows.
I found this to be the case with OW v. 3.0 -- though I don't remember
it happening with OW v. 2.0, it may have been that way then too.
I tried to make OpenWindows have permission to setuid root (by
"chmod u+s" on openwin, xterm, and several other files I thought
might be relevant). This either did nothing or bombed OW (and
probably created a security risk), so I gave up on that option.
Basically I settled on the fact that biff must be changed before OW is
called (via .login, most likely) or after (via an rlogin or telnet
session, which are not owned by OW). Another option is to get a
different mail-notification tool such as xbiff.
Thanks to all who responded (at least that I can remember):
jfowler@beta.lanl.gov (John C. Fowler)
Brian Fitzgerald <fitz@mml0.meche.rpi.edu>
an12370@odin.mda.uth.tmc.edu (David C. Tuttle)
rouilj@dl5000.bc.edu (John P. Rouillard)
cote@cg.emr.ca (Tim Cote)
jfowler@beta.lanl.gov (John C. Fowler)
sam@kanga.cs.adelaide.edu.au (Sam Sangster)
peter@engr.Trinity.EDU (Peter Vafeades)
evan@fsg.com (Evan Marcus)
S.vanderZee@research.ptt.nl (Siebren van der Zee)
Dave Lewney <dml@unix.brighton.ac.uk>
-- ________________________________________________________________________ | John jfw@neuro.duke.edu Duke University Medical Center | | Whitehead jfw@well.sf.ca.us Department of Neurobiology | |________________________________________ Durham, North Carolina ________|
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:39 CDT