Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!umich!ox.com!mudos!mju From: mju@mudos.ann-arbor.mi.us (Marc Unangst) Newsgroups: comp.unix.questions Subject: Re: ps and wall; How do they work? Message-ID: <27XgP3w163w@mudos.ann-arbor.mi.us> Date: 14 Sep 90 04:29:00 GMT References: <13850@smoke.BRL.MIL> Organization: The Programmers' Pit Stop, Ann Arbor MI Lines: 23 gwyn@smoke.BRL.MIL (Doug Gwyn) writes: > Any version of "wall" that writes on terminals that have had "mesg n" > executed on them is BROKEN. You can fix that by removing /bin/wall. I disagree. When you're shutting the system down, it's definitely a good idea to let the other people on it know at least a few minutes in advance about the shutdown. If they have write perms turned off and /bin/wall won't tell them about it, how do you notify them? Phone each of them individually? Manually echo(1) a message to their terminal? If /bin/wall is sending messages to depermitted terminals when the user isn't the superuser, that's different. But just like with write(1), the superuser should be able to send messages even to users who have done a "mesg n". Better yet, since the ordinary user has little or no use for wall(1), just move /bin/wall to /etc/wall and permit it 700. -- Marc Unangst | "da-DE-DA: I am sorry, the country you have mju@mudos.ann-arbor.mi.us | dialed is not in service. Please check the ...!umich!leebai!mudos!mju | number and try again." -- Telecom Kuwait