/dev/ttyS? dialin/dialout and modes.
I've just filed bug reports against mgetty, getty and getty-ps mentioning
that they should set the tty device to owner uucp:dialout, mode 0660.
Now I see that the bootfloppies have the /dev/ttySx devices owned by
root instead of uucp. I think this is a bug, but I don't know how
to file a bug report against the disks-i386 directory..
Note that UUCP still is an important subsystem, and that currently some
parts of it (uucico) are setgid dialout, and so other programs have to
be setuid uucp to call uucico etc. As not all programs of the uucp suite
were designed foor this I'm not quite sure it is 100% safe, so I think
the owner of the dialout devices should be uucp:dialout instead of root:dialout.
The same goes for makedev (actually /etc/makedev.cfg); should I file
a bug report against that as well?
As soon as that has been sorted out I think we can stop using /dev/cua*
totally; I've been using /dev/ttyS* exclusively for some time and
it seems to work fine (using mgetty for dialin and /etc/mgetty/login.config
setup to set the device owner/modes to uucp:dialout 0660. That should
be a compiled-in default).
| Miquel van | I know one million ways, to always pick |
| email@example.com | the wrong fantasy --- the Black Crowes |
| PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .