1,599 questions
Advice
0
votes
3
replies
50
views
In Dockerfile add user, assign group to user and make group permanent
I have a Dockerfile, where I create a non-root user and assign a group icmp_users to it. However, when I run the container with docker run -it --rm container bash the group is not activated.
Here is ...
0
votes
0
answers
31
views
WebView not allowed in privileged process — any safe alternative for system/priv apps?
I’m developing a system privileged app (installed under /system/priv-app) and I need to display a webpage inside the app UI.
However, when I try to use a WebView, the app crashes with:
java.lang....
1
vote
1
answer
114
views
Unallowed GRANT does not raise an exception and doesn't grant the privilege either, if user already has other privileges on the object
I have a regression test for a PostgreSQL database that checks to make sure a particular user cannot self-assign additional privileges to a particular schema. I do this by logging in as the user "...
3
votes
0
answers
83
views
After enabling an interrupt via CSRRW in RISC-V, how many instructions may execute before trap entry?
In RISC-V machine mode, when you issue a csrrw that sets a bit in mie (i.e. enabling an interrupt that is already pending), must the very next instruction immediately branch to the interrupt handler? ...
1
vote
1
answer
65
views
Do child processes inherit pledge() promises made by the parent process?
In BSD, the pledge() syscall can be used to limit the process' access to potentially dangerous resources. Do these limitations apply to child processes that are forked from the parent, or are the ...
0
votes
0
answers
85
views
Windows cmd.exe Environment Configuration Issues with Drive D: and Git (or unable to create process with Anaconda)
I installed Git on drive D:, but when I open a new cmd.exe Window and type git --version at the prompt, it showed that error launching git:
C:\Users\25011>git --version
error launching git:
It ...
0
votes
1
answer
159
views
How to set permissions on partitioned table in Postgres (v. 15)
How can I let user to update only one partition through a parent table? Why doesn't this work:
-- 1. Create users
CREATE ROLE my_admin LOGIN PASSWORD 'admin_pass';
CREATE ROLE my_user LOGIN PASSWORD '...
0
votes
0
answers
91
views
Google Calendar API: scopes are readonly but event deletion is possible
In Google Cloud Console, I created a project with read only accesses to my Google Calendar:
Your non-sensitive scopes
.../auth/calendar.calendarlist.readonly See the list of Google calendars you’re ...
1
vote
1
answer
98
views
Grant with Grant option not working in SQL Server
I have two server logins, OMEGACA and TEST, and an ALL SERVER for LOGON trigger:
CREATE TRIGGER [OMEGACA_ACC]
ON ALL SERVER WITH EXECUTE AS 'OMEGACA'
FOR LOGON
AS
-- ...............
OMEGACA has ...
0
votes
1
answer
133
views
How to implement device-based licensing (independent of user account) for an Android app?
I have an Android app that I need to license per device (lifetime), meaning the app should be licensed for the device itself, independent of the user account. If I use a one-time in-app product for ...
0
votes
1
answer
164
views
CreateSymbolicLinkW failed: Bazel symlinks on Windows requires administrator privileges
While running yarn run devtools:test inside my Angular development fork on Windows 11 I got the following error output:
Process exited with status 1: Process exited with status 1
build-runfiles ...
1
vote
1
answer
98
views
Oracle database newbie about ORA-01045 error [closed]
I can't connect to my brand new empty Oracle database from DBeaver or SQL Developer with just made new DB user.
I just get started to use Oracle Database 23ai, with SQL Plus logged in as SYSTEM and ...
1
vote
1
answer
75
views
How to grant a java program admin privileges during runtime
I have a java program from which i would like to access a file that requires admin privileges. I use IntelliJ IDE for development and I would like to start the program from the IDE.
I have an ...
0
votes
0
answers
26
views
Setup Enterprise Github to be able to share a repository to organization
Our company uses Github Enterprize and created Organization for each unit.
However, when I tried to create a repository for a knowledge sharing workshop, I couldn't find a way to share a repository to ...
0
votes
1
answer
54
views
No privileges when executing Oracle stored procedure
I have a problem with an Oracle stored procedure that dynamically creates some materialized views.
The procedure first drops the materialized views if there are any with the same name of the ones that ...
0
votes
1
answer
154
views
PostgreSQL privilege, setting or feature to limit number of rows a user can select
Using PostgreSQL, is it somehow possible to restrict the SELECT privilege of a certain user so that he can only select a certain limited number of rows from a certain table?
For example, user joe ...
-1
votes
2
answers
63
views
Postgresql - user does not inherit table privileges
Here is my problem : I have created a role R1 that have all privileges on schema S1. I also have created two users U1, U2, with inherit, that both are members of R1. U1 has created a table in S1. Why ...
0
votes
0
answers
98
views
WinUI3 application does not restart with administrator privileges on Windows 11
I’m trying to implement a program restart asking the user for admin rights for the WinUI3 application. The application uses Windows Update API and I need this functionality to allow the user to ...
0
votes
0
answers
172
views
In snowflake using a custom role need to be able to query all results from SNOWFLAKE.INFORMATION_SCHEMA.QUERY_HISTORY
We would like to use a specific custom role and using the role being able to see all results from below (SNOWFLAKE.INFORMATION_SCHEMA.QUERY_HISTORY)
SELECT *
FROM TABLE(SNOWFLAKE.INFORMATION_SCHEMA....
2
votes
1
answer
379
views
List all privileges a user has for a specific table (DB2 AS400)
Using a db2 database hosted on an IBM AS400 Version:V5R4M0 I'm having trouble trying to list permissions a user has on a specific table.
Here IBM lists different ways to do so, but I get a file not ...
2
votes
1
answer
68
views
Which MySql system table holds information about SHOW_ROUTINE privileges?
I would like to retrieve information from a MySql instance, which users have SHOW_ROUTINE privilege.
This privilege can be only granted globally according to the documentation. Such privileges are ...
0
votes
0
answers
128
views
Authorization Errors After Restoring DB2 Database to V9.7 or Higher
Here’s a message you can use to post on Stack Overflow:
Title: Authorization Errors After Restoring DB2 Database to V9.7 or Higher
Body:
Hi everyone,
I’m experiencing authorization errors after ...
0
votes
1
answer
86
views
Two PUBLIC Views in Stored Procedure - One Succeeds, One Errors?
If user A creates a view and grants READ on it to PUBLIC.
SQL>create view A.a_public as select 3 id from dual;
View created.
SQL>select * from A.a_public;
ID
----------
3
SQL&...
0
votes
1
answer
49
views
Is the class Carbon.Security.Privilege source code easaly extractable to my own code in PowerShell?
I've been looking around a while for a code snippet that shows all of the privileges for a user, including SeBatchLogonRight (even for local accounts). And so far, the only way I found that fulfill ...
0
votes
1
answer
942
views
Grant the INHERIT PRIVILEGES privilege
I have database scheme her name NOUR ELKHUZAMA without underscore
I need to Grant the INHERIT PRIVILEGES to NOUR ELKHUZAMA
but I get an error:
Error starting at line : 3 in command -
GRANT INHERIT ...
0
votes
1
answer
49
views
Can I make a txt file unreadable to normal users but still have a program access it?
My question is if i have a c# application that the non admin users can launch and that application reads from the file. Is there a way to make it so that the program can read it but the users cant ...
0
votes
1
answer
384
views
pg_restore database as a different user to the owner in PostgreSQL 16
I am looking to use pg_restore to import a PostgreSQL 16 database, however I am hitting issues with ownership of the database and tables.
I would like the database to be owned by root (which it is) ...
0
votes
1
answer
43
views
With which user does Oracle APEX create apps?
I'm trying to build an aplication on Oracle Apex 18.1 (DB 12.1)
I made a Workspace called "prueba01" provisioning an already existing schema: "OFERTAS".
Now, when I try to make an ...
0
votes
1
answer
505
views
What are the Risks of using app with dangerous delegated permissions in azure?
What are the risks in using an app with dangerous delegated permissions - besides luring a privileged user to connect the app and use his privileges?
Are there any known dangerous delegated ...
0
votes
1
answer
370
views
Do Shell Script From Apple Script Requires Terminal To Have Full Disk Access - But It Already Has Full Disk Access
I am making an Apple Script app that will change my Time Machine backup configuration. The Apple script command is simply:
set ThePath to quoted form of "/Users/AndrewDesktop/Documents/...
0
votes
0
answers
103
views
Error 1217 vs 1452: Still less verbose despite `GRANT_ALL`
On MySQL 8.0.34, errors 1217 and 1452 represent the same thing but provide less information in the former case by design. A user without the relevant grants should not see the information about a ...
0
votes
1
answer
212
views
How exception occurred in debug mode do end execution of program buffer in RISCV architecture?
The below quotation is taken from riscv-debug-spec version 0.132.
Exceptions don’t update any registers. That includes cause, epc, tval, dpc, and mstatus.
They do end execution of the Program Buffer.
...
0
votes
2
answers
87
views
Pivileges of a new user in PostgreSQL
I used to work with Oracle, where after creation of a new database user you need to grant them a few privileges, ex. to connect(CREATE SESSION) to the database or create a table(CREATE TABLE). ...
-1
votes
1
answer
2k
views
List of role's privileges in Postgres
How to get in Postgres list of all privileges granted to a role/user, ex. to the public role?
Is that right, that newly created user in Postgres has no privileges except the ones inherited from ...
0
votes
1
answer
664
views
MySQL Workbench Creating Users and Privileges
Can someone help. I have been going round in xcircles trying to solve a very basic issue, whith MySQL Workbench version 8.0.36. Runnung on MocOS Sona 14.2.1 I am trying to create new users for my ...
0
votes
1
answer
567
views
confine snowflake warehouse usage on user level
A user ABC has access to role product_role
There are 2 warehouses accessible using the product_role
say for eg: whs1 and whs2
Is there any way that we can confine user privileges that ABC can use only ...
0
votes
1
answer
671
views
Is it possible to give my Android app root permissions without rooting the device? Perhaps with an MDM or a UEM?
I am writing an app where I would like to expose a service on a privileged port (i.e. <1024). This is not possible in Android without root permissions, from what I can see (I've made a test app, ...
1
vote
1
answer
244
views
Creating a Limited Privilege PostgreSQL Role for Backend Server
I am trying to create a role in postgres for the backend server and for security reasons I want to limit the backend_user privileges. The user have access only to database_x and the public schema and ...
4
votes
1
answer
403
views
Wow64 subsystem and its implementation on x86_64
I'm checking Wow64 subsystem on Windows 64 bit. As far I can tell on x86_64 processors, in order to run 32-bit applications, it leverages on Long mode compatibility sub-mode. Any system call from 32-...
2
votes
1
answer
3k
views
Revoked All Privileges On Database But Still The User Can Create Table
I am new at Postgresql that's why I can't figure out some privileges here.
Database called Denemedb23 is already created. I created the user NoxUser.
I executed these commands:
REVOKE ALL PRIVILEGES ...
1
vote
0
answers
377
views
In RISCV Exception/Interrupt Handlers, how to return to the correct privilege mode?
Suppose I have configured all exceptions and interrupts to be handled in machine-mode...
How do my machine-mode handlers know to put PRV_U or PRV_M, etc. into mstatus.MPP before executing mret so ...
0
votes
1
answer
544
views
Cannot use docker without sudo privilege after following the official guide [duplicate]
I am trying to pull a Docker image by this command
docker pull rabbitmq
then I got this error
Cannot connect to the Docker daemon at unix:///home/nickie/.docker/desktop/docker.sock. Is the docker ...
1
vote
2
answers
122
views
How to list restricted folders on Mac OS with Java?
I'm trying to run this snippet:
import org.apache.commons.io.IOUtils;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException, ...
0
votes
0
answers
2k
views
What exactly is NT AUTHORITY\SELF?
I'm trying to understand NT AUTHORITY\SELF account and the difference between this one and Everyone.
I tried to google for it, didn't find anything useful. I saw several application grants access to ...
1
vote
1
answer
168
views
Why there is different register address for sstatus an mstatus although they are different view of same register?
The sstatus register is a subset of the mstatus register.
In a straightforward implementation, reading or writing any field in sstatus is equivalent to
reading or writing the homonymous field in ...
0
votes
1
answer
653
views
Error report - ORA-01950: no privileges on tablespace 'USERS' for newly installed sqldeveloper
I am connecting the Pre Built HR Schema to the Oracle 21C using SQL Developer. I created a new tablespace USERS and User HR.
CREATE USER hr IDENTIFIED hr;
GRANT CONNECT TO hr;
GRANT CREATE ...
0
votes
0
answers
17
views
Lost acces to my databases by revoking permissions - phpMyAdmin MySQL [duplicate]
I accidently revoked every privileges to all of my users (including the default "root" one) on MySQL using phpMyAdmin and I am struggling to find how I could solve my mistake. I can't figure ...
0
votes
0
answers
135
views
Details about Protection Ring system
I'm studying about Protection Ring system.
Can you give me some details about operation of this system in CPU level?
Is it related to CPL?
why they use especially "4" level? why not 2 or 3....
0
votes
1
answer
1k
views
How to grant privileges on schema in arbitrary PostgreSQL database?
Is it possible in PostgreSQL to grant all privileges on a schema of a database other than the one I'm currently connected to (and without using the \c command to switch first)?
For example, I'm ...
0
votes
1
answer
262
views
file owner and user privileges in HDFS
It was my first time developing an HDFS cluster. I found that I can change file own or privilege.
What I don't understand is if I create user carl on namenode and change the owner of the /test ...