How to set sql_safe_updates via my.cnf?
Turns out you can set it in the [mysqld] block. e.g.

[mysqld]
sql_safe_updates        = 1


Test it's set after you connect:

SHOW GLOBAL VARIABLES LIKE 'sql_safe_updates';