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.

88 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 votes
3 answers
4k views

Reopen SublimeText as Administrator

Is there a SublimeText plugin that reopens the current file as Administrator? Notepad++ has a feature where, if you open a file and don't have the permissions to edit it, but try and save, it will ...
Des Horsley's user avatar
6 votes
0 answers
921 views

Does a process with CAP_SETUID and CAP_SETGID can always gain full root privileges?

If I have an executable file with CAP_SETUID and CAP_SETGID set inside xattrs file’s attributes. Will I get full root privileges if such executable call setuid();setreuid();setresuid();setfsuid() with ...
user2284570's user avatar
  • 1,823
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
3 votes
0 answers
534 views

Limit privileges of a systemd service to a minimum

I am writing a systemd service file for fai-monitor (8). This daemon listens on a single port, receives TCP connections, and writes a single log file with interesting information. To reduce the ...
steiny's user avatar
  • 693
2 votes
0 answers
3k views

FTP Can't see the content of some folders

I am using Filezilla server and I've created a user with all privileges on specific folder and sub folders, but unfortunately, when LIST some directories it shows that the folder is empty even though ...
Mostafa Alayesh's user avatar
2 votes
0 answers
2k views

Synergy installer is unable to start service on Windows 10

When I try to install Synergy on Windows 10, it gives me this error: "Service 'Synergy' (Synergy) failed to start. Verify that you have sufficient privileges to start system services." Synergy and ...
user555748's user avatar
2 votes
0 answers
3k views

Which Window privilege is needed for the `runas` command?

I have a local Windows account and I want to make it impossible to login to the machine as this user – both locally and using remote desktop. Now I have set these two "deny" privileges for the account:...
mgd's user avatar
  • 121
2 votes
1 answer
12k views

SUPER,REPLICATION CLIENT prev to external MySQL user

I'm trying to create an MySQL slave, but I'm not able to grant SUPER,REPLICATION CLIENT to the external powerdns user. I'm using phpMyAdmin and granted ALL PRIVILEGES to the powerdns user, but it ...
Wouter0100's user avatar
2 votes
1 answer
1k views

Problems elevating permissions while running a batch (CMD) file

I’ve put together a batch (CMD) file that we use to check various things on select servers. What is posted below is almost everything (minus sensitive info). If launched with the proper command line,...
SOSidb's user avatar
  • 533
2 votes
0 answers
670 views

MAMP PRO can't be used by non-admin users

I have MAMP PRO set for a Mac's admin user. But other users want to use it too. How can it be done? When a normal user try to open MAMP PRO, it shows a message saying that it needs administrator ...
arms's user avatar
  • 188
2 votes
1 answer
129 views

Open application with lowered privileges

I have a mac installer which runs as root with pre and post install bash scripts. At the end of the post install script I launch the application which inherits and opens as root. Is there a way I can ...
GP89's user avatar
  • 121
2 votes
0 answers
46 views

Signed WinXP driver shown as unsigned for normal users

On a Dell Latitude laptop model installed in our enterprise environment the "Intel Management Engine Interface" driver is loaded and works as expected, but on the driver tab in dev-manager it is said ...
Björn T Vildljung's user avatar
1 vote
0 answers
36 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
1 vote
0 answers
534 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
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
1 vote
0 answers
359 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
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
1 vote
0 answers
261 views

Mobile account losing admin privileges in macOS if disconnected from domain

I am able to join the Mac to the domain and the mobile account created fine, also able to administrate the Mac using the domain accounts. But if I disconnect the Mac from the server or if the Mac ...
Shiva_newbie's user avatar
1 vote
0 answers
1k views

Windows: how to bind to <1024 port as standard user?

I was wondering if there was a way on Windows to bind to a <1024 port as a standard user? I am aware that this requires Admin privilege but can I approve the request with Admin but run the actual ...
nd510's user avatar
  • 163
1 vote
0 answers
479 views

.NET c# service running as LocalSystem alters ProxyServer in registry, but browser's won't notice until (re)start

I have a .NET c# service running as LocalSystem on Windows10 64bit. It's job is to alter the "ProxyEnable" and "ProxyServer" values located under HKEY_CURRENT_USER\Software\Microsoft\Windows\...
spaxxUnited's user avatar
1 vote
0 answers
173 views

Applications that require privilege escalation don't ask for password and don't run

