Questions tagged [elevated-privileges]
Elevated privileges are higher privileges, offered by an operating system, usually higher than normal user's privileges.
elevated-privileges
413
questions
0
votes
0
answers
45
views
Delete file using AppleScript as root with administrator privileges does not work if file was created/downloaded by user, not root
I need to solve the following problem on macOS: I must work with some files using a combination of AppleScript and Shell.
For example, I have a file in the file system in folder /Users/username/...
0
votes
0
answers
18
views
Is there a way of getting elevated access (sudo) on linux using microsoft azure/authenticator or something similar for 2FA?
We are looking for a way of replacing Yubikey KSM which has been EOL for a while. Does anyone know a way of maybe using Microsoft authenticator for getting elevated access for users or any other OTP?
...
1
vote
2
answers
125
views
Run Powershell with parameters from batch file
For convenience of use, I need to put my powershell script in a bat file. The bat file content is as follows:
# 2>NUL & @CLS & PUSHD "%~dp0" & powershell -COMMAND "Start-...
0
votes
1
answer
61
views
Process started by Azure DevOps interactive environment agent ends when pipeline-job finishes
I want to deploy a long-running C#-executable to a Windows Server 2019 machine using Azure DevOps pipelines. The executable needs to run elevated and call an external application that cannot run in ...
0
votes
1
answer
122
views
How can I add a "Open Powershell Here as SYSTEM" command to my context menu that will open to the current directory as NT Authority\SYSTEM?
I have the following registry entry that creates a context menu to open a powershell shell as admin at the current directory:
"%bin%\Elevator" -dir "%V" -elev high pwsh -noexit
...
0
votes
0
answers
39
views
How to invoke UAC (elevation shield) prompt while trying to open bootstrapper bundle exe in WIX
Not able to invoke UAC shield of the bootstrapper bundle .exe generated using WIX.UAC gets invoked when Install button is clicked.But I need to open UAC as soon as user double clicks the bundle .exe.
...
0
votes
1
answer
103
views
IE Mode Edge driver stuck on 'This is the initial start page for the WebDriver server' when running in Elevated Mode (Admin Mode) [Selenium]
I am trying to run IE Mode on Edge. When the browser instance loads, it gets stuck on
This is the initial start page for the WebDriver server
Selenium Version - 4.18.1
I am using the below args. when ...
-1
votes
2
answers
630
views
Opening Microsoft Edge in Elevated mode (use case: open via Selenium)
I am trying to open Ms Edge in Elevated Mode, but I am unable to do so. (Windows 11)
I have tried to open it manually too, but the Elevated option is always set to 'No'.
Image showing Edge Elevated ...
1
vote
0
answers
16
views
How to run an app requiring admin privileges on standard user so that the user does not know the admin password? [duplicate]
I want two applications requiring a Windows administrator privileges to be run from a standard user account.
The standard user account is my child's account. I want her to be able to automatically run:...
0
votes
2
answers
168
views
Running in Windows Terminal After Got Administrator Right
Does anyone know how get Admin Privileges of Batch-file within Windows Terminal?
The script below got elevated in cmd it's self, not in/ through windows terminal
@echo off
Net session >nul 2>&...
0
votes
1
answer
44
views
Privilege Identity Management (Azure)
Is it possible to make different users have different maximum activation duration time for the same role in Azure. For example, User A has the user administrator role with a maximum activation time of ...
0
votes
2
answers
935
views
How to start an application elevated on account without admin privileges on Windows 10
I need to start an application elevated on a user account without admin privileges. I am using Windows 10. The station will have two user accounts: admin and operator. All applications will be ...
1
vote
1
answer
2k
views
"Missing sudo password" error with Ansible Error
This is my simple playbook,
---
- name: test
hosts: all
tasks:
- name: testing
shell: /usr/bin/whoami
register: testing
- name: show the result
debug:
msg:...
1
vote
2
answers
163
views
ShellExecuteExW function with lpVerb = L"runas" and lpFile = L"cmd" succeeds but fails
I have a unit test for a class that is intended to run shell commands with elevated privileges. A simple test case is to copy a test file into C:\Program Files. The class makes a call to the C ...
1
vote
0
answers
51
views
Zephyr, defeating C_NULL_POINTER_EXCEPTION protection
I'm working on a project that uses Zephyr on a Nordic nRF52840 ARM CortexM. In the build they have the C NULL pointer exception protection enabled with:
CONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y
...