June 18, 20214 yr I have a shell script that I want to run as a scheduled system-level script on FMS 19 on Linux. When I call the script from a Terminal it works as expected. But when I try to run it as a scheduled script I get "Error 732 my-server.com Schedule "myScript" aborted; invalid account name or password." It's in the correct FMS Scripts directory I'm trying to run it as the default user "fmserver" The file is owned by fmserver file permission is 755 What am I missing here? Am I expected to authenticate in the script? If so, which credentials? The ones I use to authenticate when I use fmsadmin commands in the CLI? Thanks in advance! -Kent Update 6/18/20121 I tried this: Added a system user to the host, set the password and made it a member of the "fmsadmin" group Made the new user the owner of the shell script file Verified file permissions were correct Modified the /etc/sudoers file as instructed here under Notes section. Entered the new user's credentials in the FMS admin console (tried as just the user name, then tried as [email protected]) I'm still seeing authentication errors in the FMS Event.log that are preventing the script to run. When I try to run it as just the username I get "Warning 522 my-host.com SECURITY: Administrator authentication failed: "myNewUser [10.0.0.137]" (fmsadmin)" When I try to run it as [email protected] I get "Error 732 my-host.com Schedule:my schedule aborted; invalid account name or password" Edited June 18, 20214 yr by Kent Searight update
Create an account or sign in to comment