Questions tagged [root]

In an Ubuntu system, root is the superuser, the owner of most system files. Questions about the root user or accessing superuser privileges may use this tag; the / or /root directories may be more appropriately tagged with "filesystem"

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

apt-get works with sudo but not with root

I'm setting up a Vagrant box with Ubuntu 20.04 behind a proxy and using apt-cacher as repository. In the Vagrantfile I run (as root) these commands in this order: apt-get -qq install -y docker docker-...
0
votes
0answers
23 views

Root used directly doesn't work via ssh

I have a Linux system in which root is disabled by default. I managed to enable it (passwd root and enabled login into root via ssh). However, once I login into root via SSH there is nothing I can do. ...
0
votes
0answers
13 views

Problem with emergency mode

Yesterday i was in a hurry and turned off my computer by the button. Today, when I went to turn it on, it went into emergency mode. You are in emergency mode. After logging in, type "journalctl -...
0
votes
0answers
15 views

Ubuntu 21.04 Unknown owner:group of /run/usr/1000/doc - Even root don't have permissions [duplicate]

While executing sudo updatedb, I stumbled upon: /usr/bin/find: '/run/user/1000/doc': Permission denied /usr/bin/find: '/run/user/1000/gvfs': Permission denied So I did sudo su and tried to cd into it,...
-2
votes
0answers
39 views

How can I change the root password?

I use this command openssl passwd (then add my new password) to change the root password and took the new one then add it in /etc/passwd between the two :: in the root line I didn't do anything else ...
8
votes
3answers
24k views

Suddenly can't run sudo

I didn't do anything on the computer except Internet for a few days and suddenly when I tried to do: $ sudo apt-get update I got: sudo: effective uid is not 0, is /usr/bin/sudo on a file system ...
0
votes
1answer
15 views

Running dual boot with Windows 10 and Ubuntu but the files in “Other Locations” are all read-only

So pretty much, got around to partitioning off a segment of my NVME drive for Ubuntu for mining applications and stuff, but recently when I got the folding@home software it wouldn't detect my GPU and ...
0
votes
1answer
45 views

What is a root shell? [duplicate]

can someone please help me, im so new at this whole thing. and ive been looking all day for an app that is a "root shell" What is a root shell? Why can’t I find an all that has that?
0
votes
0answers
22 views

How to change “root” name in a remote ubuntu 20.4

I would like to change the "root" name to a custom name in a remote ubuntu 20.4 machine. I tried the solution from Change root name in ubuntu but it doesnt work. Now I cannot log in at all. ...
2
votes
1answer
203 views

.deb Wps office 2019 only runs as root [kubuntu 21.04]

Installed wps office via .deb package from their website, it only runs as root. i did chmod 777 with some wps files but it wont help. i have limited internet access and downloaded the package at a ...
0
votes
0answers
19 views

How to reset password for ubuntu running on windows through WSL? [duplicate]

I forgot root password for Ubuntu running on windows machine via WSL.Is there a way to reset password?
2
votes
1answer
35 views

Cannot manipulate my files in Ubuntu 18.04

