Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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"

-1
votes
0answers
26 views

How can I enable Root user and login with Root in ubuntu 18.04? [duplicate]

How can I enable Root user and login with Root? I know that this is a danger!! But i need .. i use sudo passwd root and change password sudo passwd -u root and add AllowRoot=true in /etc/gdm3/...
0
votes
0answers
37 views

Failed to start User Manager for UID 121 (BOOT)

Here is the picture And when i type it, i have this When i tried to start it from recovery terminal i got this
0
votes
1answer
62 views

Root partition full in 1 minutes

I have installed ubuntu 16.04 two days ago and the root partition space was 25 GB. while i was searching for solutions in one blog I found somebody telling me to check the log folder and delete it. I ...
1
vote
2answers
64 views

How do you compare two root filesystems - but ignore mount points?

I have rootfs / but within that I have /mnt/another_rootfs which contains a second mounted rootfs. I want to compare the files in them... but when I do somthng like: diff -r / /mnt/another_rootfs I ...
0
votes
0answers
24 views

Volume control in the upper-right corner doesn't appear for UID 0 user

When I'm logged in as a normal user, the volume control is available, but when I'm logged in as a user with root privileges (i.e., the user has UID 0), the speaker icon doesn't appear. How do I get ...
0
votes
0answers
12 views

Running a service with an integrated chromium browser instance

I'm developing an application which is meant to run in kiosk mode. That means, when the machine is switched on, the OS (Xubuntu 18.04) is launched and it starts the application, which has these parts: ...
0
votes
1answer
26 views

how to completely remove all libraries installed using sudo apt-get install <1st_library_name> <2nd_library_name>, etc?

I installed Anaconda on Ubuntu 16.04 and created a new environment. Then I started following this link to install Opencv in new env. I installed each and every library/package using sudo apt-get ...
0
votes
0answers
14 views

Extending root partition with boot between root and swap

