Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 answers
21 views

Root partition is out of space in Ubuntu 20.04.5 LTS [duplicate]

While installing Ubuntu, I allocated 40GB to my root, and the space left was allowed for another partition mounted at home. My root is almost full and I'd like to resize it. Please how do I go about ...
nascodes's user avatar
0 votes
1 answer
44 views

Ubuntu 22.04.4 LTS cant use sudo, wifi disappear, can't reinstall ubuntu

I think I messed up, I can't use sudo, it says: sudo: /etc/sudo.conf is world writable sudo : /use/bin/sudo must be owned by uid 0 and have the setuid bit set When I try to reinstall my Ubuntu, ...
faridfred's user avatar
1 vote
0 answers
31 views

Should root directory be scanned for viruses?

I am a new Linux user, currently on Ubuntu 20.04. I would like to know should I include root directory when I scan my system with ClamTK antivirus? Or maybe scan the root directory with a different ...
AlexF's user avatar
  • 11
-3 votes
1 answer
66 views

Not root anymore and I am the only user

I hope you are doing great on this Saturday! :D I have a problem with my User-ID: It changed from 1 to 1000 and neither I know exactly, where this came from nor what to do to change it. My guess is my ...
JTR666's user avatar
  • 1
0 votes
1 answer
56 views

Why root user is getting 'Permission Denied' error creating any file inside dir owned by root

Why root user is getting 'Permission Denied' error creating any file inside dir owned by root root@ubuntu:/sa/# touch test touch: cannot touch 'test': Permission denied ~# df -h /sa Filesystem ...
Avijit Roy's user avatar
0 votes
0 answers
69 views

How do I call an executable as root without the need of using sudo?

I've created an app that also uses TPM for signing/encryption/decryption (with the tss2-fapi library)... But I am a newbie when it comes to Linux (Ubuntu) permissions. Now, when I am running the app I ...
Croksie's user avatar
0 votes
0 answers
15 views

System-wide app availability in Linux - Local user vs. VNC session

I have installed nvm (as root user) in my linux system (Ubuntu 22). On that time, I was connected by using a VNC session. The app is available every time I'm connecting with VNC. The problem I'm ...
dorinjj's user avatar
0 votes
1 answer
137 views

How can I install miniconda to be accessible to all users?

I am trying to install miniconda as root to be accessible to all user in a virtual machine. My goal is to share a virtual environment between multiple users.
G M's user avatar
  • 219
0 votes
0 answers
64 views

Keyboard is not working at apps while I login as root

I am able to write in terminal and search bar at the search apps when I login as root but my keyboard does not working in Firefox, spotify, burpsuite or any other apps. I am also writing this from non-...
ug0x01's user avatar
  • 1
0 votes
1 answer
44 views

I accidently changed my root user's name and now have lost all root permissions

I was messing around on my minecraft server with usermod and at some point I copied a command from a forum with incorrect terms. now when I sudo cat /etc/passwd, the output for my root user is as ...
Aye Chan Maung's user avatar
0 votes
0 answers
64 views

low disk space on file system root

I am working with Ubuntu 20.04. I had my ssd swapped for a larger one and had restored an image of the older one by a technician. It worked fine until recently the error "Low Disk Space on "...
Pitor's user avatar
  • 29
0 votes
0 answers
25 views

extending partition to root in ubuntu [duplicate]

I'm working on a Ubuntu 22.04 VM of 300GB , I got a warning " / is using 95.0% of 97.87GB" , I tried to increase my hard-disk space by adding additional 300GB of harddisk. This is the result ...
balaji S's user avatar
0 votes
0 answers
41 views

Why are the root settings of Ubuntu-server different from those of Ubuntu-desktop?

I know this issue has been discussed before and many instructions indicate that Ubuntu does not set a root password. I installed Ubuntu 22.04-desktop on a VM and I checked the /etc/shadow file and saw ...
rocky rocky's user avatar
0 votes
1 answer
354 views

Update/set root password in auto-install

I need to set the root password in the autoinstall as it allows me to check the system by logging into the console after installation. Unfortunately, this doesn't seem to work, and I have the ...
Prasad's user avatar
  • 1
0 votes
0 answers
64 views

Auto fills root storage problem

After install ubuntu every things is perfect but root partition storage consumption is Rising automatically and it fills the root of 150GB in 40 min and it make the ubuntu unusable and stuck in black ...
Abdul Hafiz Tamim's user avatar
1 vote
1 answer
99 views

snap only lists 2 versions per app, but did NOT delete the actual snaps

My /var is full because the old snaps are not being deleted. As a stopgap, can I just manually delete all but the two most recent snaps? How can I make the old snaps be automatically deleted like I ...
Carey Tyler Schug's user avatar
-1 votes
1 answer
261 views

How can you turn a root user into a normal user?

