<[email protected]> wrote:

> Neil Bothwick <[email protected]> wrote:
> 
> > On Fri, 13 Mar 2015 15:16:28 -0400, German wrote:
> > 
> > > after searching, I found the following solution to chmod tty1,
> > > like so: chmod o+rw /dev/tty1 and this worked, I was able to use
> > > screen as a user, however it doesn't stay permanently; after
> > > reboot, I got the same problem. How to chmod tty1 so changes stay
> > > permenently? Thanks
> > 
> > /dev/tty1 is already group writeable, so you should get the same
> > result by adding your user to the tty group.
> 
> When I logged in as regular user then ownership of the tty that I
> used for log in is:
> 
> crw------- 1 wabe tty  4,  1 13. Mär 17:49 /dev/tty1
> 
> When I logged in as root, then owner is root (not surprising).
> 
> crw------- 1 root  tty  4,  2 13. Mär 23:47 /dev/tty2
> 
> Adding your user to group tty probably wouldn't resolve your problem
> (not tested), because group doesn't have any rights.
> 
> 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).

Forget about "chmod 770". Better do a "chmod g+rw". :-)

--
Regards
wabe

Reply via email to