On Fri, 13 Mar 2015 23:22:50 +0000, Neil Bothwick wrote:

> Interesting, here, as a normal user:
> 
> % ls -l /dev/tty1
> crw--w---- 1 root tty 4, 1 Mar 13 22:26 /dev/tty1
> 
> > So it seems that after login you first have to chmod 770 the tty
> > before you do a su - user (user have to be in group tty of course).
> > 
> > Maybe it would ease things when you write a little script for this
> > procedure.  
> 
> A udev rule would be less kludgy.

I have this in /lib/udev/rules.d/50-udev-default.rules:

SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"


-- 
Neil Bothwick

Windows Error #09: Game Over. Exiting Windows.

Attachment: pgpxfz3Tlkmga.pgp
Description: OpenPGP digital signature

Reply via email to