I am having major problems with my data partition which I have mounted at /home/data. Any time I try to download a file to any location within this folder I get a download failed error (with both ...
2
votes
1answer
58 views

How to increase the partition size of root disk in ubuntu linux?

I hope you all are doing well. I have some 55 Gb unallocated space in my disk and I want to give it to root but I can't resize the root disk. I even tried to do it by bootable live USB but inside ...
0
votes
1answer
24 views

how can i Activation selinux?

i use uname -r to know the version of the kernel and this is the result 5.8.0-50-generic and try to know some information about SELinux by this command grep -i SELinux /boot/config-5.8.0- and this is ...
16
votes
3answers
39k views

Run apt-get without sudo

This might be a very naive question, but I wanted to know how I could give multiple users access to a single computer without making them root users. How would I give them limitted sudo access such ...
0
votes
1answer
30 views

How can I resize my Filesystem Root partition? [duplicate]

I want to resize the partition that is mounted at my filesystem root, because I am running out of space and trying to clean it out didn't give me much more space to work with. NAME MAJ:MIN RM SIZE ...
2
votes
1answer
9k views

Ubuntu 18.10 Enable Remote Desktop for root

I have enabled root login on Ubuntu 18.10 with gnome desktop, works fine. I also have installed xrdp, and it works fine for normal users but not root. I am facing 3 issues: I want to enable remote ...
0
votes
0answers
41 views

Cannot create a file in /usr/bin/

My OS is Ubuntu 16.4.7 and I found that I cannot create a new file under the path: /usr/bin even if I login as a root user. It said that permission denied. What should I do to fix this problem? Thanks ...
3
votes
2answers
202 views

Create and Save New Folders/Files in Root directory

In the Root folder/directory, Shall we allowed to create some New folders which can have files like Videos, Doc, Software packages, etc? During installation ubuntu has created many folders with Root. ...
0
votes
0answers
30 views

My method to run a bash script automatically when any Desktop Manager is landed,does not work as expected

I would like to run a shell script automatically when my ubuntu 18.04 installation has landed and I see the desktop manager fully loaded. The script should be executed regarless of the desktop manager ...
0
votes
0answers
42 views

why is my 50 GB root partition getting full? [duplicate]

So, I just realized that my root partition which is 50 GB, only has 6 GB free space. p.s: I have separate root and home partition, my home partition is 180 GB and I have a 1TB HDD drive too which I ...
0
votes
0answers
87 views

New files are owned by root

ubuntu 20.04 I have only 1 user, but every file or folder that is created shows root:root as owner. How can i change this? I want it to be the username, not root. Also, does this mean i am root the ...
0
votes
0answers
28 views

Is there any way to copy files off onto a USB thumbdrive without sudo or GUI access?

Is there a way for me to copy some files in a user account I have access too off to a USB thumb drive or other method without root privileges? I also don't have access to a GUI. I had set up a a ...
0
votes
0answers
23 views

Accidently changed massive file permission when i type “sudo ./fix-wordpress-permissions.sh /” [duplicate]

Here is the fix-wordpress-permissions.sh file and it's location is home/htdocs/wordpressTest. #!/bin/bash # # This script configures WordPress file permissions based on recommendations # from http://...
-1
votes
1answer
45 views

Set root password in ubuntu kickstart

I have a kickstart to set a password for root. Currently, this is what it says in the preseed file: rootpw --iscrypted $1$lK/0.tLv$XdsDIJ3KNU/Ta9r1Pr6Qt1 How do I generate a new hash for the root ...
0
votes
0answers
42 views

/ partition without “root” flag in GParted

I'm curious in one thing: when I downloaded GParted and looked at my root partition it was without "root" flag, and when I tried to flag it there was no "root" flag from the list. ...
0
votes
1answer
45 views

Cannot run GUI applications as root

I cannot run GUI applications such as gedit, synaptic as a root. I have tried many ways to run. I have tried xhost +localhost Used gksudo instead of sudo export DISPLAY=desktop:0 None of these work. ...
0
votes
0answers
33 views

root and user same file different versions/content

I have a .gitignore-global which is owned by root. When I am normal user and I do ls I get a different date modified and cat shows me different files listed inside the .gitignore. When I do su - and ...
1
vote
0answers
25 views

Securing certain application with a second, longer password

In my day-to-day use of my computer, I need to supply my root password fairly often, since I frequently install something, or need to access certain system files. Hence, to not constantly type in ...
0
votes
0answers
77 views

Su command authentication failure on Ubuntu 20.04 LTS

I have been operating Ubuntu 20.04 LTS remotely. To run a shell script suited for tcsh environment I had to change my shell from bash to tcsh. I did it using chsh command being in the root. However, I ...
0
votes
0answers
42 views

How to move Jetbrains Toolbox apps from home directory to root directory?

I'm using ubuntu 20.04 and I want to move the apps of jetbrains Toolbox from home to root directory without crashing them or having to reinstall them.In addition,I want that all the new dowloaded apps ...
0
votes
2answers
62 views

chroot : sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set I have this since I tried to give a chroot user sudo permissions. The commande I ran : chown root:root /usr/bin/sudo chmod 4755 /...
3
votes
2answers
40k views

How to run Vmware player as root?

I want to use a physical disk in Vmware Player. To do that I need to run Vmware Player as root. How do I do that? I have tried to start it via terminal but no luck. I have tried to start it via gksu ...
2
votes
3answers
2k views

Permission denied on shared memory segments in /dev/shm/

in Ubuntu 20.04 I'm having problem with accessing shared memory segments by different users. The associated files are created using shm_open() with the combination of O_CREAT and O_RDWR flags and ...
34
votes
8answers
42k views

I need an equivalent of gksu in 18.04

I've read a lot of threads about gksu being removed from many Linux flavours, including Ubuntu 18.04. Many state that gksu is an abomination and no user should ever need to use anything like it. I ...
1
vote
2answers
3k views

How to use rsync when root priviledges are needed on remote host?

Since root passwords and logins are not allowed on Ubuntu, how does one use ssh and rsync to move folders and files from a local host to a remote host when root privileges are needed on the remote?
-3
votes
1answer
66 views

rm: cannot remove 'test123': Permission denied [closed]

I use this command but it didn't work rm test123 note 1 : menna@ubuntu:/etc$ l -ltr total 1116 drwxr-xr-x 7 root root 4096 Mar 18 06:11 apparmor.d/ drwxr-xr-x 3 root root 4096 Mar 18 06:11 ...
0
votes
1answer
66 views

Why is my Ubuntu root folder filling up?

I'm new to the linux file system and need help. I have four partitions on my disk: /boot is 1GB (/dev/sdb1) /swap is 2GB (/dev/sdb2) / is 10GB (/dev/sdb3) /home is 227GB (/dev/sdb4) My root folder ...
0
votes
0answers
19 views

How can I increase the file system root using free space in my disk? [duplicate]

I am using ubuntu for almost a year with dual boot. Actually, I almost never use windows for a long time and I want to increase my file system root disk. I create a free 60 gb disk space, but I cannot ...
1
vote
2answers
753 views

pdsh: how to run a commands that require root/sudo privileges

I have implemented a small beowulf cluster for testing purpose, all nodes with Ubuntu server 18.04. I have installed pdsh for running the same command on ssh at the same time on multiple node. ssh ...
22
votes
7answers
73k views

How to run Dolphin as root?

I currently use Dolphin 17.04.3 and whenever I run it as sudo, it gives the following error: Executing Dolphin as root is not possible. without explaining why or giving an alternative. How can I run ...
0
votes
0answers
12 views

Running out of space in root: should I backup then reformat a partition? [duplicate]

I just started using Ubuntu a few days ago, and only gave it 25 GB of space. Now that I look back at it, I should of put 300 GB or more. Is there a way to add more space to my root directory? Or ...
2
votes
1answer
3k views

Why is root user denied access to a file?

I would like to understand in which cases root can be denied access to a file. I am working on a machine I didn't configure (on my personal laptop I obivously don't have this problem) and I am having ...
2
votes
1answer
2k views

