[100] in linux-security and linux-alert archive
Re: tty permissions
daemon@ATHENA.MIT.EDU (Marek Michalkiewicz)
Fri Mar 10 15:14:49 1995
To: linux-security@tarsier.cv.nrao.edu
Date: Fri, 10 Mar 1995 16:57:42 +0100 (MEZ)
From: Marek Michalkiewicz <ind43@ci3ux.ci.pwr.wroc.pl>
In-Reply-To: <199503092115.QAA21847@proteus.cs.unc.edu> from "Rik Faith" at Mar 9, 95 04:15:57 pm
Reply-To: linux-security@tarsier.cv.nrao.edu
> This was done this way in util-linux because it is the standard way of
> doing things in the unix world. The trade-off seems to be between having a
Hmmm...
i17sunA:~$ mesg n
i17sunA:~$ ls -lg `tty`
crw------- 1 marekm tty 20, 2 Mar 10 16:54 /dev/ttyp2
i17sunA:~$ mesg y
i17sunA:~$ ls -lg `tty`
crw--w---- 1 marekm tty 20, 2 Mar 10 16:54 /dev/ttyp2
i17sunA:~$ ls -lg /usr/bin/write
-rwxr-sr-x 1 root tty 16384 Oct 11 1990 /usr/bin/write
i17sunA:~$ uname -a
SunOS i17sunA 4.1.1 1 sun4c
> I'll look into changing this for the next util-linux release.
Thanks!
--
Marek Michalkiewicz
marekm@i17linuxa.ists.pwr.wroc.pl || ind43@ci3ux.ci.pwr.wroc.pl