Questions tagged [root]
On Unix-like systems, a special user account used for system administration.
3,276
questions
1
vote
0
answers
24
views
I don't have permission to enter in mysql console with root user
Well, I'm using Ubuntu 20.04 and I have installed MySQL some months ago. Actually MySQL version is 8.0.30.
I'm trying to get in the mysql console, but it gives me that neither root nor my personal ...
-1
votes
1
answer
24
views
Is there a way to change the Read-Only File System on Ubuntu? [closed]
I am trying to move some files from my Downloads to other drives in my system but I just can't. Not able to copy,cut or even rename the files. The permissions tab in the properties says that I can't ...
-3
votes
0
answers
43
views
How to find password inside C code from Ghidra [closed]
I'm looking to find a root password for my Sercomm Camera IP.
After dumping firmware and extracting it.
I found in init.d execution of this script : /etc/rc.sethost
Password is stored in /mnt/ramdisk/...
0
votes
0
answers
9
views
Files in certain folders in Linux Manjaro
After starting to use Linux Manjaro, I noticed when i moved my TLauncher folders with all the files in it to Downloads from /root and started the game, new folders with new files in it got loaded to /...
-1
votes
0
answers
14
views
run sudo command in .command file Mac [closed]
I have .command file which gets run with root permission: sudo name.command.
within the file I want to run another sudo command but it again asks for the password even though I entered it when ...
0
votes
0
answers
12
views
chroot problem for change my lost password root on whm
I have a problem with my access, I use a VPS Alma Linux on OVH Cloud, but I lost my root password and I need to change this to manage my customers.
But I changed the password in rescue mode on my VPS ...
0
votes
0
answers
18
views
How to transmit packets in the Flask app and bundled by pyinstaller
In my Flask application, I want to perform arp scan and I need to bundle the app by pyinstaller.
Originally, os.system('arp-scan -l') was used. However, arp-scan cannot bundled by pyinstaller.
If I ...
0
votes
1
answer
15
views
SHGetDesktopFolder() doesn't return the file system root
Following the Microsoft documentation, calling the SHGetDesktopFolder() function should return the file system root:
Retrieves the IShellFolder interface for the desktop folder, which is
the root of ...
1
vote
1
answer
31
views
Recursion Error when Accessing Histograms from Root File using uproot in a Jupyter Notebook
I've made root files with histograms through another program, and I'm trying to extract this histograms in a Jupyter notebook using Python3 to do various bits of analysis on these histograms.
In the ...
0
votes
0
answers
20
views
adding new root object to dictionary
Suggest I've a dictionary looking like this:
{'airplane': {}, 'car': {}, 'boat': {}}
And I want to add a new root object, making it a dictionary looking like this.
{'transportation': {'airplane': {}, ...
0
votes
0
answers
16
views
Upping a CAN device through my application code
Here is my current situation: I have a CAN bus device using SocketCAN that if "Up" I am able to retrieve the File descriptor, set whatever settings I need to, and finally bind the socket. ...
0
votes
0
answers
10
views
How to set charging control file for rooted android device (MOTO E) so that it can stop charging at specific battery level
My aim is, I want my mobile to stop charging automatically at 85% and start charging once it reaches to level 30%. I have 3 rooted android mobiles. I have redmi-5 and moto G for which I can change the ...
-2
votes
0
answers
23
views
why my linux can not login as root and show "lo"?
machine login: root
lo
poky machine /dev/ttyAMA1
machine login: root
lo
poky machine /dev/ttyAMA1
When I want to login as root, it shows 'lo' only. why?
I have 2 rootfs generated by yocto: xxx.cpio....
0
votes
0
answers
17
views
filesystem move root and mount to another disk
currently I have a filesystem problem which must be solved.
My current situation is that I have some data (such as videos) on one disk (vdc) with ubuntu 16.04. I add a new disk (vdd) with a bigger ...
0
votes
0
answers
11
views
Cannot connect to my root server in MySQL workbench, trying to work with SAKILA db for homework assignments
I honestly have no clue what I am doing anymore - I am trying to work on labs that require me to refer to certain tables in the SAKILA database - first off, I began using SAKILA in the end of my last ...
0
votes
0
answers
14
views
Collectd - collect data without root
I am using collectd to collect system metrics. It is collecting data at /var/lib/collected/csv/ with root privileges. I am running collectd as a part of a larger automation framework, which is written ...
0
votes
1
answer
59
views
{ "errors": [ { "detail": "Bad Request. The JSON payload should be inside a root property called 'sheet1' SOLVED
I posted a question about this code earlier and got an answer that got rid of one problem but now I'm getting a new error, and I dont understand the error or bug. Also im coding on PyCharm using a Mac�...
-1
votes
0
answers
18
views
Clean Login - Linux
At the exam related to Linux, I had to login to VM via the console with root user, but unfortunately I was unable to login as there was a prompt which said clean login.
Please help me to solve this ...
0
votes
1
answer
23
views
Add XML prefix for the root element with Symfony XML serializer
I'm using symfony serializer in order to encode a class in XML:
$serialized = $this->serializer->serialize(
$content,
'xml',
[
XmlEncoder::...
0
votes
0
answers
27
views
"ioctl: Operation not permitted" error for non-root user
I'm in Linux and got error below on non-root user. "mmc" command checks the status of eMMC device.
$ mmc extcsd read /dev/mmcblk1
ioctl: Operation not permitted
Could not read EXT_CSD from /...
0
votes
0
answers
16
views
Ubuntu 20.04 GDM3 Root Login GUI How Can I Disable Security Notification
firstly sorry for my english because im trying to explain my question yours.
System Details;
Ubuntu 20.04
GDM3 (GUI) Installed
VNC Connection Installed
Root Login Enabled for login screen & SSH
...
0
votes
1
answer
56
views
Which Android Emulator image do contain 'su'?
How to know which Emulator image will contain su?
I can see that often it only contains su or google play
1
vote
1
answer
65
views
How to get path of root directory?
I have a powershell file called main.ps1 and it is in a project file structured as such:
APP > Tools > main.ps1
I'm wondering if there is a more efficient way to getting the path of the App ...
0
votes
0
answers
36
views
How to start an app with IR Remote on Android TV?
I found a file in system/usr/keylayout called Vendor_0001_Product_0001.kl which is responsible for my remote buttons to work.
And in other file I found a key code name OPEN_NETFLIX which opens Netflix ...
0
votes
0
answers
36
views
How can i get android accent colors from ADB or root
I am trying to get Android 12 monet colors from ADB shell or Root, but not able to find them.
Its fine even its stored in any format even long.
0
votes
0
answers
17
views
code changes in the docker container as a root user
I'm experimenting with the docker concept for C++ development. I wrote a Dockerfile that includes instructions for installing all of the necessary libraries and tools. CMake is being used to build C++ ...
2
votes
2
answers
92
views
How to programmatically turn on (Power-On) the android device at a certain time?
How to implement it in Android Studio(API LEVEL >= 17) in my App(System-App + rooted device)?
I know it is possible because my phone(Lenovo A516) and some others have this feature
--->>>...
0
votes
0
answers
33
views
Plot 2D histogram of 4 columns data file by using ROOT
I need to plot 2D histograms of four columns of datasets in a data file.
here is my code:
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>...
0
votes
0
answers
19
views
Bloatware Comes Back After Deleting In Android (Rooted)
please help me.
I rooted my device, (Redmi 9A). Using Magisk Manager.
I uninstalled system apps (bloatware), I removed them permanently from (system/app). But, they come back after restarting my ...
0
votes
2
answers
36
views
Install vim plugin on Ubuntu docker image
I'm trying to install the YouCompleteMe vim plugin on a linux docker image.
FROM ubuntu:22.04
# minimal nix stuff ...
RUN apt-get update
RUN apt-get install git -y
RUN apt-get install vim -y
RUN apt-...
0
votes
1
answer
21
views
Django: Import from project root
I was searching for an answer but could not get the solution for this exact case:
So, my project structure is like this
project/
myproject/
...
app/
...
views.py
...
0
votes
1
answer
20
views
How to use Limit and Integral in Sympy Parser
I want to know how to evaluates equations with operations in sympy parser(NOT with sympy.series.Limit Function), such as root, limit, or integral.
from sympy.parsing.sympy_parser import parse_expr
...
1
vote
1
answer
108
views
how can we calculate the area of root image?
in my project i need to calculate the area of small plant root image.
i have used the following two codes but i still doubt these:
import cv2
image = cv2.imread('D:/R4-15.TIF')
img_gray = cv2....
-1
votes
2
answers
60
views
How to transform a cube root of a fraction into an fraction without cube root in the denominator?
How do I write a python def function that can take the cube roots of fractions and return the answer as a fraction as a coefficient with a cube root in the numerator only? I am new to coding, so I ...
0
votes
2
answers
40
views
Why is it happening? [duplicate]
So, I've started a program to calculate the nth root of a number:
*x = float(input('Enter a number: '))
n = float(input('Enter the root you would like to calculate: '))
result=x**(1/float(n))
print(f'...
-1
votes
1
answer
50
views
Executing command using su on android doesn't work [closed]
I have rooted my android device and am trying to run the echo command in Terminal Emulator.
When i am in superuser mode ,i can run it without any issue:
root@wsvga:/# echo "gg"
However,when ...
0
votes
1
answer
37
views
ADB how to use/start system calls
Goal: So I have ADB device is rooted and I need to turn on the Vibrator motor, or Flashlight.
As an example:
adb shell am start -a android.media.action.VIDEO_CAPTURE
This launches the camera. Where ...
0
votes
0
answers
18
views
How to install a packaged version of python to a bitbucket folder (so no root)?
I currently have python3.10 in my system. However, for a specific project I need to install python3.7, but I have no root access. I would therefore like to install python 3.7, which I have downloaded ...
0
votes
0
answers
110
views
Cannot process multiple app roots in the same compilation unit
Take my liberty to ask.
I am integrating some modules of nRf mesh and nRf toolbox, and encountered the problem of multiple app roots.
The error description:
The annotation of @AggregatedRoot:
The ...
0
votes
0
answers
7
views
(MacOS) VSC wont recognize :root --primary-color
I am trying to set primary/secondary/light/dark root colors
**:root {
--primary-color: #46765d;
--secondary-color: #343434;
}
.showcase {
height: 500px;
background-color: var(--primary-...
0
votes
0
answers
58
views
The root deduction code has been Bypassed by frida and Object Bypassing how to save apps from those bypass method?
My application is Under VAPT report certification. in my application i wrote a code for detecting weather the device is root or not. the method is returning boolean values. but they Bypassed the code ...
2
votes
0
answers
25
views
IIS publish core mvc web site project
I have IIS service running from Windows Server program. There are websites with normal com extensions in it.
When I put the core mvc project that Visual Studio produces as a template into the publish ...
1
vote
0
answers
27
views
Slash in keyname
This might be a stupid question but unfortunately I have root files which contain keys with names such as "DQMInfo/runno". This is the the actual name. Because it represents a 2d histogram ...
0
votes
0
answers
468
views
dockerd: failed to load listeners: can't create unix socket /var/run/docker.sock: device or resource busy
I'm running an ubuntu container on windows, and from that I want to run an Nvidia container. To enable GPU support, I have to install the NVIDIA Container Toolkit, but I can do it only on Ubuntu, and ...
0
votes
1
answer
291
views
Can I run docker without root in github actions?
I don't want to use root, for safety, so I did as VSCode suggests, here's my Dockerfile:
FROM ubuntu:focal
# non root user (https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user)
...
-1
votes
1
answer
40
views
Restoring deleted 'root' user for MySQL v8.0.28 [duplicate]
I accidentally deleted my 'root' account of MySQL v8.0.28. I do have a non-admin account on there BUT it had no privileges to create, update, insert etc. and I even cann't access all the databases ...
0
votes
1
answer
86
views
Is Ansible failing to activate the 'become' user?
I have a playbook role which reads from a template (locally) and write it into an output configuration file (also locally).
The "hosts" entry is used as a loop mechanism so that it can ...
1
vote
1
answer
192
views
How to run PowerShell.exe command from bash as root in WSL2
I'm using WSL2 with Ubuntu 20.04 on Windows 10. I have a disk that is not automatically connected to the WSL2 on its startup. The letter under which the disk is registered on Windows can change, I ...
0
votes
1
answer
31
views
Do commands run with root permissions, if they're inside a bash script that's executed via a crontab under root
If a crontab is created for the root user under Linux, using
sudo crontab -e, then anything that's directly run by the crontab will use root permissions - see Is it possible to make a Bash file run as ...
0
votes
1
answer
100
views
How to fix a connection by web control panel Froxlor to MySQL?
I installed Apache2 and MySQL client/server and PHP8.1.2 manually. Ubuntu 22.04 successfully connected to the database from the terminal, changed the root password, exit.
Next, I tried to install the ...