"write" and tty device perms

Alexander E. Patrakov patrakov at ums.usu.ru
Tue May 16 00:39:16 PDT 2006

Archaic wrote:
> Util-linux installs the write program sgid to the tty group. In order to
> use this program, however, /etc/login.defs needs one modification.
> TTYPERM         0600
> needs to be
> TTYPERM         0620
> Since we already sed login.defs during its installation, I propose
> adding this to the sed. Any objections?

No, this default simply means "please don't clobber my screen". A person who 
wants to receive messages must run "mesg y".

Of course, this default and the possibility to change it can be explained in the 
book. I do object to silently changing the default.

Alexander E. Patrakov

More information about the lfs-dev mailing list