[4091] in RedHat Linux List
Re: permissions of 'wall'
daemon@ATHENA.MIT.EDU (Alan Shutko)
Tue Nov 12 14:49:31 1996
To: redhat-list@redhat.com
From: Alan Shutko <ats@wydo125.wustl.edu>
Date: 12 Nov 1996 13:45:21 -0600
In-Reply-To: Borg's message of Tue, 12 Nov 1996 10:32:23 -0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>>>>> "B" == Borg <vladimip@iceonline.com> writes:
B> Robert Hart wrote: ........
>> Blech - that's terrible. chmod 550 /usr/bin/wall
>>
>> That gets rid of that one...now, is there a problem with this?
B> Yes, there's. Any user can d-load his own copy of wall.
B> :)
No, they can't.
$ ls -al /dev/ttyp* `which write` `which wall`
crw--w---- 1 ats tty 3, 0 Nov 12 13:40 /dev/ttyp0
crw-rw-rw- 1 root root 3, 1 Nov 11 22:58 /dev/ttyp1
crw--w--w- 1 ats users 3, 2 Nov 12 13:30 /dev/ttyp2
crw-rw-rw- 1 root root 3, 3 Nov 12 01:27 /dev/ttyp3
crw-rw-rw- 1 root root 3, 4 Nov 12 10:08 /dev/ttyp4
crw-rw-rw- 1 root root 3, 5 Nov 12 00:37 /dev/ttyp5
crw--w---- 1 drac tty 3, 6 Nov 12 13:26 /dev/ttyp6
crw--w---- 1 jer tty 3, 7 Nov 12 13:25 /dev/ttyp7
-r-xr-xr-x 1 root root 4996 Oct 22 17:11 /usr/bin//wall
-rwxr-sr-x 1 root tty 7036 Oct 25 10:18 /usr/bin//write
Unless you are mesg y, nobody can bother you if you take away write,
since it's a priveledged command.
And if that doesn't satisfy you, just nuke the account of anyone who
is so blatantly antisocial. Technology is not always the solution to
social problems. (And if you are at a school or something where
nuking isn't an option, see Acceptable Use Policy.)\
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null