ordinary user can send an SSH command using root
ive been trying to find a way on how to do this.
as you see, i created a command (an ssh command with port forwarding) for other branch servers to connect to the main server. the other branches will only click on their desktop to connect to the main server with an ssh command. this user account is just an ordinary account due to autologin of the account.
the problem is, i need to port forward a privilege port (such as port 80) like "-L 80:192.168.0.0:80". and only a root user can use this port.
how will i forward a port to a privilege port without changing the privilege of the user? except for this ssh command.