Bug#367432: initscripts: Still different TTY permissions in /etc/login.defs and /etc/default/devpts

Dmitry Bogatov KAction at debian.org
Tue Jul 30 01:59:34 BST 2019

control: tags -1 +help +pending

[2012-11-22 20:32] Roger Leigh <rleigh at codelibre.net>
> On Thu, Nov 22, 2012 at 10:16:01AM +0100, Jan Sievers wrote:
> > The mentioned difference still exists.
> In the current version (2.88dsf-34), /etc/default/default/devpts
> defaults to 0620.  /etc/login.defs is setting TTYPERM 0600.
> The devpts setting appears to be taking precedence; not sure why
> since this is just a mount option for devpts, while the TTYPERM
> should take effect at login time.  Might be worth asking the
> login maintainer or seeing why it's not being used.
> > While most people probably don't care about bsd-write and Co., an
> > administrator of a multiuser machine should.
> > 
> > Since it has become quite uncommon to use these programs, a default of
> > 
> > TTYMODE=0600
> > 
> > would result in one thing less to think about.

Okay. I do not have strong opinion on this matter, but if
/etc/login.defs recommends 0600, lets change to 0600.

Anyone around who is going to be disappointed?
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.

More information about the Debian-init-diversity mailing list