Questions tagged [privileges]

In computing, privilege is defined as the delegation of authority over a computer system. A privilege is a permission to perform an action.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 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' I have tried using the below ...
subham chomal's user avatar
1 vote
0 answers
34 views

What steps are needed to safely create a unix setuid binary that can mount removable drives without privilege escalation

The steps I can think of for a setuid binary that is willing to mount drives on arbitrary paths specified by normal users: the binary must check whether /sys/block/DEV/removable=1 the binary must ...
Zorf's user avatar
  • 331
2 votes
1 answer
1k views

Are you supposed to run vmware with root, or is there a way around it?

I just installed VMware Workstation Player 17 on Arch Linux. The only way I can get it to run is to run it with sudo in the terminal. Otherwise it goes to the "Welcome to VMware Player" ...
Plasticbox's user avatar
0 votes
0 answers
167 views

starting Jenkins with runas

I am trying to start Jenkins service but via CMD. This service requires specific credentials, because I set up Jenkins to run only with specific account, not as local system account. When I type: ...
Maciej Dałek's user avatar
1 vote
0 answers
520 views

How can I edit the Users Privileges with Local Security Policy in Windows Server 2016?

I am creating a pentest scenario and I want that a user has the SeImpersonatePrivilege. So, I install the Windows Server 2016 in a virtual machine. Then, I created the Administrator user and a common ...
psico_disk's user avatar
0 votes
0 answers
59 views

Having problems with file permission on windows 10

This problem started when I put my HDD on another computer that has my OS. Some of my programs won't open because I don't have sufficient privileges. The message said to contact the administrator of ...
brian colon's user avatar
0 votes
2 answers
235 views

Patching Kernel32.dll calls to avoid admin privileges for compatibility

I am trying to get a really old program for a scientific instrument to run on Windows 10. I believe the program was originally developed for some Unix system, then ported to something like Windows NT ...
slo's user avatar
  • 103
0 votes
1 answer
49 views

Have lost the ability to use vi, apt-get, etc. as user ROOT after editing ROOT .bashrc

I am using Debian Linux. After logging in today, there was a message saying Firefox had an update. I clicked on it, but it errored out saying 'ldconfig' not found and that usually, /sbin, /usr/local/...
user3063547's user avatar
0 votes
1 answer
1k views

Command line approach to launching an executable through Avecto DefendPoint v5.x

So, launching a commonly-used application for the first instance is easy - just shift-right-click and choose Run with Elevated Privileges. However, that doesn't work for subsequence instances since ...
Bill Tarbell's user avatar
1 vote
1 answer
611 views

How does certain applications bypass UAC for a non-administrator user in Windows 10?

I created a new user account on Windows 10 whose type is "standard user" and in which the User Account Control (UAC) setting is set to "Always notify". To test the privileges, I ...
luispauloml's user avatar
1 vote
0 answers
133 views

Give all users of a group ability to rm, cp, mv, edit, etc files into or out of a directory

so I've created a directory that will be used across multiple users at /SharedDir. This shared directory is currently configured as such. drwxrwsrwx+ 6 root group 4.0K Mar 23 20:40 /SharedDir No ...
Michael's user avatar
  • 253
0 votes
0 answers
1k views

How to enable Win-key command followed by ctrl+shift+enter for Administrator privilege elevation on Windows 10?

On Feb 9, 2022 out of the blue the shortcut to elevate Administrative privilege by typing a command from Win-key followed by ctrl+shift+enter stopped working on all my laptops and desktops running ...
Konstantin Glukhov's user avatar
0 votes
0 answers
3k views

GPO: Run batch script as local administrator (NOT system) during system startup

This might have been answered before, but I was unable to find a clear answer to my specific issue. I'm trying to run a batch-script that will trigger installation of a custom written Windows Service ...
Alexander Johansen's user avatar
0 votes
0 answers
22 views

Change default position of "camera shared" marker on Firefox

On Firefox, a marker appears at the center in the top border of my screen whenever an app is allowed access to the camera. Are there any config options of Firefox which would allow me to set the ...
ffigari's user avatar
  • 101
2 votes
2 answers
3k views

Do Windows services have elevated privileges?

If I create a service with nssm using nssm install, does that service run with admin permissions? If so, how can I revoke that?
timyc's user avatar
  • 23
1 vote
1 answer
474 views

Backup (SeBackupPrivilege) and restore privilege(SerestorePrivilege). for domain user

How do I verify the if the domain user has backup (SeBackupPrivilege) and restore privilege(SerestorePrivilege)? I tried added the domain user to backup operators group. But Whoami /priv command ...
sureshbabu's user avatar
0 votes
1 answer
677 views

What does " /bin/sh <$(tty) >$(tty) 2>$(tty) " mean?

I was looking at the GTFOBINS page for the at command and saw this command (last command in that page) echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null for ...
randomSapien's user avatar
1 vote
1 answer
791 views

Unable to run admin privileged CMD.EXE even from User belonging to localgroup "Administrators"

Unable to run admin privileged CMD.EXE even from User belonging to localgroup "Administrators". Steps to reproduce: Open cmd.exe as admin. Add user admin with password admin like so: net ...
winwin's user avatar
  • 125
0 votes
0 answers
312 views

Error When Installing Truffle To MacOs Device

I am trying to install truffle to my MacOs device but there is an ongoing issue that I couldn't figure out. It seems permission issue. Here is what I tried: I modified priviliges of my current user: ...
Snefru Clone's user avatar
0 votes
1 answer
49 views

Switch users on network shares

I have 2 issues that are driving me crazy. I have a NAS on my home network, to prevent ransomware attack I created two accounts: user_ro and user_rw that can respectfully only read, or read+write. Let'...
PastaChips142's user avatar
0 votes
1 answer
272 views

Assigning user privileges on Synology DSM

I have multiple shared folders on my Synology: Family Photo Video Now, I have several users: Peter, Andrew, Margaret. I would like Peter to have access to all the shared folders. Andrew should have ...
Alth0ugh's user avatar
0 votes
0 answers
583 views

How do you set a scheduled task that can run a program in the foreground as an administrator, triggered by any user?

For context incase I am looking at this wrong: I'm working on building my little sisters a computer with RGB and the GUI will only launch from an Admin account. I do not fully trust them with ...
kyle1elyk's user avatar
0 votes
0 answers
156 views

Is it possible to add specific restrictions to an application that requires administrator privileges on Windows 10?

I have seen people say that giving applications high privilege levels can be pretty dangerous. However, is it possible to allow an application to have administrator privileges but simultaneously ...
life_is_but_temporary's user avatar
1 vote
2 answers
4k views

How to run systemd user service with multiple Unix groups? (LDAP provides group membership)

I have a systemd user service which needs to access a folder owned by a Unix group which is inside another folder owned by another Unix group. "Others" do not even have read access. The user ...
rubund's user avatar
  • 121
0 votes
1 answer
114 views

Is there a way to share games between computers on same network and how do I disable asking for admin permission to run an app? [closed]

My friend opened a cyber cafe and it's a pain in the ass installing games in each pc, games like fortnite and call of duty 80+gb is taking a lot installing on all pc, is there a way to install all ...
Endrit Shabani's user avatar
0 votes
1 answer
341 views

Is there a difference between running a CMD script from an administrator console, and right-clicking-"run-as-admin"nning it?

We have a cmd script on a server which we access through a UNC path like \\machine\some_path\x.cmd. (Specifically, it is a wrapper around a customized cygwin installation with the goal to have ...
Peter - Reinstate Monica's user avatar
1 vote
1 answer
443 views

Always reject UAC prompt for a specific program

In Windows 10 (Enterprise, version 2004, build 19041), is it possible to always reject UAC elevation prompts for a specific application executable? This is for a legacy pre-installed internal ...
Elle Fie's user avatar
  • 121
0 votes
1 answer
600 views

Who gives permission to installing kernel-level software?

Recently there's been some discussion about anti-cheats in video games that run at kernel level in the users' computers to ensure no cheating software is being run. My question is: "who" in ...
Washington A. Ramos's user avatar
1 vote
1 answer
6k views

Disabled SIP on mac won't allow me to modify permissions settings in /SYSTEM/Library

I am trying to add a file in /SYSTEM/Library. I've restarted the mac in recovery mode. Ran csrutil disable in Terminal. Logged back in and tried to copy the file in /SYSTEM/Library only to be denied ...
Jose Lopez's user avatar
2 votes
1 answer
4k views

Run openvpn as non-root user

I'm trying to run openvpn server within podman unprivileged container. Openvpn needs to be able to manage network interfaces (i.e. create tun interface, assign IP address to it, bring it up). On my ...
Greg0ry's user avatar
  • 228
2 votes
1 answer
147 views

how to demote user privileges to run a script

I would like to run a script, started by snmptrapd, as a regular user. Looks like the traphandle directive in /etc/snmp/snmptrapd.conf runs the indicated program as a privileged user (root:root). The ...
Miguel Rozsas's user avatar
1 vote
0 answers
28 views

sudo asks password although there is nopasswd parameter [duplicate]

I edited the sudoers file like below: myuser ALL=(ALL) NOPASSWD: ALL newuser ALL=(ALL) NOPASSWD: ALL There is no another line that contains "myuser" in sudoers file. But ...
Jo Shepherd's user avatar
1 vote
0 answers
355 views

Understanding elevation of non-administrative (!) users

1. Introduction Probably everybody knows that administrator accounts have a split token (provided UAC has not been disabled). That means that if you log in as a member of the Administrators group, ...
Binarus's user avatar
  • 1,775
1 vote
1 answer
439 views

Using PowerShell on command line to start a server with admin privileges

I have an agent.exe, when run with Windows PowerShell, starts a server on port 18383: > powershell -Command ".\agent.exe" ⇨ http server started on [::]:18383 Above command, pops up a security ...
Megidd's user avatar
  • 271
0 votes
1 answer
272 views

Understanding privileges and permissions - Security

Recently i downloaded one software that is "protecting" the folders by hiding them. The software is https://fspro.net/my-lockbox/ I opened the cmd as administrator and i thought that i will recover ...
AlexDotis's user avatar
  • 103
0 votes
2 answers
702 views

Can not remove folder in program files directory. Changing permissions doesn't work

I was installing CoDeSys. I downloaded the installer executable file, which seems to be a MSI installer. Followed the steps in the installer window, and at the very last step a progress bar is shown. ...
user2190492's user avatar
2 votes
1 answer
3k views

Can not start MariaDB service on windows 10 machine although I have full admin rights

At work I have to use Windows 10 for the first time and I am having a hard time starting a service. I downloaded the latest version of MariaDB as a .zip from the official homepage at: https://...
Nic.Star's user avatar
4 votes
1 answer
8k views

MySQL Workbench * could not be fetched

I set up a MySQL Server on a Ubuntu machine. I added a user A with only access to one Database 'B'. If I log in with it in MySQL Workbench, it shows me: Tables could not be fetched Views could not ...
Herry's user avatar
  • 141
0 votes
1 answer
2k views

Make a user account on Windows 10 a full admin without lusrmgr.msc

I know how to create an admin-privileged user account on Windows 10 with lusrmgr.msc, but can't find how without.  What other way(s) are there of doing this?
Aresiel's user avatar
0 votes
1 answer
729 views

Explain Windows 10 Virtual Account (service acc) permissions

I am trying to run a PHP-CGI in a low-privilege Virtual Account (Win10 Pro). How is this (See screenshot #1) possible? I am running a PHP-CGI service, under a (Virtual) Account NT Service\PHP. The ...
Vinzentz's user avatar
1 vote
1 answer
555 views

Remove a file that resists deletion with admin privileges (Gamespy Comrade)

I had the program Gamespy Comrade installed in my PC by Steam as parts of the requirements for some video game that I'm not using anymore. Gamespy has folded in 2013 and the program hasn't been ...
maja's user avatar
  • 329
0 votes
1 answer
952 views

View / backup files and folders when running as administrator without changing permissions on them

I'd like to archive a windows.old folder off of my system to save space but don't have permissions to some of the folders in it, even when running as administrator or when running as system (using ...
g491's user avatar
  • 504
0 votes
2 answers
3k views

How can usual user access to /dev/sda file

My OS is Debian9 and I need use command smartctl in my script to get some hard drive info. But due to usual user have some special environment variable, I can't execute this script by sudo. So I ...
fajin yu's user avatar
  • 111
1 vote
0 answers
57 views

Delay privilege separation in openSSH

This question is about delaying the privilege separation in openSSH. This is what I have learned from: Privilege Separated OpenSSH Monitor process spawns unprivileged process for network processing (...
Praffulla Pandey's user avatar
1 vote
1 answer
5k views

Enable Always Ask Before Opening this Type of File in Windows 10

I recently downloaded and wanted to install whatsup app on my pc. But when the exe file started with prompt to run it or not i mistakenly unchecked "Always Ask Before Opening this Type of File" :/. ...
Krystian Walicki's user avatar
0 votes
1 answer
891 views

FTP user privileges

I need to create a user, who will be used solely for uploading files to FTP server on my windows 10 machine. Which user rights assignments and security options shall I give to this account in secpol....
Petr Synek's user avatar
0 votes
1 answer
47 views

Unable to grant privileges to user in mysql

For some reason, I've had all of my privileges revoked on my user account for MySQL. I can't even allow myself to reset any of my privileges. I also don't have root access, so I feel I'm in a deadlock....
Asking's user avatar
  • 101
0 votes
2 answers
447 views

Which computer needs SeRemoteShutdownPrivilege to shut down a remote system?

Say, if I want to shut down a remote computer 2 from my computer 1 using a tool like shutdown.exe. I keep reading that this requires SeRemoteShutdownPrivilege. What I am not clear about is which ...
c00000fd's user avatar
  • 547
1 vote
2 answers
2k views

Is it possible to gain administrative rights under a domain in W10 while having local admin privilages?

I'm still trying to get the hang of Windows accounts under a DOMAIN but i have some security questions. From my experience it seems that in a machine local users and domain users are completely ...
TnF's user avatar
  • 131
0 votes
1 answer
39 views

Sudoers Command

I can't understand the difference in this two command's USER ALL=(ALL) NOPASSWD: ALL AND USER ALL=(OTHERUSER) NOPASSWD: ALL Can anyone explain the () change? Thanks
Pedro Macedo Vilas's user avatar

1
2 3 4 5 6