[TxMt] Re: rmate and sudo

Ingo Lantschner lists14 at lantschner.name
Sat Jul 5 20:11:30 UTC 2014


Am 05.07.2014 um 21:05 schrieb Allan Odgaard <mailinglist at textmate.org>:

> Or maybe you have setup RMATE_HOST/RMATE_PORT, in that case you’ll need to whitelist them. See ‘man sudoers’.

Thanks Allan - that took me a step further!

Just for the records:

1. You **must** tell sudo to keep at least RMATE_HOST
	
	$ sudo visudo
	… 

	Defaults env_reset 
	Defaults env_keep +="RMATE_HOST" 
	…

2. Seems as if `RMATE_HOST=auto` does not work this way. I had to set explicitly the host-IP; e.g. RMATE_HOST=192.10.11.13

Cheers, Ingo

-- 
Ingo Lantschner
1060 Vienna-Austria
Mobil +43-664-143 84 18



More information about the textmate mailing list