Increase Root Partition Size

I want to increase size of my root partition /dev/sda1 but I'm not able to do so either with GParted or with Terminal. On Terminal It gives the following error: The filesystem is already 4718592 ...
1
vote
1answer
3k views

cannot use sudo after using sudo passwd root

My System problem detected when I tried sudo passwd root in my ubuntu. I changed my root password by using the below command. sudo passwd root Now my system password changed, after this i could ...
1
vote
0answers
61 views

“sudo -i”, “sudo su” and “su” commands not working - Ubuntu 20.04 LTS

When running sudo -i i get sudo: 5.8: command not found, sudo su outputs su: failed to execute 5.8: No such file or directory and su outputs su: Authentication failure I have no idea what may have ...
66
votes
7answers
121k views

mysql doesn't ask for root password when installing

I used apt install mysql-server to install MySQL on Ubuntu 16.04 but during the installation, it did not ask for root password. After installation I got ERROR 1045 when I tried to login as root and ...
3
votes
4answers
19k views

Nemo, open as root, Ubuntu 13.04

I replaced nautilus with nemo in Ubuntu 13.04 from these excellent instructions: How to completely remove Unity, and replace it with Cinnamon? However, I can't "open folder as root" from Nemo. Know ...
19
votes
3answers
206k views

I Can't access the root folder

I do not have access to my root folder: Ubuntu says I do not have the necessary permissions to access it. I also cannot access lost + found, which gives me the same error message Is there anyone here ...
0
votes
2answers
6k views

Mariadb non-root user

I have installed mariadb and when as a Linux root user, I can run mysql command to access the database. But when I try to login as a normal Linux user and run mysql -u root -p, I am getting error: ...

1
2 3 4 5
32