Oko
Contributor
- Joined
- Nov 30, 2013
- Messages
- 132
By default sudo typically ask for password and more over requires tty. However there is a situation in which this is not desirable. Namely let suppose that I am trying to use rsnapshot to backup something from my FreeNAS box. As you know rsnapshot has to log with ssh-key only and most commonly become a root for the purpose of backup in order to read directories. It also doesn't use tty. Obviously this is very dangerous and bunch of options have to be specified in ssh-key to limit the potential vector of attack. Is there a way to change sudo defaults in FreeNAS?