[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which are the permitions for /dev/tty?

mode 666 should be korrekt for /dev/tty 
(it's a kernel redirektor to the real tty of one program. any program should
 be able ro read/write to it. at least this is how i understand stevens, unix
 network programming (volume 1), page 36.

i strongly recommend to drop group "sys" at all : it's of no use.
(only device files are owned by it - group "root" would suite better, 
 since there are no setgid sys applications, and allowing read/write
 is as good or bad as gigving someone your root password. at least you
 can crash X via group sys (mouse devices), in some cases the whole machine,
 you have access to isdn and to all tty* and pty* devices. so sniffing other 
 peoples telnet/whatever connections is possible via this).

sure, group sys doesn't hurt. unless you forget somewhere to block access to
it. for example nfsd only protects root.root by default. it doesn't know
group sys...

Will Internet-SPAM be legalized in Europe on March, 29th? Prohibit that at
Wird Internet-SPAM am 29. März in Europa legalisiert? Verhindern Sie es unter


    Deine Stimme gegen SPAM! - Votez contre le SPAM! - Vote against SPAM!

Reply to: