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.
283
questions
0
votes
0
answers
57
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:
...
0
votes
0
answers
107
views
ISPConfig PureFTPd user can access folder linked to other site
I have a problem, where ftp users can access and modify (rwx etc, regardless of chmod) ftp folders on different sites, which is... well, not good.
I have ISPConfig 3.2.8p1, full root privileges etc. I ...
0
votes
0
answers
18
views
PostgreSQL - privileges for all tables in database
I have such problem in PostgreSQL 12.
There is a database testdb with many tables in several schemas.
There are four users user1, user2, user3, user4.
I have to grant only SELECT and INSERT privileges ...
1
vote
0
answers
133
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 ...
0
votes
0
answers
34
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 ...
0
votes
2
answers
142
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 ...
0
votes
1
answer
28
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/...
0
votes
1
answer
448
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 ...
1
vote
1
answer
465
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 ...
1
vote
0
answers
86
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 ...
0
votes
0
answers
816
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 ...
0
votes
0
answers
2k
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 ...
0
votes
0
answers
18
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 ...
2
votes
2
answers
1k
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?
1
vote
1
answer
236
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 ...
0
votes
1
answer
421
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 ...
1
vote
1
answer
295
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 ...
0
votes
0
answers
265
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:
...
0
votes
1
answer
39
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'...
0
votes
1
answer
150
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 ...
0
votes
0
answers
407
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 ...
0
votes
0
answers
155
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 ...
0
votes
2
answers
2k
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 ...
0
votes
1
answer
85
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 ...
0
votes
1
answer
112
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 ...
1
vote
1
answer
210
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 ...
0
votes
1
answer
329
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 ...
1
vote
1
answer
5k
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 ...
2
votes
1
answer
3k
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 ...
2
votes
1
answer
88
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 ...
1
vote
0
answers
26
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 ...
1
vote
0
answers
205
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, ...
1
vote
1
answer
293
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 ...
0
votes
1
answer
257
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 ...
0
votes
2
answers
561
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. ...
2
votes
1
answer
2k
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://...
4
votes
1
answer
7k
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 ...
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?
0
votes
1
answer
488
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 ...
1
vote
1
answer
458
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 ...
0
votes
1
answer
768
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 ...
0
votes
2
answers
2k
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 ...
1
vote
0
answers
44
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 (...
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" :/.
...
0
votes
1
answer
544
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....
0
votes
1
answer
41
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....
0
votes
2
answers
371
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 ...
1
vote
2
answers
1k
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 ...
0
votes
1
answer
37
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
1
vote
1
answer
75
views
Same cmd command returns different results for different users
I am typing this same command from two different accounts:
query process <process name>.exe /server:<server name>
From account A, it returns the list of processes on the server as ...