When I first set up ubuntu, I did most of my stuff in the root account. However, working exclusively in the root account is a bad idea. How can I turn my root account into a normal account without ...
joyoforigami's user avatar
-1 votes
1 answer
184 views

root ssh acccess is disabled and sudo user can not make root changes on vps Ubuntu server

I first created a sudo user from root ssh by using below commands on my Ubuntu 22 server: adduser username usermod -aG sudo username Then, I disabled my Root login by going to nano /etc/ssh/...
Matt Z's user avatar
  • 1
0 votes
0 answers
24 views

How to Extend Root partition from left? [duplicate]

337gbs to the left of root drive enter image description here I have windows on the left partition and resized the remaining drive space to add to the Linux root file system but not sure how to ...
Jonathan Thomas's user avatar
0 votes
0 answers
87 views

Is it possible to use gedit on a remote file with root permissions?

As titled, I'd like to open (and edit) remote text files with root permissions using the local text editor (gedit) I know about nautilus-admin, but it doesn't seem to work, unfortunately
elect's user avatar
  • 521
0 votes
0 answers
41 views

sudo doesn't working in Ubuntu 22.04 [duplicate]

I am going to update packages in Ubuntu 22.04 terminal. sudo apt update But I get errors like this. [email protected]:~$ sudo apt update [sudo] password for user: tester is not in the sudoers ...
bigant02's user avatar
  • 101
0 votes
0 answers
60 views

How do I change ownership of '/usr/libexec/sudo/sudoers.so' when it's stopping 'sudo' and 'su' from working properly?

any time I use sudo for any command I get the following errors: sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy" sudo: /usr/libexec/sudo/sudoers.so must be owned ...
Tareq Ewaida's user avatar
0 votes
0 answers
41 views

How to allow both a user and root to access directory? [duplicate]

How can I make /media/creeper39x/TB-Drive be owned by creeper39x, but root have access? Could I have a group with creeper39x and root in it?? Please help.
Creeper39x's user avatar
0 votes
0 answers
24 views

How can I confirm that the default temporary directory is full and that is the reason my assembler isn't progressing the genome assembly process?

My sincere apologies for writing a lengthy question; but I am stuck in this problem, and I am not an advanced Linux user. I was running the CLC genomics workbench for my de novo assembly work. CLC ...
Vijith Kumar V's user avatar
0 votes
0 answers
29 views

Create altenate user to key pairs ssh login

I am using AWS EC2 and using a key pair with Putty for access. However in case I somehow lose access to the key pair I would like an alternative login. For now I created a password for root, but I am ...
Barry Hohstadt's user avatar
0 votes
1 answer
70 views

Destroyed sudo permissions, no access to grub due to nouveau kernal driver

I managed to get myself into quite the corner. I messed up permissions to /usr/bin/ and all subdirectories, e.g. root is no longer owner of /usr/bin/sudo. As a result, I get the infamous /usr/bin/sudo ...
ndeboldt's user avatar
0 votes
1 answer
73 views

Root folder is running out of space

I am getting an error: / is running out of space when I work with the creation of docker images. Then I tried to list the top 10 large files on my computer's filestystem. It listed out 10 files/...
Imtiaz Ahmed's user avatar
1 vote
1 answer
1k views

I accidentally run command "chmod 555" on system directories [duplicate]

I accidently ran sudo chmod 555 / and now all users have lost access to the server Error: Last login: Thu Oct 18 16:50:55 2023 Could not chdir to home directory /home/User1: Permission denied /bin/...
hergo herna's user avatar
0 votes
0 answers
278 views

Can't access root folder in File Explorer since installing Ubuntu 22.04

I'm using WSL and I recently installed Ubuntu 22.04 and I can no longer access the root folder under that directory. I can access the root folder in my OLD ubuntu directory, but when I click on root ...
LionizeWebworks's user avatar
0 votes
0 answers
309 views

how to enable root user by default in autoinstall user data

in my product, i need to enable root user by default in autoinstall user-data file Expectation: root user login by default post installation i followed the below, version: 1 user-data: ...
seeni sekar's user avatar
0 votes
0 answers
26 views

Command in Ubuntu to access start page for Broadcom

I have Ubuntu installed with Broadcom and need to run start page of Broadcom to install a driver.
Martin Baxter's user avatar
0 votes
0 answers
49 views

How to set a desktop file in an installation script running as root to "allow launching"

I try to set a desktop file into the "allow launching" state in my installation script running as root. I tried following different ways to get it done: gio set "/home/ubuntu/...
framp's user avatar
  • 101
0 votes
0 answers
108 views

How to make program installed in /root available to user? bash PATH

Sorry if this is trivial, I'm struggling to understand the PATH variable system. I have deno (the js runtime) installed here /root/.deno/bin/deno I have a user, let's say it's called user0. When I ...
JorgeZapatero's user avatar
1 vote
1 answer
2k views

