On 8 May 2009, at 18:20, Andrew Hall wrote: > So my question is... > > Can there be a second user on the master for the tunnel as opposed to > the nagios user ? > > For example... > > nagios user on slave --> SSH --> nagios2 user on master > > This second user could have a restricted shell and we could keep a > regular shell for the nagios user. Everyone's happy.
Yes, I think this is possible. In /usr/local/nagios/bin/rc.opsview, the start section with the autossh says to ssh to nag...@$master. Change that to nagi...@$master. If this works, we can parameterise that username for a config file on the slave. The ssh on the slave is required to setup the tunnel for the master to communicate back. The master then will login to the slave as the nagios user. This means the reverse tunnel does not need to the nagios user at the master end. Ton _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users
