login makes /dev/ttySx inaccessible to intended owners

Gert Doering (gert@greenie.muc.de)
Wed, 24 Jan 1996 09:12:32 +0100


Hi,

Pilch wrote:
> Suppose user ebruehl of group ebsh logged in to my system by modem.  
> After logging out he will leave the modem device owner status changed:
> 
> <(dialog>
> 
> $ ls -l /dev/{modem,ttyS1}
> lrwxrwxrwx   1 uucp	uucp            5 Aug 20 11:58 /dev/modem -> ttyS1
> crw-rw----   1 ebruehl  ebsh       4,  65 Jan 23 12:38 /dev/ttyS1
> crw-rw----   1 ebruehl  ebsh       4,  65 Jan 23 12:38 /dev/ttyS1

Just read the manual. On Linux, *DO* *NOT* *USE* symlinks for the modem
devices. Use hard links, or use the "real" device directly.

This is a well-known problem, and it *is* explained in the manual.

gert
-- 
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-3545980 <---new!!!              gert.doering@physik.tu-muenchen.de