As of May 31, 2023, we have updated our Code of Conduct.

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
1 vote
0 answers
55 views

150GB root partition is full

i run ubuntu server 22.04 LTS on a SSD 150GB. This SSD is suddenly filled up to 100%. I deleted some logs and files I was sure not to need anylonger. But this gives me only 8% more space. I read a lot ...
Manfred Kupper's user avatar
0 votes
0 answers
20 views

Ubuntu (on Windows) only root user available

I have installed Ubuntu on Windows, but somehow when I start it, only the root user is available, if I type "EXIT" it closes the terminal.
Victor's user avatar
  • 1
0 votes
0 answers
41 views

Ubuntu root partition is full, system won't boot, and "sudo apt-get clean" isn't working

I set up an Ubuntu rig to host Plex and act as a file server on my local network. I'm new to Ubuntu, so I followed directions and things seemed to be running fine--no problems with boot up or memory. ...
Forgot the Jacobian's user avatar
0 votes
1 answer
34 views

Ubuntu's sudden root storage volume is full ( 20.04 )

I have recently installed Ubuntu 22.04 as a dual boot, for the third time when I turned on the system, the system did not enter the desktop anymore; After restarting it twice, it entered the desktop ...
Sajadi's user avatar
  • 3
0 votes
3 answers
71 views

How does postfix intercept root's mail?

Quite a number of apps e.g. cron etc will send mail to root if there are errors. I saw some tutorials which involve installing postfix + quite a bit of configuration to have them forwarded to gmail or ...
bilogic's user avatar
  • 191
0 votes
0 answers
21 views

Unable to create the file /sys/class/net/<device>/device/sriov_totalvfs file in Ubuntu 22.04

I gave all permissions to all files and folders in /sys/ directory, but still I'm unable to create any file in the /sys/ directory too in Ubuntu 22.04. I'm trying to create an sr-iov interface, when I ...
user41965's user avatar
  • 333
0 votes
0 answers
28 views

Read only /root folder

Can a user have read-only access to the /root folder? For example, only in the .bash_history file.
Yannis's user avatar
  • 1
0 votes
0 answers
35 views

I moved the /var to a partition to free space but don't know how to link it

I recently setup Ubuntu 23.04 but it was setup wrongly so I ran out of space it was supposed to be installed in both SSD and HDD but it only used the SSD one so I started moving data manually so that ...
Mostafa Ahmed AbdulRazik's user avatar
3 votes
1 answer
197 views

"sudo command" not working, but after sudo su when I enter command is working [duplicate]

My Ubuntu version is Ubuntu 22.04.2 LTS. I have one user (ahmet) and it is member of sudo. I download intellij idea and I want to use its mvn lib for everyone. I edited /etc/bash.bashrc as in this ...
Ahmet Hakan YILDIZ's user avatar
0 votes
2 answers
67 views

What is the purpose of the file named gost.so in the filesystem root?

What is the purpose of the file named gost.so in the filesystem root? I found this rather by accident in the root of my file system tree: drwxr-xr-x 19 root root 4620 Apr 26 20:51 dev drwxr-xr-...
Waldgeist's user avatar
0 votes
0 answers
45 views

Booting keeps on going forever. Unable to load the os on my laptop

A few days back, I was trying to download a zip file which is of size ~6GB. I tried downloading it using google-chrome and after downloading for about 60%, it failed. Later I also tried to download it ...
Lawhatre's user avatar
  • 147
0 votes
1 answer
149 views

Installing Ubuntu 22.04 in VirtualBox causes the account to be not a sudoer nor a root user

I have just installed Ubuntu 22.04 in my VirtualBox and created only one account, say "A". Although A is the only user in the system, it is not in the sudoers file because when I run "...
Ron Gu's user avatar
  • 3
0 votes
1 answer
45 views

Restricting folder interaction of a user with root privileges

Often times when creating an Ubuntu Linux image, rather than giving an administrator root access, a new user is created with root privileges. Let's call this new user "root_2". # adduser ...
Entree's user avatar
  • 1,301
1 vote
1 answer
58 views

Forgot sudo password, can't get to grub on boot, can't boot from USB

I don't mind wiping all data. I have looked up similar issues but can't really find anyone in my situation. Many answers assume I can enter grub menu, others assume you can access the live USB, and ...
Kepol's user avatar
  • 11
0 votes
1 answer
79 views

(Ubuntu 22.04) The root folder is mysteriously full [duplicate]

