Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Authentication of scheduled system-level shell script

Featured Replies

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:

  1. Added a system user to the host, set the password and made it a member of the "fmsadmin" group
  2. Made the new user the owner of the shell script file
  3. Verified file permissions were correct
  4. Modified the /etc/sudoers file as instructed here under Notes section.
  5. 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 by Kent Searight
update

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.