) gid=999(test) groups=999(test)
$ tmux
open terminal failed: /dev/ttyp4: Permission denied
$ ls -l `tty`
crw--w 1 hans tty5, 4 Sep 3 14:41 /dev/ttyp4
This happens on both 4.5 (tmux package) and 4.6 (base tmux).
(In fact, screen behaves the same in this respect
(test) groups=999(test)
$ tmux
open terminal failed: /dev/ttyp4: Permission denied
$ ls -l `tty`
crw--w 1 hans tty5, 4 Sep 3 14:41 /dev/ttyp4
This happens on both 4.5 (tmux package) and 4.6 (base tmux).
(In fact, screen behaves the same in this respect.)
Obviously, this doesn't
(wheel), 5(operator)
|
| $ su - test
| Password:
|
| $ id
| uid=1001(test) gid=999(test) groups=999(test)
|
| $ tmux
| open terminal failed: /dev/ttyp4: Permission denied
|
| $ ls -l `tty`
| crw--w 1 hans tty5, 4 Sep 3 14:41 /dev/ttyp4
|
| This happens on both 4.5 (tmux package
start tmux:
$ id
uid=1000(hans) gid=1000(hans) groups=1000(hans), 0(wheel), 5(operator)
$ su - test
Password:
$ id
uid=1001(test) gid=999(test) groups=999(test)
$ tmux
open terminal failed: /dev/ttyp4: Permission denied
$ ls -l `tty`
crw--w 1 hans tty5, 4 Sep 3 14:41
,
I noticed that being su'd to another user (who does not
own the terminal I am running in) I cannot start tmux:
$ id
uid=1000(hans) gid=1000(hans) groups=1000(hans), 0(wheel), 5(operator)
$ su - test
Password:
$ id
uid=1001(test) gid=999(test) groups=999(test)
$ tmux
open terminal
5 matches
Mail list logo