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
3answers
44 views

What to do with “filesystem root has low storage”?

I randomly get this popup notification, where the filesystem root has varying disk space, and is always < 1GB. It seems that a lot of stuff is being downloaded to the root folder, like packages and ...
0
votes
0answers
31 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
25 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
20 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 ...
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
47 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
23 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. ...
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
222 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 ...
2
votes
1answer
67 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 ...
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 ...
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
207 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
31 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
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
46 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
45 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
46 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
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
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 ...
0
votes
0answers
82 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
45 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 ...
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
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
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
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 ...
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
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 ...
1
vote
0answers
66 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 ...
0
votes
1answer
59 views

Ubuntu 20-04 won't boot up after modifying /etc/gdm3/custom.conf file

I wanted to grant my computer automatic root login (it's a computer for testing, so security is not a concern), so I modified /etc/gdm3/custom.conf file. I just changed the line AutomaticLogin=<...
0
votes
2answers
41 views

Why a file generated with sudo is not owned by root?

I run the following command in a terminal. sudo tcpdump -c 2 -w /tmp/z.pcap icmp Then run the following command in a terminal. ping 8.8.8.8 The file generated belongs to the user tcpdump instead of ...
0
votes
2answers
43 views

Change directory owner/group from root to a user

when trying to change the ownership of a directory i get the error: chown: changing ownership of '/home/tadpoles': Operation not permitted I even get the above message when i do sudo -s and ...
1
vote
0answers
16 views

Why does default-string appear after hostname in etc/hosts?

Referencing: This question The author is asking how to change hostname when it includes the appendage ´default-string´, If root is required to change the file in the path etc/hosts should this be ...
0
votes
1answer
47 views

Copy a file between two Ubuntu instances

I have two Ubuntu instances running on two different virutal nodes (Docker). I want to copy a file from one node to another quite a few times from my python script. For now, I am testing with scp if ...
0
votes
1answer
51 views

How to add myself to sudoers when accidently remove main user out of the sudo group [duplicate]

I was trying to create a public and private share directory using samba and I ended up accidently relocated my main user to smbshare group and can no longer use sudo commands or log in as root. I will ...
0
votes
0answers
18 views

How do I extend my root partition? [duplicate]

I have tried some other questions about extending root partitions but they haven't worked for me. Is there any possible way that I can shrink my home partition and extend my root partition with the ...
0
votes
2answers
39 views

How to give root permission for permanent to an existing user?

There are two user like "root" and a "normal" user In my Ubuntu . Now I wanna to give permanent root permission to the "normal" user without losing any data . I actually ...
0
votes
0answers
24 views

Login fails after accidentally set password to root and the files seem as Access-Your-Private-Data.desktop

I wanted to reset my former computer I haven't used for a long time. I got to the grub recovery menu and changed the line as rw init = /bin/bash. I accidentally set a password to root passwd root ...
0
votes
1answer
72 views

Why is Mysql Workbench refusing to accept the original root in Ubuntu 20.04?

I just installed a new mysql-server and Mysql Workbench in Ubuntu 20.04 The server worked fine although it was necessary to use sudo to login the root. Nevertheless, the Mysql Workbench refused to ...
2
votes
1answer
103 views

Launching root user installed application as a standard user

I am a newbie in Linux. Please help me out of this mess. I've downloaded and installed an application as root and created its desktop shortcut launcher and worked. On switching to the standard user's ...
0
votes
0answers
44 views

No efi system partition found error on a system using MBR drive and Legacy BIOS

I am very confused why ubuntu is asking for an efi partition. I just created a physical partition with / as the directory. I am trying to dual boot alongside windows.
3
votes
2answers
110 views

How to fix one existing Ubuntu installation from another

I have two partitions on my PC, each with Ubuntu 20.04 installed (separately). One of them has gone south, something related to graphics drivers and maybe also the bootloader. Is it possible to change ...
0
votes
1answer
41 views

Unallocated Space showing up as sublist in GParted while Extending Root Partition(Screenshots attached)

Hi i am using dual boot(Windows 8.1) and Ubuntu 18.04.4 and trying to extend my root partition of ubuntu.I had three partitions for ubuntu (root which is about 20GB,home which is about 75GB,swap which ...
0
votes
0answers
29 views

Graphical Root User in Ubuntu Focal Fossa- Drivers not working

Sound and USB ports not working on Ubuntu (focal fossa) root GUI user account. I recently noticed that the already insufficient free space remaining on the /home partition of my Ubuntu 20.04(Focal ...

1
2 3 4 5
32