Questions tagged [root]
On Unix-like systems, a special user account used for system administration.
3,344
questions
-1
votes
0
answers
19
views
Cannot reset MySQL root password in Windows 11 [closed]
I was using MySQL Workbench 8.0 CE. But recently I forgot my root password. I tried to reset it following some articles and some YouTube videos. But every time when I enter the final CMD command it ...
1
vote
2
answers
25
views
Mathematica - Rational Exponent Not Showing Radical Symbol
I apologize if this is not the correct place to ask a question such as this so please feel free to delete it if it's not allowed. I'm struggling with getting Mathematica to show the radical symbol ...
0
votes
0
answers
18
views
How this applications detects my emulator?
I would really like to run a certain application on an Android emulator.
I've tried several emulators, particularly Genymotion, but it still doesn't work. The application detects that I am on a ...
0
votes
0
answers
21
views
Proxies are failing on my Android 13 device
Before I start, I want to make it clear that I am aware of the Android 10+ feature that stops normal apps from using proxies (unless overidden by developers).
I am bypassing this (I think) with ...
0
votes
1
answer
23
views
Not able to Navigate to root viewcontroller(Home) in swift
I have added NavigationControllerScene to ViewController and made it initial viewcontroller in storyboard
code: if I use below code tap on testBtn not able to go to ViewController1. why? i want show ...
1
vote
2
answers
68
views
How can I run Python as root (or sudo) while still using my local pip?
pip is recommended to be run under local user, not root. This means if you do sudo python ..., you will not have access to your Python libs installed via pip.
How can I run Python (or a pip installed ...
0
votes
0
answers
6
views
> Could not open proj generic class cache for build file
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\kumar\Desktop\Emart_V2.1_Source_Code\...
0
votes
0
answers
27
views
How can i create a Root User in Django?
I want to create a root user RootUser under which there will be all the companies and under each company there will be different users which i have already done using CustomUser model. That root user ...
0
votes
0
answers
48
views
Parsing a xml file into data frame with Python (All columns)
I have the following code to convert a xml file into a data frame in Python (And it works!):
> import xml.etree.ElementTree as et xtree = et.parse("file.xml") xroot
> = xtree.getroot()
...
1
vote
0
answers
24
views
Authorizing Android ADB on Qualcomm phone from off state
My phone, sharp Aquos 304sh is bootloop because I without knowledge adding bigger value on dalvik cache
Trying to connect data cable on the phone is bootloop state and detect adb unauthorized (because ...
1
vote
0
answers
19
views
How do I avoid pollution of a .venv folder with files owned by root when running a script with root privileges?
In virtual environment (created with poetry) I'm running a Python script regularly as current user via
poetry run ./script.py
or
.venv/bin/python3 script.py
From within this script I need to run ...
1
vote
1
answer
26
views
is r-x file considered read only or not?
A file is considered "read-only" if reading the file is
allowed but writing to the file is not permitted.
What if the file has the following permissions (r and x)
root r-x file_name.xls
Is ...
0
votes
1
answer
44
views
How to find the maximum minimum point of a function in pyhon?
I need to find the maximum minimum point of a function.
There are 2 matrices M_A, and M_B, where M_A < M_B and I > M_B (element-wise comparison), where I is the matrix of all ones.
I need to ...
0
votes
0
answers
15
views
restricting .env file from other ssh admin
so myself, and a guild member of mine, are working ona bot
together for our server. Its first and main purpose was to link our path of exile accounts, with our discord accounts so we can identify ...
-2
votes
0
answers
17
views
Nestjs ENOENT: no such file or directory, open '/root/.local/share/pnpm/store/v3/files/cd/1a5488...-index.json'
ENOENT: no such file or directory, open '/root/.local/share/pnpm/store/v3/files/cd/...
0
votes
0
answers
15
views
How to disable SELinux running Android Operating Software in Orange Pi 3 LTS
As of this instance, my application needed to read and write from the android application that need an access to the boards core system to read and write. Currently, the error appears to be related ...
-2
votes
0
answers
22
views
How do I include /root to my script that when I run it prints the current working directory? [duplicate]
root@7c987c6eebc5:/alx-system_engineering-devops/0x00-shell_basics# ./0-current_working_directory
/alx-system_engineering-devops/0x00-shell_basics
root@7c987c6eebc5:/alx-system_engineering-devops/0x00-...
0
votes
0
answers
29
views
How can I upgrade gcc (and all of its libraries) without root
I have a shared hosting machine on GoDaddy and I want to deploy a sveltekit app. The problem is that sveltekit requires node version 16. In the server node was not installed so I installed it with nvm....
0
votes
1
answer
37
views
Classic ASP: play mp4 file located behind web root
My client uploads MP4s to a folder behind the web root for internal usage. They would like to play these directly for some users from a web page rather than download. Is that even possible?
I can get ...
0
votes
0
answers
24
views
how to change Samsung keyboard size limit
The Samsung keyboard resize has a certain size limit, while I've a custom layout set by Keyscafe I need more row. I've root access.
I tried to use the built in resize function it is limited to a ...
0
votes
0
answers
22
views
React app deployed to github pages doesn't include repository name when determining the root
Created a react app using Vite that works fine locally. But when I deploy it to github pages, it doesn't include the repository name when routing.
This is the url of my small app:
https://tehcatsmiaw....
0
votes
0
answers
21
views
How do I export call history from tc.db aka truecaller. database to regular phone app
I have a situation where my android phone rebooted and pretty much truncated my call history & contacts. I immediately set extundelete & ext4magic ( these were linked to sdext2 ext4 ...
0
votes
1
answer
40
views
is there anyway to get nginx to not append the location to the root?
I have an nginx server block that looks like this:
server {
listen 80;
server_name localhost;
location /exogeny/ {
root /var/www/exogeny/www/;
index index.html ...
0
votes
1
answer
67
views
docker: non-root user can not write to $HOME in container
I really tried many things but still couldn't figure out how to write to $HOME inside a docker container as regular user.
Here are my commands:
stulluk ~/docker-nonroot-test (main) $ docker system ...
1
vote
0
answers
59
views
Frida android can't find out WebView instance
I tested on some android apps that has an embedded WebView or sub-class of android.webkit.WebView, on a frida shell I can use the frida api Java.choose to find a webview instance like this code:
Java....
-1
votes
1
answer
33
views
How to find roots for the polynomial given below using Matlab / Mathematica / Python?
x^4 + 4bx^3 + (a^2 + 4b^2 + l^2)x^2 + 2(b(a^2+l^2)-m*l^2)x + a^2l^2 = 0
For some specific values of the unknown coefficients we can get the root. But how could we get the roots of the equation for ...
0
votes
0
answers
16
views
Cygwin MySQL installation asks for a root password. How can I get it?
I saw that in order to connect MYSQL database on cygwin, this statement must be e on itxecuted:
mysql -u root -p -h 127.0.0.1
However, as far as I know, there's no root user on cygwin.
How can I get ...
0
votes
0
answers
50
views
How to get root permissions in my app in Android
In my devices, I can exec su in adb shell, and it show #.
but I get error by this code:
Runtime.getRuntime().exec("su");
FridaInjector fridaInjector = new FridaInjector.Builder(this)
...
-1
votes
1
answer
39
views
How to deactivate device hardware (physical) buttons such as Task & Home Buttons (Android 13)
In order to run our application on runtime on devices exclusively meant for it, I want to disable device hardware buttons such as Home, Task & Back buttons.
My Android version is 13, device is ...
1
vote
0
answers
25
views
Seeking Advice on Enhancing Security Measures for My React Native Money Game
I have developed a money game using React Native, and I'm facing a security concern. In my game, I have two variables: 'score' and 'increment'. The score is initially set to 10, and every three ...
0
votes
1
answer
27
views
how to modify contacts.db and Import 160,000 contacts to android phone
I have about 160,000 contacts, I need to import them to my phone. how Can I do this by modifying contacts.db in a rooted android
i have tried importing using the phones contact app, but it fails, I ...
0
votes
0
answers
99
views
The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'xxx'; ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
I have try like ...
0
votes
0
answers
19
views
Some problems with root and docker. Could you help me? T.T
Before start writing this post
I'm super newbie about computer so can't solve this problem
I'm so disappointed with my ability cause I try to solve this problem 24 hours.. but failed.
Could you help ...
0
votes
0
answers
16
views
run a npx from plist of global daemons of mac os m1
this is what i want to run
its test on cypress that runs four times in a day to do something in another webpage for me
there is not possible to run npm or npx from plist to lauchdaemon or launchagents ...
0
votes
1
answer
52
views
How to build gui screens in multiple modules of a project?
This is a simplification of my project. The code should run when all files are put in the same folder and mainframe.py is run. I want to be able to return to the mainframe screen from the auxscreen ...
0
votes
0
answers
90
views
How to make a C program to find the interval of a root of an equation
I need help making a C program that calculate the root intervals of a given equation. I made a program based on the concept that if f(a)f(b) < 0, then there exists at least one root in (a, b).
#...
0
votes
1
answer
43
views
Errno 13 whenever .py file is run with sudo on Linux
Whenever I run any .py script with sudo, even simple ones, I get the error "[Errno 13] Permission denied" on Linux. The reason I want to run a Python script with sudo in the first place is ...
0
votes
0
answers
61
views
my programme looking for libtbb.so.2 but I have libtbb.so only how to reolve this
I am building a monte carlo event generator in a virtual machine.
The specifications of my system is ubuntu 23.04
While building the Event generator the roor files are looking for "libtbb.so.2&...
0
votes
0
answers
14
views
Extract name of main subfolder, create new subfolder, and move files from source to destination
I'm fairly new to python but I'm trying to write a code that essentially looks at all the folders in my source path, extract the names of the folders in the source and create new folders with a ...
0
votes
1
answer
79
views
How to plot color plot or density plot for complex numbers?
I have a res function that takes as input complex value of a certain omega variable and returns the absolute value of the residue (also complex) of a continued fraction.
I'd like to test the res ...
0
votes
0
answers
74
views
How to start yarn in sudo root?
I have a problem on my project, i need to be in super user for start my backend part of my project. Instead of use the command sudo npm start, my boss want me to use yarn but when I try sudo yarn dev (...
0
votes
0
answers
71
views
Is there a way to restore the original system partition on an android device using adb or TWRP?
Successfully rooted my grandfather's old Lenovo K6 Power to install kali nethunter for a project, but it was on android 6 and termux requires android 7+. i didnt realize this at the time and so I ...
0
votes
0
answers
184
views
Problem with adb root on Samsung Galaxy A04e on Android 12
I rooted a new Samsung Galaxy A04e on Android 12 using Magisk.
I can "adb shell" and su to root no problem.
But when I try to do an "adb root" then I get the "production ...
0
votes
0
answers
20
views
How can I run nosetests in the root of a repository?
I am using python 3.8 in spyder and installed nose using 'pip install nose' but am unsure what it mans to run 'nosetests' in the root of the repository as given by the readme.md. I tried copying the ...
0
votes
1
answer
75
views
How to find complex roots of an equation without analytical solution?
I have a complex function f which is given in terms of functions:
from sympy import *
def alpha(n, rho, l):
return n**2 + (2*rho + 2)*n + 2*rho + 1
def beta(n, rho, l):
return -(2*n**2 + (8*...
0
votes
0
answers
86
views
transform.root returning wrong object Unity
I have a button that's instantiated as a child of a prefab, when using transform.root it does not return the desired object.
GameObject parentObj = this.transform.root.gameObject;
that is the line in ...
-1
votes
1
answer
63
views
how to copy files from one location to another using root access(super user) on Android with Kotlin
I want to copy file from one location to another using root or su in android 13.
example: copy from /storage/emulated/0/super/hi.txt copy to /storage/emulated/0/
i have tried this Runtime....
0
votes
0
answers
19
views
On Android with root access, how can I get READ_CALL_LOG permission?
I should start by saying that this is a private app, so I don't need to worry about Google Play allowing my app to be published.
I have my app installed on the system partition, in the priv-app folder,...
0
votes
1
answer
150
views
creating a Dockerfile that grants ownership of any created files to the host user instead of root
I am trying to create a Dockerfile that grants ownership of any created files to the host user instead of root. Ideally, I could share the image with others and maintain this functionality without ...
1
vote
1
answer
61
views
Problems with switching to root user on Nao (Robot)
I am right now trying to connect to Nao robot to install an mqtt-client/listener. My goal is to install paho-mqtt using pip (following this tutorial using the command pip install paho-mqtt. Thus, I ...