Questions tagged [root]

The name of the main administrative user commonly used in *nix based systems.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

I want to unroot my mobile phone because it was hacked [migrated]

my phone was hacked and rooted by a stranger, How to restore my Xiaomi C40 mobile phone to factory settings?
Macan's user avatar
  • 1
0 votes
0 answers
13 views

Can't Root ADB Daemon [migrated]

I have a MediaTek Infinix X559C Rooted Device It was Android 7.0 Nougat Before And I don't remember correctly but i think adb root was working But after installing custom Android 8.1 Oreo XOS ROM and ...
Savçı's user avatar
0 votes
0 answers
29 views

Possible in Linux for root to take ownership of a running process without restarting it?

There is a process running under my personal login id that I want to run under root instead. This is only temporary for troubleshooting a problem with it. My login id has sudo privilege but is not ...
bgibson's user avatar
  • 103
0 votes
0 answers
96 views

Something in my Ubuntu Server 22.04.1 LTS installation is running amok and filling my 450GB root filesystem [duplicate]

As the heading says. I've tracked down which file is growing to fill the filesystem, it's /proc/kcore. Here's a snippet of 'ls /proc' { -rw------- 1 root root 140737471590400 ...
OldBikerPete's user avatar
0 votes
1 answer
51 views

Deploying app that requires root privileges to run [closed]