I attempted to install Nuclear from the terminal using sudo snap install nuclear. The attempt failed and the following was the output error: Reading package lists... Error! E: Write error - write (28: ...
Alok's user avatar
  • 71
1 vote
1 answer
447 views

Visual Studio Code shows a blank screen while trying to run it as superuser

I tried to run VSCode as root. It actually launched successfully, but it shows just a blank screen. I tried running it as superuser via the command sudo code /var/www/html --user-data-dir='.' --no-...
syrok's user avatar
  • 11
0 votes
2 answers
47 views

GIMP can't access plug-in folder

Ok, I want to access the plug-in folder in GIMP and I got this message. What is this? Can't show file in file manager: Calling ShowItems failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An ...
Isa's user avatar
  • 9
0 votes
0 answers
77 views

How to recover from a broken zsys state with ZFS?

A while back, I run into an issue where there were too many snapshots and zsys couldn't cope anymore. I didn't know about the zsysctl suite of commands, so I manually deleted some snapshots. This, ...
Pierre's user avatar
  • 101
0 votes
0 answers
33 views

Can te root user access all directories and folders?

Aŕe there files that the root user can't access, because earlier i was using the "du" comand and some files could not be accessed due to permissions
blankC's user avatar
  • 41
1 vote
2 answers
50 views

Root invalid default shell

We have a server with ssh enabled, and we have: PermitRootLogin: no, and a user that is not in sudoers file. Another administator set invalid Shell for root so I can't get root access anymore. When I ...
Ivan's user avatar
  • 15
0 votes
0 answers
81 views

How to change default $PATH for root user in WSL2 (Ubuntu version)

In the Ubuntu version running in WSL2 (on Windows 11), how do you change the default $PATH for the root user? I've tried adding the following lines to the root user's ".profile" script: if [ ...
Greg Dolley's user avatar
1 vote
0 answers
183 views

My root partition filled up to 21,2 GB after installing Ubuntu 22.04, updating, installing drivers, chrome, and removing snap

I have just installed Ubuntu 22.04, done update, installed NVIDIA and Bluetooth driver, installed Chrome, and removed snap, that's all. But, when I opened the + Other Locations section in Files and ...
Gabriel Dylan's user avatar
1 vote
1 answer
606 views

How do I gain admin access without a root password and no sudoers?

I am running VirtualBox on a Windows Machine, and installed Ubuntu Linux 22.04 LTS. During the install, I set up the initial user. However, there appears to be no way to make this user have admin (...
Ryan Bruner's user avatar
-1 votes
1 answer
808 views

When I run sudo apt-get update I get "An error occured during the signature verification"

This is the error message I run into: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.releases....
Kariebi Odozi's user avatar
1 vote
0 answers
109 views

How to run a command as root on login

I want to run this command as root on login: systemctl mask --now sleep.target suspend.target hibernate.target hybrid-sleep.target I had some problems with the laptop randomly logging out, every 1 - ...
joonho park's user avatar
-3 votes
1 answer
72 views

how do i navigate in the terminal [duplicate]

i am new to linux and i am confused on how to navigate to and from between root@2c00d30f31ad:/ and root@2c00d30f31ad:~# Here is what i am facing: root@2c00d30f31ad:/alx-pre_course# cd ...
TAUSI TSONGA's user avatar
0 votes
0 answers
29 views

WSL2 - How to use apps installed on root while logged into another user

Basically, on my root user in WSL2 I have a /.vscode directory and a /.docker directory for those respective applications. this allows me to type in the "code ." command and open a folder in ...
Drake Scott's user avatar
0 votes
2 answers
146 views

Unable to boot in Linux system. Having issue with partition mount

I had low space on root partition. And being new with Linux I tried to unmount root partition from gparted. Then I force stoped my laptop. From then on I'm unable to boot into Linux partition. I have ...
Bhaskar's user avatar
1 vote
2 answers
304 views

Slow startup of gnome-terminal as root

Could anybody help me debug the following issue: I have a menu shortcut that starts up gnome-terminal as root. The shortcut refers to the following .desktop file: [Desktop Entry] Name=Root Terminal ...
raj's user avatar
  • 8,170
3 votes
2 answers
519 views

Startup script not executing

Ubuntu Version: 22.04.1 LTS Hey! I'm trying to run startup.sh located in /root/startup.sh on startup. This is the content of the file: synclient VertScrollDelta=-100 synclient CoastingFriction=35 ...
User1986's user avatar
  • 259
0 votes
0 answers
327 views

Ubuntu 22.04 - Accounts (including root) authenticate without a password prompt

Fairly new to Linux and have inherited a few Ubuntu 22.4 servers that permit autologin for all existing accounts. How do I disable autologin? The following are noted behaviors: Console login - type ...
MikeD1966's user avatar
0 votes
0 answers
34 views

CRASH /duplicity-full.20230105T083600Z.manifest /duplicity-full.20230105T083600Z.vol20.difftar.gz

I had a major crash of files shown above multiplying. could not get in laptop for days. running latest ubuntu jelly which not as satisfied with as 20.04. planning on running a virus scan.? Any one ...
17now's user avatar
  • 1
0 votes
1 answer
35 views

How do commands determine whether we have the necessary privileges to perform an action?

Ubuntu newbie here! I can't seem to figure out what mechanism determines whether to execute a command or to display a 'Permission denied' error. For example, assuming that we are using a regular user ...
Big_Duck's user avatar
0 votes
1 answer
145 views

Is it possible to recover a deleted directory? [duplicate]

I deleted a directory using the command rm -drf file_dev as root. Is it possible to recover this directory with its content somehow?
sarp's user avatar
  • 433
0 votes
1 answer
64 views

How to delete the root crontab in the GRUB command line?

I was experimenting something related to rtcwake in the root crontab, and the sleep worked correctly but I don't know what exactly went wrong, but now every time the PC boots up, the spinning loader ...
Youssef Ihab's user avatar
-1 votes
1 answer
37 views

Is screen capable of displaying a root process?

I am trying to run XMRig at boot on Ubuntu Server 22.04.1 and my basic knowledge is not enough to solve this issue. I am following this procedure which uses a systemd service to launch a shell script ...
Powerkey's user avatar
0 votes
0 answers
11 views

Run a command in a particular user account not in both account User & Administrator [duplicate]

I want perform a command for a particular user not a globally (Admin Account). so how can i perform. as of now I run a command it is run globally in admin account & user account. suppose I will ...
Nirmit Vora's user avatar
1 vote
0 answers
48 views

Is this system affected by CVE-2019-7304?

I am analyzing a system that since a month shows two new users in the login screen. After some research I stumbled over the exploit of snap: CVE-2019-7304 I checked the passwd file and found a new ...
rayon's user avatar
  • 111
-1 votes
1 answer
78 views

How to access Minecraft screenshot saved to a root folder?

I play minecraft. When I take a screenshot in game it saves to a root folder. To see the screenshot I need to enter a password every time. How can access that folder any time without entering a ...
yashchauhanz's user avatar
0 votes
0 answers
29 views

Using Kate & Kdiff3 as drop-in replacements for vim/emacs

By default, ubuntu-minimal uses vim-tiny, and after >20 years of using vim/emacs, I am cured, and realize that despite their obvious power, the user interface itself of both editors is not designed ...
Evi1M4chine's user avatar
0 votes
0 answers
42 views

Can't use root privileges [duplicate]

I recently installed ubuntu on a virtual machine using VirtualBox and whenever i need to use a sudo command(any) i can't because my only user is not in the sudoer file. I tried using the sudo -i ...
Fra's user avatar
  • 1
0 votes
0 answers
225 views

Ubuntu 22.10 login loop

I removed the Adwaita theme/icon using Stacer (a cleaner app) and it causes a login loop.
Avro Shaheen's user avatar
-4 votes
1 answer
248 views

Can you login to root as a normal user? [duplicate]

I was wondering if you could login as root, not through the terminal, but rather like you would if you made a normal user.
ACTS 238's user avatar
0 votes
2 answers
1k views

Ubuntu on WSL started defaulting to root user

Yesterday, all was well. This afternoon I restarted my computer after some file downloads from my class bogged down my laptop. Upon restarting and opening Ubuntu, it defaulted to root@<mysystem>:...
macky's user avatar
  • 1
0 votes
0 answers
313 views

Permissions problem in Ubuntu when accessing airflow webserver as root and non-root user

I have followed this guide to install MySQL for aiflow on Ubuntu 22.04. https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-22-04 I have created a non-root administrative ...
Bluetail's user avatar
  • 101
0 votes
1 answer
42 views

Bluemail notification sound - Permissions under snap folder

I'm relatively new to Ubuntu and Linux in general, so I'll try to explain the best I can. I want to change the sound notification of my Bluemail snap app but there are no options in the settings, so I ...
Pat Duff's user avatar
0 votes
1 answer
291 views

Open vscode as superuser ubuntu 22.04

I have tried sudo code --user-data-dir="~/.vscode-root" but then I got the black screen when vscode was opened. It's any other way to open vscode as superuser?
dennis0406's user avatar
1 vote
0 answers
66 views

Two root entries in my passwd file

In Ubuntu 20.04, there are two root entries I find in my passwd file. When I use grep root /etc/passwd, I get: root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash and when I use grep ...
whyamiruning's user avatar
1 vote
1 answer
28 views

how to get root priviliges for workstation

Question 1: should I have to have a root privileges for installations on my personal workstation? Question 2: If answer to Q1 is "yes", how to get root privileges on my personal workstation? ...
Dervish 007's user avatar
2 votes
1 answer
1k views

How to return to default user after switching to root in Ubuntu on WSL?

I am using WSL on Windows 11 with Ubuntu 20.04 LTS (Focal Fossa). During the installation process, I think I entered the command ubuntu --install (in VSCode), but I ran into an issue during the ...
Truls's user avatar
  • 23

1
2 3 4 5
35