Where is the documentation for this new feature?
Originally posted here: BigFix 9.5 Patch 5 is now available - #5 by steini44
Where is the documentation for this new feature?
Originally posted here: BigFix 9.5 Patch 5 is now available - #5 by steini44
That is a good question!!
Please see the ārunas=localuserā override option: https://developer.bigfix.com/action-script/reference/execution/override.html
RunAs=localuser specifies a user different from the logged on user.
user=<username> or {relevance to describe the username} where the username specified must be either local or listed in local accounts.
So from the documentation, this is not possible with domain accounts? You need to create a local user first with Administrator rights (because I think this will be most of the time the case why we want a āspecified userā to run an action ā Admin on the pc, but not system account)? Or if they are in a Group on the computer (like Administrator Group or User group), will that be ok too?
Can you clarify please?
I believe you should be able to specify a domain user using the following format: user@domain.com (but I will test to verify).
Ok, perfect. Iāll test also tomorrow in my test environment.
Thanks!
That was the intent with the feature that domain accounts should be usable. What was your testing able to show?
Iāve looked into it last real quick last week, but didnāt get it to work.
Iāve tried the following:
But in the log I have following error:
Command failed (Override value is unknown for this keyword.) override RunAs=localuser (action:8088)
Iāv also tried RunAs=user@domain.com, but same errorā¦ (except that =localuser is changed by user@domain.com in the error)
Is there an example available on how to use it?
The message seem to indicate the value ālocaluserā for keyword RunAs is not recognized. Are you sure you are using 9.5.5?
Also, I believe keyword Password is required for Windows. (When I ran the same override with 9.5.5.193 FixletDebbuger, I got the message āRunAsLocalUser in Windows requires the keyword 'password' to be speicifed.
ā)
Hi @akira
Can you post that part of your script? Maybe iām missing somethingā¦
The version that matters is the version of Agent, not Console.
From 9.5.5.193 Agent, I got following in the log:
At 17:53:09 +0900 - actionsite (http://mycompany.test.local:52311/cgi-bin/bfgathe
r.exe/actionsite)
Command succeeded override wait (action:40)
Command succeeded override hidden=true (action:40)
Command succeeded override RunAs=localuser (action:40)
Command succeeded override user=aaa@bbb (action:40)
Command succeeded override completion=job (action:40)
Command failed (RunAsLocalUser in Windows requires the keyword 'password' to be specified.) wait test.bat (action:40)
Yes, ofcourseā¦ didnāt think of that, didnāt upgrade the agent yet
edit: is there no upgrade fixlet for the client? latest I see is 9.5.4?
I can see client deployment tool 9.5.5, but isnāt there one for the client?
Hi @steini44
Unfortunately 9.5.5 client is not available right now but hopefully available again soon. Please check following thread:
Thanks for the update, missed that one iāll install the client manually for my test machine, iāll let you know if it works.
The agent update worked and it can read, but I still have an error:
Command failed (LogonUser() failed) wait (action:8094)
This is my action:
Iāve tried following things for user:
user=user@domain.com
user=user
user=Domain\user
But no luckā¦ Any idea?
Somehow I thought domain account is supported, but I realized that https://developer.bigfix.com/action-script/reference/execution/override.html says "username specified must be either local or listed in local accounts."
So I suppose domain account is not supported.
Well, that was my original question
The domain account should be supported but the statement should reflect that the user needs to have logged onto the machine at some point. So if the domain user has never logged onto the endpoint it wouldnāt have a registry hive local to the machine.
Hmmmā¦ Then thatās not very handy, is it? So even if Iām creating a service account for software deployment, that would mean that I need to log in on 18k devices first so that I can use that account? Are there any plans to change this so that it just looks in the Local Groups (like Administrator) and see if itās there?
Where will I find documentation of the āRun As Specified Userā capability? Site search and Google search have failed me.
Sincerely,
David