I'm deploying an app (built with Electron) as a deb file, and I'd like the user to install it and run it with root privileges only, like the way GParted does (retrieving them on boot event and execute ...
Kred's user avatar
  • 101
0 votes
0 answers
62 views

Linux user namespaces mapping issue - root without permission

I am trying to create a user namespace using unshare. Everything works fine when I map the parent user 'kevin' to the 'root' user in the new namespace: kevin@raspberrypi:~/test $ ls -lah total 8.0K ...
user1847927's user avatar
0 votes
0 answers
35 views

Cannot use gnomesu on Debian Linux on a Chromebook

I am using an Acer Chromebook with an Intel processor. Chrome OS version 103.0.5060.132 (Official Build) (64-bit). I successfully installed Linux (beta). In the Linux virtual machine, already ran: ...
Jonathan Dahlin's user avatar
0 votes
2 answers
188 views

Putty password as root or any user access denied

I try to log in with PuTTY as root or normal users and recive the error access denied. Access deined sshd_config putty ok user name ok (i've tested root and non-root users) password ok (i've used it ...
gvimieiro's user avatar
2 votes
1 answer
1k views

Root user in Fedora 38

I recently switched from Windows to Fedora. While I don't remember if I set any password for root during installation of Fedora but I created one user. Now, if I try to switch from the user to root ...
Amish Gautam's user avatar
0 votes
0 answers
196 views

Permission denied for root on tmpfs

I set up a new webserver on Debian Bullseye (11). I have exactly the same server with Debian Stretch (9) (everything works there). The webserver (lighttpd) writes its logs to /home/foobar/logs/ /home/...
fx123's user avatar
  • 1
1 vote
0 answers
310 views

Why is the chronos password different from the root password?

My device is a Samsung Chromebook 4. Most of the answers I find are confusing chronos and root. using the terminal Ctrl+Alt+F2 (right facing arrow) you will be prompted to set a password for chronos (...
N0X-3N's user avatar
  • 11
0 votes
1 answer
439 views

Allow non-root user setfacl on root-owned file

I have an application manager that needs to call setfacl to (dis-)allow execution of a certain file by certain users. This application runs as a non-root user admin (and for a plethora of reasons, I'd ...
fodinabor's user avatar
  • 103
3 votes
0 answers
549 views

MIT-MAGIC-COOKIE-1: Doesn't let me run GUI commands as root. What can I do to fix this?

I use the PureOS GNU/Linux distro (based on Debian/Ubuntu). I installed XDM as my display manager. After I logged into a X session as root, I got a bug. I can't run GUI commands as root in a non-root ...
user avatar
1 vote
1 answer
59 views

Try to set really long password but passwd keeps freezing

I have a password that is about 5000 characters long. I am trying to use passwd to set the password but it keeps hanging on the New password: prompt once it hit enter. Is this just a slow execution ...
gr3atm4n's user avatar
3 votes
1 answer
188 views

How to get unison to back up an entire file system starting at /?

I'm using unison 2.52.1 both on my linux machine (Ubuntu version 20.04) and my Mac (MacOS version 11.7). I want to use unison to back up my entire linux filesystem (excluding a few specific ...
HippoMan's user avatar
  • 357
2 votes
0 answers
415 views

How to run a Windows executable (exe) from WSL with root privileges?

The title might not be totally accurate, as my goal is to launch an .exe from a WSL2 shell which itself starts a Linux process inside WSL, and I want said Linux process to be ran as root Goal: Use a ...
Richard's user avatar
  • 21
0 votes
1 answer
2k views

sudo -u root init 0:wsl debian bullseye: Couldn't find an alternative telinit implementation to spawn

so, i'm running my wsl on windows 10, and when I type: sudo -u root init 0 i get the error: Couldn't find an alternative telinit implementation to spawn. Neofetch ( no flags or args ): _,met$$$$...
user17512255's user avatar
0 votes
2 answers
371 views

How to reset root password on Linux? Just getting the NOOBS window

I have a Linux computer, and I recently needed the root password to my system. When I got the computer, I didn't know the root password, and currently need to reset it. I'm thinking I would need to ...
Blox's user avatar
  • 11
0 votes
2 answers
2k views

Chrome OS Developer Options Root Password

I'm trying to flash a custom UEFI system or BIOS to my Chromebook (Lenovo c330) and I ran the command in the Shell in Crosh and it asked me for my password. I entered the password for my Google ...
Jabin's user avatar
  • 1
1 vote
1 answer
1k views

How to mount overlay filesystem over root folder in linux?

I want to mount an overlay filesystem over the root folder. My commands are: mkdir -p merged upper work sudo mount -t overlay ovr -o index=off -o lowerdir=\,upperdir=upper,workdir=work merged I get ...
nadapez's user avatar
  • 213
0 votes
0 answers
259 views

Turning off PermitRootLogin in sshd prevents any user to connect

I have a Debian bullseye virtual machine in OVH cloud. Allowing ssh login as root is non-secure, so I decided to turn it off in /etc/ssh/sshd_config by commenting out the line PermitRootLogin yes. ...
Dmitry K's user avatar
0 votes
0 answers
320 views

cannot use sudo on company issued mac - workarounds?

I cannot use root/sudo on my Macbook - is there a way to create some sort of artificial root user, so that the sudo command, when issued by tools and software on my machine, can not break stuff?
Alexander Mills's user avatar
0 votes
0 answers
123 views

Login in as root in Debian on an AWS instance

As the title says, I want to Login in as root in Debian on an AWS instance. I have tried various methods as described in this, this and others. In other words I have set: PermitRootLogin yes ...
Chiwda's user avatar
  • 103
1 vote
1 answer
404 views

Obtaining a root shell on a destroyed system

Due to entering ctrl-c during checkinstall I am in the state described well by this question: tar extracting on root directory is destroying entire system However I don't have a root shell open. The ...
Lee Magnusson's user avatar
1 vote
0 answers
3k views

Run script with root permission as normal user

Problem: How can I run a script owned by root with root permission as normal user? Let's take for example a folder /path/to/folder. First I make sure that the folder and all content is owned by root: ...
ningelsohn's user avatar
0 votes
1 answer
375 views

Where Is the Beep Sound File Location in Minimalistic Debian?

I have installed Debian without a desktop environment or the standard system utilities simply because I do not need a desktop environment (yet), and because many of Debian's system utilities are ...
Bill Joe's user avatar
1 vote
1 answer
2k views

mkdir: Permission denied in /usr/lib with root user

I was trying to do apt upgrade what exceeded with some errors. Now, I found the reason why: Even root cannot write to /usr/lib and can create /usr/lib/policykit-1 what is necessary for packagekit But ...
Ben Espersen's user avatar
1 vote
1 answer
496 views

Why is root in sudoers file?

I couldn't help but notice the line in the sudoers file: root ALL=(ALL:ALL) ALL From what I understand root already has superuser privileges and doesn't really need to use sudo at all. Am I missing ...
Danielle's user avatar
0 votes
1 answer
484 views

Can't send mails as root with Mutt through MSTP

I successfully set up Mutt and SMPT to send to myself some logs through emails. As user, it works perfectly However, when I ask through sudo crontab -e as root to send some logs after running some ...
Azertux0's user avatar
0 votes
1 answer
1k views

fsck not running on root partition, despite max time reached

My raspberry pi complains in /var/log/syslog "kernel: [ 19.931374] EXT4-fs (sda2): warning: checktime reached, running e2fsck is recommended". So, fsck should run at boot, but it does not. ...
Al_'s user avatar
  • 21
0 votes
1 answer
222 views

Super user binary source for Debian distro

I'm trying to craft a new root handle in a Debian distro and need to know where the source code for the su binary is located in order to move forward. Can anyone point me in the right direction?
Brandon Mccrary's user avatar
0 votes
0 answers
147 views

SSH for root User on Private - but publicly accessable - machine

It is probably a duplicate of any question I did not find, but I am curious. I own a Linux - server hosted somewhere and I configured it to allow ssh connections for user root - actually it has no ...
Seoka's user avatar
  • 1
0 votes
0 answers
700 views

Editing shadow file to change root password

I was trying to change the root password for a CTF. I had access to www-data account Couldn't use the sudo command but did escalate my privileges to root. I was trying to change the shadow file to ...
randomSapien's user avatar
-1 votes
1 answer
3k views

how can i sign in ftp client(winscp) as root?

I use WinSCP as an FTP client. I have access as a normal user, But I want to sign in as a root, How can I do it? Do I Need the same credentials or different?
Lachlan Tushar Wattamwar's user avatar
2 votes
1 answer
1k views

How to regain sudo permissions?

I'm using WSL1 and at some point I did something that means I can no longer use the 'sudo' command at all (unfortunately, I can't remember what I did or when that caused this issue but it definitely ...
Peter Atkinson's user avatar
0 votes
1 answer
567 views

How to change the text of “permission denied” in Linux?

All of us when we are a user in Linux (Not root), try to do some things that require root permission. For example you change directory to /root and you'll get an error that said "permission ...
iamnonroot's user avatar
0 votes
3 answers
2k views

How can I switch to root on Ubuntu? NO sudo

Yes, I know sudo is a better way but this is a particular case where sudo isn't an option. On most Unix/Linux distributions this works by adding a user to a group (wheel, root) but I can't figure out ...
Sparky's user avatar
  • 1
0 votes
1 answer
111 views

Not root access

I would like to install https://stackoverflow.com/questions/45894212/installing-pyrouge-gets-error-in-ubuntu using Astariul's answer. I have no problem until step 4 where I need to install sudo apt-...
Alex's user avatar
  • 103
0 votes
0 answers
341 views

After Debian 8 to Debian 9 to Debian 10 Dist-Upgrade i cannot connect via ssh as root or user

After i upgraded a Debian 8 server to Debian 10 and rebooted it, iam no longer allowed to ssh into it. When i use the -vvv i get this message: OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021 debug1: ...
AreUSirius_'s user avatar
0 votes
1 answer
495 views

Changing Root Permission

It appears that someone changed the permissions on my root folder and now, not only can I access any of my websites but I can't even change the root permissions back to where they need to be or access ...
Herman Tibbs's user avatar
2 votes
1 answer
1k views

What is meant by "don't run processes as root in a chroot environmentl"

I read several articles that say one should avoid running processes as root in a chroot environment since it allows the process to escape. But how should I do that? Chroot can only be evoked by root, ...
M0M0's user avatar
  • 131
1 vote
0 answers
116 views

Unable to identify USER on bash script executed by udev

I have created an udeve rule (on Debian) to copy files from sdcard when it is plug in: # only do something for sdX KERNEL!="sd[a-z]*", GOTO="my_mount_end" # SUBSYSTEM=="block&...
Guuk's user avatar
  • 199
1 vote
2 answers
133 views

How to choose the Anti-Virus to use? [closed]

There are many Anti-Virus and Internet Security software brands like: Nod32, Kaspersky, Norton, Panda, etc. All of these companies said they are the best, they are the number one. But that no make ...
jplc's user avatar
  • 123
0 votes
1 answer
876 views

Is it possible to modify the '/bin/su' command so that it will allow root access without password and without checking command ownership?

I don't know well how the su command works. I know that sudo command must be owned by root for it to work. Is it possible to modify the su command so that it runs the root shell without asking for the ...
Codester Club's user avatar
0 votes
0 answers
305 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
1 vote
1 answer
115 views

How can I change the system name from Linux to Windows in Debian?

I have a good idea for me. So I want to be able to change the system name from Linux to Windows. So, if I views the specific website, that web site should get the my system name as Windows. E.g. Steam ...
Krasnilyev's user avatar
0 votes
1 answer
288 views

Run a script as root being a normal user with sudo package removed

I want my users can run a script, but this script has to be executed as root. The "problem" is sudo package is not installed and I do not wanna install it. Is there a way to perform this? ...
vaayroon's user avatar
-1 votes
2 answers
20k views

Run Ubuntu as administrator

When I start my session in Ubuntu there is a message that tells me I have no administrator access: But when I write this command nothing happens. How to fix this to get access to all folders in the ...
yitzhak chocron's user avatar
0 votes
1 answer
104 views

Error using reserved port

Guys I'm using Kali Linux, I created a python script and everything is fine, but when I try to use a reserved port for this error: PermissionError: [Errno 13] Permission denied But when I use a ...
Dakota's user avatar
  • 153
17 votes
2 answers
56k views

How can I make my own account a sudoers on VirtualBox?

I have Windows 10 installed on my computer. I installed Oracle VirtualBox and created a machine with Ubuntu 20.04. I need administrative privileges on this machine but, for some reason, I cannot have ...
Alessandro Ruggieri's user avatar

1
2 3 4 5
13