How do I change all Oracle profiles PASSWORD_LIFE_TIME to UNLIMITED?
You can simply do it in PL/SQL in a loop:

begin
  for c in (select distinct profile from dba_profiles)
  loop
    execute immediate 'alter profile ' || c.profile || ' limit password_life_time unlimited';
  end loop;
end;
/