Article View: comp.sources.d
Article #53msgs help
From: Stephen Walton
Date: Tue, 07 Apr 1992 20:50
Date: Tue, 07 Apr 1992 20:50
24 lines
1708 bytes
1708 bytes
I recently FTP'd the msgs(1) package from the bsd-sources archives at ftp.uu.net. It is now running on our system (SunOS 4.1.1 on Sun 3 machines). However, I need a bit of help with it. msgs doesn't wait at the end of the last message, though the source implies it should. This is a problem if a user starts a windowing system from .login after running msgs: the last message is erased before s/he has a chance to read it. msgs only allows root to post. This is (probably) OK, but there seem to still be file permission type problems. Does msgs need to be setuid something? The docs say that if the msgs limits file is corrupt, deleting it is OK, because it will be regenerated the first time msgs is run again. This only happens if msgs has write access to the msgs directory. If I do this (for example, by making msgs setuid daemon (is that safe?) and making the directory owned by same), I find that non-root users can't post messages, but an attempt to do so corrupts the limits file. Are these well known? Are there fixes? I'm finding the source to be "optically thick" (an astronomical term). -- Stephen Walton, Dept. of Physics & Astronomy, Cal State Univ. Northridge "Anyone who remembers the sixties probably wasn't there."---Robin Williams
Technical Details
Message-ID:
<1992Apr7.205006.2052@csun.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!nic.csu.net!csun.edu!corona!swaltonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!nic.csu.net!csun.edu!corona!swalton Newsgroups: comp.sources.d Subject: msgs help Message-ID: <1992Apr7.205006.2052@csun.edu> From: swalton@corona.csun.edu (Stephen Walton) Date: Tue, 7 Apr 1992 20:50:06 GMT Reply-To: swalton@solaria.csun.edu Sender: usenet@csun.edu Organization: California State University, Northridge Summary: Need fixes for msgs(1) from bsd-sources Lines: 24