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
221 views

I have 2x PermitRootLogin in ssh_config Why?

Ubuntu 22.04 I was about to disable password login for root and in general. However, in the sshd_config file I see 2x PermitRootLogin. Nr. 1 is below "Authentication", commented and value is ...
nooboverflow's user avatar
1 vote
0 answers
113 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
66 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
317 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
64 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
  • 103
0 votes
3 answers
899 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
  • 233
0 votes
0 answers
87 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
266 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
60 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
1k 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
1 vote
2 answers
310 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
50 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
  • 177
6 votes
2 answers
4k 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
  • 63
0 votes
1 answer
222 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 ...
JustBeingHelpful's user avatar
1 vote
1 answer
101 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
  • 109
0 votes
1 answer
596 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
2 answers
2k 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
  • 119
0 votes
2 answers
163 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
111 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
  • 71
1 vote
2 answers
167 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
285 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
784 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
4 votes
1 answer
8k 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
2k 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
730 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
146 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
2 answers
266 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
  • 101
1 vote
2 answers
672 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
  • 10.4k
3 votes
2 answers
1k 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
  • 321
0 votes
0 answers
61 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
53 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
1k 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
119 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
88 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
1 vote
0 answers
58 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
198 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
83 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 ...
user avatar
0 votes
0 answers
200 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
-4 votes
1 answer
375 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
2 votes
2 answers
7k 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
  • 21
0 votes
0 answers
692 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
80 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
663 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
94 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
115 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
3k 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
0 votes
1 answer
775 views

Echo something to another terminal session?

Is there any way to echo something to another terminal session, obtained from the who command? For example, root user echoes a message to a different user's terminal session, after getting their ...
Blue Herring's user avatar
0 votes
2 answers
198 views

pam_authenticate error, doas problem

I wanted to try doas (https://github.com/slicer69/doas) I have done everything thats on github page but when I try to use doas it gave me this error doas: pam_authenticate: Permission denied
jifitailu's user avatar
0 votes
0 answers
671 views

/etc/update-manager/release-upgrades: Permission denied issue "Even on root"

I have some issue about upgrade ubuntu v22.04 to v22.10. When I type on terminal; sudo do-release-upgrade I get; Checking for a new Ubuntu release There is no development version of an LTS available. ...
Burak Doğaroğlu's user avatar
3 votes
3 answers
2k views

Low Disk Space on Filesystem.root Ubuntu

I keep running low on disk space on my Ubuntu install, and I'd like to fix this without reinstalling / losing data (this is the laptop I use for class and I have all my dev environments working etc, ...
CalPal's user avatar
  • 33

1
2
3 4 5
35