I was wondering if it was possible to publish a single program via SSH. So say you wanted to have a user called log_man and when they logged in via SSH all they got was 'tail -f /var/log/messages' and that's it. They weren't able to quit to a shell, all they were able to do is login via SSH and immediately got a running tail of the log files. If they tried to quite from tail to gain shell access then it would either give some sort of error message or just drop the ssh session.
Is there an easy way of doing this ?