I made a mistake when I installed Ubuntu18.04. Disk is partitioned in the following structure: 1)Root: 20Gb 2)Boot: 300Mb 3)Swap: 20Gb 4)Home: 100Gb I my root is full and I need to install Matlab (...
1
vote
0answers
17 views

Why on GUI the shutdown is rootless whilst on terminal is not? [duplicate]

In older days that I used to run Fluxbox, in order to be able to shutdown my computer I need to allow passwordless root access via sudo to the command shutdown by running viedit and doing the ...
1
vote
1answer
54 views

Possible bug: Playing root owned *.flv files in VLC on Ubuntu 16.04/18.04

I have some flv files and I'm trying to play them in VLC. I keep them in a separate directory owned by root (both directory and the files) to prevent accidentally deletion. Now the interesting part: ...
0
votes
0answers
19 views

How multiple .so file added in ldconfig?

librcdev.so.1.6, librcdev.so.1 and librcdev.so files are linked with librcdev.so.1.6.0 . I updated ldconfig but after: ldconfig -p | grep librcdev All .so files are not showing. (all .so files are ...
1
vote
0answers
63 views

Log file eating whole space in UBUNTU 18.04

I have dual boot Ubuntu 18.04 LTS with windows 10, installation was all fine and i have allocated 90 GB for Ubuntu, Ubuntu is taking around 7 8 GB and the rest space is free, but my problem is that as ...
0
votes
0answers
62 views

Cannot open and update /usr/share/X11/xorg.conf.d/50-synaptics.conf

I am new to Linux and have recently installed Ubuntu 18.04. I need to edit the 50-synaptics.conf file in Ubuntu 18.04, but GKSU is deprecated, and when I run gedit admin:///usr/share/X11/xorg.conf.d/...
1
vote
0answers
32 views

Root is full but I can not find what's taking it up. baobab as root shows only 9.4GB and not 58GB like df

Any help would be greatly appreciated. Thank You rswilson1844@killswitch2:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs ...
0
votes
0answers
27 views

After resize with GParted there is still no space left

I had very little space on my ubuntu partition, so i decided to give it more space. I reduced the /dev/sda7 size, and gave 10GB to /dev/sda5 where my ubuntu installation is. But strangely (or not) the ...
1
vote
1answer
52 views

Installation of GNOME Shell Extensions does not ask for root password

Previously, I remember that when I was trying to install a GNOME shell extension, Ubuntu 18.04 asked for the root password. Today, I found that it does not ask for the root password any more while ...
0
votes
0answers
16 views

I just upgraded by Ubuntu from 16.04 to 18.04 and i can't write anything

I just upgraded by ubuntu from 16.04 to 18.04 and i can't write anything as it shows "You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try ...
0
votes
2answers
227 views

Sudo as another user and run command

I am doing an online course and the current exercise sees me learning more about sudo. I had to log in as another user and run a command to acccess a password. In my sudo exercise I have finally got ...
0
votes
1answer
20 views

Ubuntu logs something and it becomes impossible to open os again [closed]

I had ubuntu 16.04 LTS in my laptop with 50 gb root 20 gb swap and 160 gb home directories. After I started the computer it started to log something and gave me the warning root part is full I checked ...
1
vote
1answer
69 views

mysql login to root account with unix socket

I'm wanting some assistance in understanding mysql root account that connects by unix socket. I do not understand the unix_socket very well. Logging in without a password concerns me as I may be ...
0
votes
1answer
115 views

Installing as root

I believe that it's not secure to install an application whilst logged in as "root". The hosting image I used doesn't create a non-root sudo user by default, when the server boots you log in as root@...
1
vote
1answer
127 views

with a live session of Ubuntu 18.04 how to access all folders with root previliges those are inside a disk having Ubuntu 18.04 Installed.?

I am new to Ubuntu. But interested to know better. Ubuntu 18.04 was successfully running. I have changed something in the root folder files during some trials, my Ubuntu 18.04 is stuck before gdm ...
1
vote
2answers
152 views

Got error during installation of Oracle VM VirtualBox Extension Pack

I have Oracle VM VirtualBox 5.1.38 installed for long time: $ apt-cache policy virtualbox-5.1 virtualbox-5.1: Installed: 5.1.38-122592~Ubuntu~xenial Candidate: 5.1.38-122592~Ubuntu~xenial ...
0
votes
0answers
35 views

Logging in as root/sudo user, or even just switching users, on Crouton dual-boot Ubuntu 16.04 (Chromebook)

Pretty new to Linux. I'm trying to give my user account root/sudo privileges. I understand the risks, and want nothing more than an operating system that will allow me to break it with one wrong mouse ...
0
votes
3answers
46 views

can I increase root and other disk's size without formatting it

want to shrink home ie sda5 and expand root ie sda3 Device Start End Sectors Size Type /dev/sda1 2048 20469759 20467712 9.8G Linux swap /dev/sda2 20469760 28469247 ...
0
votes
0answers
35 views

I can't change owner of usb flash drive? Tried terminal and gui

I have tried to change ownership of my flash drive but it keeps failing in both the terminal and the GUI. The owner is currently root, I need to change that. I get this error: chown: changing ...
0
votes
0answers
76 views

Gaining root access then changing folder permissions

I need to change the permissions on a folder and its sub folders from 'root' to me 'andrew'. First I need to log in as 'root' to be able to change this - correct? The folder is - /usr. Chown and ...
0
votes
2answers
59 views

Terminal will not access root folder

I am trying to access the root folder. I tried sudo -i cd /root/ and nothing happens. However I was able to access it from nautilus and that works. Am I missing something? Or is it only possible to ...
0
votes
1answer
41 views

I am using my main user but not root. However, when I run ls -l in the third and fourth column, I see root. Is that OK? [closed]

I am using Ubuntu on Windows 10. I cannot change the permissions and although I am not using root mode, the 3rd and 4th columns of my listing is root. Is there any problem?
0
votes
1answer
77 views

unauthorized root access through emergency mode

When booting, I can get root access to my Ubuntu 18.04 system without authorization by booting into emergency mode, i.e. by taking the following steps: Boot the machine, and in the GRUB menu, press e ...
0
votes
0answers
56 views

“Changed” root account

I have a regular "root" account. I have added a new user to the sudo group. Since then, the new user password has been requested.
0
votes
0answers
550 views

Mounting iPhone on Ubuntu 18.04

I have been trying to access the root filesystem of my jailbroken iPhone 4 on Ubuntu 18.04. I followed the steps of this: How can I mount my iPhone 6s on Ubuntu 16.04?. Everything went smoothly but I ...
1
vote
0answers
41 views

bootable external hard drive accidental disconnection recovery

My current portable setup consisted of an external hard drive used as a bootable usb disk. I have multiple distros on it and it works well except when the hard drive is accidentally disconnected. ...
0
votes
0answers
117 views

groupadd: cannot lock /etc/group while adding user

I've Ubuntu 64bit 18.04 version. While adding a user using the command - root@ubuntu:~# sudo adduser --home /root --uid 10000 --shell /bin/tcsh troot I see the error - Warning: The home dir /root ...
0
votes
1answer
39 views

root is completely out of room. At 100%

I see many similar posts, but all of these suggest running something like: du -hx / | sort -n Which might help me, but any command on this server just comes back with sort: write failed: /tmp/...
0
votes
1answer
311 views

bash: ./xampp-linux-x64-7.2.7-0-installer.run: permission denied

I am trying to perform the above command and getting denied with the permission. can anyone help? bash: ./xampp-linux-x64-7.2.7-0-installer.run: permission denied this is the output of ls -l xampp-...
0
votes
1answer
536 views

Sudo Not Working for Node and NPM Install [duplicate]

I have been running into issues with my Ubuntu server (EC2 instance) where I installed NVM (Node Version Manager) under the default ubuntu user that Amazon provides you (Also the recommended ...
0
votes
0answers
40 views

Unable to move unallocated space to root partition using gparted

I have checked the other threads but it still doesnt solve my problem. currently, the partition looks like this: where the my main root is /dev/sd5 and the unallocated space is to the right of it . ...
0
votes
0answers
42 views

Always run command as root/with sudo without password prompt [duplicate]

How can I have a certain command always run as root/with sudo but without the password prompt (assuming the user is in the sudoers file)? Specially, how can I have docker always run as root without ...
1
vote
1answer
41 views

Ubuntu 14.04 won't load after update. Mounting /dev or /sys or /proc on /root/dev failed. No such file or directory

I installed an update about a month ago and could not boot Ubuntu since then. Here is the GRUB menu where I can choose booting options. And then the process stops and I see the following messages
0
votes
0answers
23 views

How to change somename@myname to myname@somename in ubuntu [duplicate]

How to change somename@myname to myname@somename in ubuntu.I have been trying so hard.I could only change the host name.
-3
votes
1answer
123 views

when to use sudo and when to use root [closed]

I was looking some time on Internet what is the difference between sudo and root privileges,but there are many different explanations and commands that I do not need yet because I'm just a beginner. ...
1
vote
0answers
55 views

ubuntu full backup

I'm using ubuntu 18.04 on my asus rog gl502vm laptop. After installation I've installed many applications and updates and done a ton of configuration. Now I wanna get a backup of the current stable ...
0
votes
0answers
38 views

How to restart system and desktop after pivot_root

I'm using ubuntu 16.04 for my OS system. I had changed to new root with pivot_root. And tried to restart all the system and the desktop. I would not try to use reboot cause it will reboot the old ...
-2
votes
1answer
60 views

Is remote access possible when SSH and Telnet are disabled?

My SSH and Telnet are disabled. If someone on my home network has my root password of my Ubuntu workstation can he gain remote access to my PC?
0
votes
0answers
188 views

'/usr/sbin' is not included in the PATH

blackj0221@NDELT-LAP-DELL:~$ su Password: root@NDELT-LAP-DELL:/home/blackj0221# su - blackj0221 Command 'service' is available in '/usr/sbin/service' The command could not be located because '/usr/...
2
votes
1answer
69 views

Root shell on VT 9

When I switch to VT 9 by pressing Ctrl+Alt+F9 I get a root shell by default without a password prompt. How can I change it to demand a password before giving root shell access? I am using Ubuntu 16.04 ...
0
votes
0answers
324 views

How do I login as root automatically in 18.04? [duplicate]

I'm using WSL Ubuntu 18.04 and I want to login as root automatically. I read this article but the file named lightdm doesn't exist in my directory, so I couldn't follow it. How do I login as root ...
1
vote
0answers
305 views

Execute a desktop shortcut to a jar file on Ubuntu 18.04

I need to run a .desktop file as an admin but I have issues achieving this. I am working with this .desktop file #!/usr/bin/env xdg-open [Desktop Entry] Type=Application Name=Some Application Exec="/...
12
votes
2answers
1k views

Since Ubuntu disables the root account by default, why not disable root shell access also?

The current defaults for the root account in /etc/passwd is root:x:0:0:root:/root:/bin/bash. Why not set it to root:x:0:0:root:/root:/usr/sbin/nologin?