Questions tagged [privileges]

This tag is for questions relating to the general topic of privileges, without reference to any specific operating system or application.

This tag is for questions relating to the general topic of privileges, without reference to any specific operating system or application.

1503 questions
0
votes
1 answer

mysql insert operation fail using php after modify the privilege

this is privileges setting part User Host Type Privileges Grant username % database-specific ALL PRIVILEGES No root localhost global ALL PRIVILEGES Yes this is mysql…
stackunderflow
  • 1,492
  • 1
  • 23
  • 53
0
votes
2 answers

Most portable (among *nix) way to allow a thread lowering its own nice

What's the best way to grant a process/thread the right to lower its own nice value, without running it with full privileges? Solution can be external to the process itself (ulimit or setcap for example). I'm looking for something portable at least…
Lorenzo Pistone
  • 5,028
  • 3
  • 34
  • 65
0
votes
2 answers

Should a user be a schema owner in order to read, write, and execute SPs?

My webapp needs to read, write (INSERT, UPDATE, DELETE), and execute stored procedures on a SQL 2008 database with five schemas. I created a user that authenticates through SQL, and granted the user db_datareader, db_datawriter, and db_procedureexec…
IVR Avenger
  • 15,090
  • 13
  • 46
  • 57
0
votes
1 answer

Admin priviledges on Mac os

I have noticed that some applications after installation open a window and ask for user's password. It says that the application needs system.privilege.admin. I was trying to figure out what exactly this means. The application itself seems to be…
ping localhost
  • 479
  • 3
  • 22
0
votes
1 answer

How to fix a workspace that has been opened with "Run as Administrator" in Eclipse?

I opened Eclipse IDE with the "Run As Administrator" one day to do updates and install new software. Then I forgot, and continued to work on my project. Now, I can't work in that workspace unless I run Eclipse IDE with "Run As Administrator" which…
CLo
  • 3,650
  • 3
  • 26
  • 44
0
votes
1 answer

Cannot use REPLACE syntax on shared hosting

I create a mysql database using CPanel on a shared hosting server ... i have given privileges of CREATE, UPDATE, DELETE, INSERT to the user, what privilege should i give to use the REPLACE syntax .... available privileges (as you might already…
Kold
  • 65
  • 1
  • 6
-1
votes
1 answer

How to grant specific privileges to user in MySQL?

I'd like to allow user to SELECT from specific tables and views, and EXECUTE specific procedures. I've written such a script: CREATE USER 'user'@'%' IDENTIFIED BY 'user'; GRANT SELECT ON database.table1, database.view1, database.view2 'user'@'%'…
sunpietro
  • 2,059
  • 4
  • 24
  • 42
-1
votes
1 answer

User privilege considerations when executing terminal code in Objective-C

I am writing an application that will update the firmware on a piece of particular hardware. This application will therefore be run on a large number of different OSX systems around the world, so it'd like to make sure I get it right first time. The…
JimmyB
  • 326
  • 3
  • 12
-1
votes
1 answer

trace 10046 and OEM privileges

It would be great if someone would share trace 10046 privileges and Oracle enterprise manager (OEM) privileges so I can ask my DBA to grant the privileges to my role, and by OEM privileges I mean is I can change the threshold on GUI environment. I…
Imran
  • 167
  • 1
  • 1
  • 11
-1
votes
2 answers

I s it safe to set Everyone group access at file level in system folder on windows?

Is it obvious that giving access to Everyone with full permissions on folders in the C:\ProgramData is not safe and can lead to privilege escalation. My question is how is the situation for text files? Is it still dangerous? Is it obvious that…
lookzadeh
  • 19
  • 4
-1
votes
1 answer

Run part of code with elevated privileges on MacOS

In my app I have some swift code that require elevated privileges (to perform some IO Connection - IOConnectCallStructMethod). I searched a lot on internet, and between 10-years old information, or some methods with helpers, I wonder if there was an…
Laurent Crivello
  • 3,809
  • 6
  • 45
  • 89
-1
votes
1 answer

What privileges does a MySQL user need in order to access FLUSH LOGS?

I want o create a new MySQL user for logrotate and it needs to be able to run FLUSH LOGS, but doesn't need any other privileges as far as I can tell. What is the minimum mysql privileges I need to give to this user in order to access FLUSH LOGS ? I…
adrianTNT
  • 3,671
  • 5
  • 29
  • 35
-1
votes
1 answer

create a symlink in an unprivileged container error

I'm running K8s deployment and trying to harden the security of one of my pod and because of that I started using the following docker image: nginxinc/nginx-unprivileged:alpine The problem is that I need to create a symlink and cannot get it…
-1
votes
1 answer

Win32 DLL injection - need help understanding why injected LoadLibraryA sometimes fails with "Access is denied."

I have been playing around with writing a windows program that does DLL injection for my own education. My program is an x64 Visual C++ application I am running on windows 11. It injects the DLL into its victim by using CreateRemoteThread to…
-1
votes
1 answer

What scope should I use to allow a user to log in using OAuth and use all of the users privileges on a resource server?

I have three servers: An application, a resource server, and an OAuth(/OpenID connect) server. The application is not a third-party application, so I want to be able to generate an access token that allows the application to log in as the user and…
Tom McLean
  • 5,583
  • 1
  • 11
  • 36