Jump to content
Server Maintenance This Week. ×

Administrator Groups and FMSAdmin Command Line


This topic is 4356 days old. Please don't post here. Open a new topic instead.

Recommended Posts

We are trying to set up a command line script that will allow us to gracefully close all the Filemaker databases on our FMS11 Advanced Server (on Windows Server 2008 R2) in the event of a signal from the UPS that the power is out. We've got this running successfully, but a critical security issue for us is that we have to embed the Server admin password as clear text in the Command line batch file, which we are unhappy to do.

According to the section on Configuring Administrator Groups in the FMS11 Server help file, we can set up an secondary administrator account which can be given the permissions to close all the databases. This works if we log into the Admin Console, where that account can stop and start the databases at will. However if we use the userID and password of this secondary account in the Command Line, the fmsadmin command fails, "Permission Denied"

Is it possible to run FMS Server Admin from the command line with a secondary account? If so, are there associated domain login or external authenication requirements we need to observe when running the command line file?

Thanks

Brian Rich

Link to comment
Share on other sites

One way of doing it is to use a real programming environment so that you'd have compiled code instead of text-based code.

Thanks for that. I compiled a job using WinAutomation which 'types' the FMSAdmin command into the command line.

That works fine.

Brian

Link to comment
Share on other sites

This topic is 4356 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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