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
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
42 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
20 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
32 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 ...
1
vote
1answer
160 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
50 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
23 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
27 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
194 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
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
41 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
38 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
44 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
68 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
33 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
60 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
64 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
65 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
56 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
45 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
38 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
15 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
50 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
38 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
66 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
102 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 ...
2
votes
2answers
351 views

How to edit files in GUI text editors as root?

This time and another I need to edit some files that are supposed to be edited by root only. I would very much prefer to do it in a GUI text editor rather than using command line tools like nano or vi....
0
votes
0answers
24 views

Apache DocumentRoot

I have a Apache installed on Ubuntu 18. Config file /etc/apache2/apache2.conf does not contain DocumentRoot directive. But there is /etc/apache2/sites-enabled/000-default which defines DocumentRoot as ...
0
votes
0answers
84 views

Problem during grub repair

I am using Ubuntu 18.04 welcome to emergency mode message appeared and i tried to get rid of it for which i tried the following sudo -i umount /dev/sda5 fsck -y /dev/sda5 (I think sda5 is root as sda6 ...
0
votes
0answers
37 views

Should I increase the size of my root partition? [duplicate]

My root partition is 25GB and I was just notified that I have almost used it all. >df -h df: /run/user/1000/doc: Operation not permitted Filesystem Size Used Avail Use% Mounted on tmpfs ...
0
votes
0answers
23 views

Low Disk Space on “Filesystem root”, Ubuntu 20.04.1 [duplicate]

I am using Ubuntu 20.04.1. While installing Ubuntu for the Desktop, I read that 15-20 GB is more than enough for Filesystem root. But now I am facing this error: Low Disk Space on "Filesystem ...
0
votes
0answers
23 views

How to chown all root directory to root [duplicate]

I accidentally set the whole of / to another user other than root and it messed up sudo etc. I managed to get sudo back but how do I reset everything else? Back to root.

1
2 3 4 5
32