I recently upgrade my machine from Linux Mint 17.3 to Mint 18.1 (by completely formatting and installing from clean). I got pretty much back to a good state - with one exception. When I had 17.3, if ...
Aleks G's user avatar
  • 472
1 vote
1 answer
3k views

Debug a program with elevated priveges with Avecto Privilege Guard -

I am debugging a program that needs admin access in a shop that normally uses avecto privilege guard for admin level access. Starting visual studio with avecto does not seem to pass on the elevation ...
infixed's user avatar
  • 819
1 vote
1 answer
77 views

Win7: Unable to select administrator option or run programs as administrator even though current account is admin

I am trying to set the account type as administrator but it is grayed out.
SamuraiJack's user avatar
1 vote
0 answers
78 views

Elevating applications on restricted account

I have got a bunch of applications that don't quite follows Windows application writing guidelines and don't behave well on restricted accounts. There are also a few regular apps and services. ...
g2mk's user avatar
  • 1,428
1 vote
0 answers
62 views

Permission Issues When Removing Directory

I am using Windows 8.1, and am trying to remove a directory (specifically a Cygwin install directory). I keep getting this error: You need permission to perform this action. You require permission ...
michael's user avatar
  • 5,945
1 vote
0 answers
49 views

Drop privileges in Pass (unix password store tool)

Pass is a Unix command line password manager http://www.passwordstore.org/ To read any stored password one has to input the master-password, it then allows to read/write any password. However this ...
Iker's user avatar
  • 11
1 vote
1 answer
490 views

How to fix my local administrator?

Starting a few days ago, I am facing a very weird issue here on my Windows 8.1 workstation. I am unable to start programs or applications that require administrator privileges. This makes my PC ...
Aschratt's user avatar
  • 111
1 vote
1 answer
2k views

mklink in batch file keep returning insufisent permission

I made a code to execute an simbolic link between my Music folder and the music stored in my other hard drive @ECHO OFF SET /p bn=Band Name : md "%E:\Music\%bn%" SET /p dl=Album Name : mklink /d "E:\...
MrBean56's user avatar
1 vote
0 answers
2k views

Doesn't the SeBackupPrivilege give me right to use the backup tool in windows 7?

I have a regular user account on Windows 7 home premium that I wanted to give the user rights to perform backups, using the backup and restore tool. I tried ntrights +r SeBackupPrivilege –u "...
Andreas's user avatar
  • 650
1 vote
0 answers
535 views

Windows Vista shows error "A specified privilege does not exist" when running any administrative tool/process

I'm troubleshooting a PC running Windows Vista Ultimate Version 6.0. When I run programs such as regedit, msconfig, or do things like try to disable Microsoft Security Essentials's Real-time ...
d4ryl3's user avatar
  • 413
1 vote
0 answers
457 views

Increasing user assigned 'administrator' privileges

We've just installed Server 2012 at our workplace, which in many respects is similar to Windows 8. The issue is that a user has been created, and assigned as an administrator has a pathetically low ...
maxp's user avatar
  • 267
1 vote
0 answers
37 views

Creating an account/access to an VServer for a PHP/MySQL/Apache developer

I normally work with my server on my own, but now I have an external developer with whom I have never worked before. I need to work with him for a longer period of time before giving him full access ...
Mark Fischer's user avatar
1 vote
2 answers
2k views

How do I give myself privilege to create symbolic links on Windows 7 logged in as domain user?

I would like to be able to use mklink without the inconvenience of right-clicking on cmd.exe and choosing "Run as Administrator". I am logged in at work as a domain user with local admin privileges, ...
Klitos Kyriacou's user avatar
0 votes
0 answers
172 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
0 votes
0 answers
61 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
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
0 votes
0 answers
313 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
51 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
281 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
588 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
0 votes
1 answer
739 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
0 votes
1 answer
960 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
1 answer
904 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
1 answer
696 views

Windows time service configuration update by non-admin user

I want to configure Windows Time Settings as a non-administrator user and without using an elevated command prompt. I gave permission to user to change the system time from User Rights Assignments. ...
E.I's user avatar
  • 1
0 votes
1 answer
91 views

Using SSH authorized keys to roll out privileged file update across a LAN?

I've got a server that from time to time automatically updates a set of privileged files (eg, certificate keys, configs etc). It needs to save those files on other systems on the LAN. I know roughly ...
Stilez's user avatar
  • 1,685