there is a a computer (homeserver) in the lan (24/4 on) with speakers connected.
the linux system can play music with the programm "mocp" (music on console).
i would like to give other users in the lan access to moc to play music.
they should connect with ssh to the computer.
but there must be a user they only can run the
moc
programm, if it ends, the ssh connection must end.
there is a specific directory (with the music to play) only this should moc
and the ssh user see and use.
(if moc starts, it can be disconnected with "q" or with "Q" quit.)
is this possible, and how?
Asked by user447274
(539 rep)
Sep 29, 2024, 09:04 AM
Last activity: Sep 29, 2024, 09:07 AM
Last activity: Sep 29, 2024, 09:07 AM