Is there a way to run a windows local service with the integrated account NT AUTHORITY/SYSTEM ? (basically specify the "log on as" as NT AUTHORITY/SYSTEM)
Thanks,
Fred
Related
I run an automatin scenario Login into a website (Google IAP Login). I need to cache the cookies and storage so that on next automation no need to do Google IAP Login.
This automation run on docker, OS: Ubuntu.
Docker:
CHROME_ARGS="--disable-gpu --headless --no-sandbox --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 --user-data-dir=/chromedata --disable-dev-shm-usage --window-size=1366,768"
Selenium config:
Capybara.register_driver :docker do |app|
chrome_opts = Selenium::WebDriver::Chrome::Options.new
chrome_opts.add_argument("--user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36"")
chrome_opts.add_argument('--headless')
chrome_opts.add_argument('--remote-debugging-port=9222')
chrome_opts.add_argument('--remote-debugging-address=0.0.0.0')
chrome_opts.add_argument('--no-first-run')
chrome_opts.add_argument('--disable-web-security')
chrome_opts.add_argument('--enable-automation')
chrome_opts.add_argument("--user-data-dir=/path/to/folder")
client = Selenium::WebDriver::Remote::Http::Default.new
client.open_timeout = wait_time
client.read_timeout = wait_time
Capybara::Selenium::Driver.new(
app,
browser: :chrome,
options: chrome_opts,
http_client: client
)
end
chrome://version
After I execute the automation, and use the generated user profile. I still redirect to Google IAP Login (I assume that some cache not saved correctly, because the are no ../Service Worker/CacheStorage on profile folder)
Note: This docker and the generated profile data works when I did scenario login manually
I am working with ready spree shop site. It is worked fine on production deploy, from this source code tree. But in development it asks basic auth. Database is backup form production. Users account which is worked on production are not helps pass this basic auth. It looks slike this:
Rails console:
192.168.0.1 - - [28/Jan/2020:14:52:28 +0000] "GET / HTTP/1.0" 401 - 0.0271
Nginx log:
192.168.0.1 - - [28/Jan/2020:17:52:28 +0300] "GET / HTTP/1.1" 401 0 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"
Nginx error log is empty
What is this? How to run it properly? How to find and fix this feature or oprion? What "Beta access" string from dialog window on screen is about? What can I do to make situation more clear?
I selected bellow area and pressed command+C.
cloud shell capture
Following string is pasted from my clipboard.
You are viewing an offline list of runtimes. For up to dat
My browser is Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
This is a known limitation.
Note: FireFox/IE may not support clipboard permissions properly.
For more details, refer "Limitations of Azure Cloud Shell".
we are using a Gerrit Server to manage our Repos. In addition we use the Gitblit Plugin as an addition to browse these Repos.
Since Gitblit version 1.4.0 it should be possible to show a Branch Graph (something equivalent to 'git log --graph') next to the name of the branches.
Everything seems to be working fine so far. But the Image of the Branch Graph cannot be loaded. It's like this for every project.
When looking in the logs i can't find anything in der ERROR_LOG but the HTTPD_LOG shows the following Message:
192.168.XXX.XXX - - [12/Mrz/2014:09:22:01 +0100] "GET
/plugins/gitblit/graph/?r=project.git&h=b000f099495c6e9ebe84b862ff8f7c518af4b3c1&l=20
HTTP/1.1" 404 9
"http://192.168.XXX.XXX:8080/plugins/gitblit/summary/?r=project.git"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
Does anyone have an idea what could be the problem?
Or has some other ideas where i can look for the problem. I'm pretty clueless without anymore information.
I hope you can help me
Cheers
Andi
It's a bug in the gitblit plugin. See https://code.google.com/p/gerrit/issues/detail?id=2942 That bug report contains a patch to fix this.
Is it possible to deploy a stand-alone dbexpress NT service using RAD Studio 2010 with Oracle as the database?
DBExpress uses external drivers for its database access. You would have to deploy the Oracle DBX driver with your service. You cannot compile it directly into the service executable (unless you place it in the executable's resources and then extract it at runtime before using DBX).