+add_profiles() {
+ # Solaris only: Add a comma separated list of rights profiles to the
+ # $amanda_user. Replaces any existing profiles listed on the account.
+ log_output_of usermod -P "\"$*\"" ${amanda_user} || {
+ logger "Warning: Rights profiles were not added. Some types of backup may not work until these rights profiles are givent to ${amanda_backup}: '$*'"
+ return 1; }
+}
+