`conspy` permission requirements

Hello! I am setting up a minecraft server, and i have gotten it to work, but i need to access the console. I added this to the systemd service file:

StandardInput=tty-force
TTYVHangup=yes
TTYPath=/dev/tty20
TTYReset=yes

I have a dedicated user for the server, which the service runs on. This means the owner of /dev/tty20 is that user, and the tty group. The plan was to then access this TTY using conspy, but running conspy 20 from that user gives a permission denied error. I want to be able to access the tty like this from that user, without giving it root. Is it possible?

you should probably ask the conspy developer what it needs to be able to run without root/sudo privileges. conspy / Tickets

1 Like