/run/user/1000 is not owned by UID 1000, as it should

So I have this error going on, and its the origin of a lot of errors with snap that I'm recieving. So when I execute: $ systemctl status display-manager Recieved some text and: gkr-pam: unable to ...
P2000Gua's user avatar
0 votes
1 answer
127 views

I have another user than root with UID 0

I'm running a VPS which I have forogtten for quite a while. It was still running Ubuntu 18. I logged in today an saw that apparently the server was hacked, it was running a cryptominer and stuff. So I ...
Brettetete's user avatar
-2 votes
1 answer
680 views

ssh root password

How can I get the root password, I'm trying to login in cmd with the command ssh root@localhost and I don't know what type of password I should use. The server is a linux vps. My system is Windows 10.
harishasa99's user avatar
0 votes
0 answers
28 views

libinput-config-default folder in /downloads/

I was clearing out my downloads folder and I had a copy of the etc folder from the root. I'm not sure why I had a copy of the etc folder there, but I just went ahead and deleted it along with ...
bluemonkey4's user avatar
0 votes
0 answers
23 views

restore sudo privilege without knowing sudo account [duplicate]

I always access to a test server using an account. But I has done some mess and now the user is no more a root user. I can restore privileges without knowing root credential? How can i solve (at last ...
Kappadocina's user avatar
-2 votes
1 answer
635 views

sudo apt-get update && apt upgrade tried to run this command and got a error

I run the command apt update and upgade but it gave this error .I tried the other methods like dpkg other fixes, but it did not get fixed. Also used grep command also the error ss
Keep Quit's user avatar
0 votes
2 answers
356 views

Not able to switch to Sudo or root on my ubuntu-22.04.2-desktop-amd64.ISO isntalled on VirtualBox

I have used VirtualBox to setup my ubuntu-22.04.2 on Windows 10 Pro machine. Default user was added as vboxuser and no user is available. Not able to switch to user and update/install any new software....
Krishna's user avatar
0 votes
0 answers
88 views

Access another system's root folder on mounted zfs rpool

my Ubuntu instance isn't booting, however I was able to use a Ubuntu Live USB to import the rpool, decrypt the drive, and use the system.key to mount the drive as read-only. I can only seem to access (...
numerous's user avatar
0 votes
0 answers
279 views

How to bypass grub user authorization in GNU GRUB

I have a linux machine and I updated the kernel which I shouldnt have done and now the machine won't boot up, I am trying to boot up with a previous kernel from GRUB but the system required me ...
Eyal's user avatar
  • 1
0 votes
1 answer
1k views

/etc/fstab mount as user?

Good Morning all, When I use my fstab command below, it seems to be mounting the directory as root causing me to be unable to edit anything: 192.168.1.74:/volume1/Barry/Plex/tv2 /mnt/plex/media/tv2 ...
Dan Daley's user avatar
0 votes
1 answer
178 views

Struggling with fstab

I'm really struggling to understand my fstab file, I would like to mount the nfs so that all users can edit the directories (rw) but I seem to get 'root:root'. My fstab file: 192.168.1.74:/volume1/...
Dan Daley's user avatar
0 votes
0 answers
41 views

Please help - directory permissions going weird

I've been working on my home server for nearly 2 weeks, at the same time I'm learning Ubuntu and I got everything to a place where I want it, then today - something, went wrong.. I have three main ...
Dan Daley's user avatar
0 votes
1 answer
269 views

No permission to edit config files

I have a problem with editing config files. E.g. in the opt/ folder. I understand that I need to do this as root. But even with sudo gedit path/filename it doesn’t work (see screenshot). With sudoedit ...
Daniel's user avatar
  • 1
1 vote
0 answers
81 views

Repair a Ubuntu server installation after power fluctuation

I have an ubuntu server that includes a 256GB SSD as the boot device and 3 6TB SATA HDDs as a mdadm software RAID5 array. While it was up and running we had an electrical service interruption that ...
BrianC8's user avatar
  • 11
1 vote
1 answer
199 views

after changing ubuntu user account and root password all files disappeared and cant run any software

i did write in terminal: sudo su then changer the root password: passwd and then exit to the user: exit and then changed the user password: sudo passwd username after changing ubuntu user account ...
محمد حتيله's user avatar
0 votes
0 answers
125 views

difficulty installing root

I'm trying to install root but am having the following issues. Please help me CMake Error at /home/joydev/Apps/root/root_build/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-build-Release.cmake:49 (...
Joydev's user avatar
  • 11
0 votes
0 answers
62 views

installation issues with musrffit using CERN/ROOT

I successfully installed root. After this, I set the environment variables (in .bashrc) as follows export ROOTSYS=/home/joydev/root/root-6.28.04-install export PATH=$ROOTSYS/bin=:$PATH Then I ...
Joydev's user avatar
  • 11

1
2 3 4 5
35