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"

0
votes
0answers
14 views

Login into Root Account [duplicate]

Is there a way to make the account root able for someone to login to instead of making a sudo user? On Debian I know you can login to the account root but can you do it in Ubuntu?
0
votes
1answer
46 views

/dev/null questions

so I was messing around with /dev/null mooving files to it like ... sudo mv test /dev/null and reading it ... :~$ cat /dev/null this is a file :~$ but then I made another file with the file ...
1
vote
1answer
33 views

How to Remove LVM Physical Volume from (inaccessible) Server

The goal is to remove the physical volume /dev/sda from this LVM setup (running on 16.04 server): # pvdisplay --- Physical volume --- PV Name /dev/sdb3 VG Name box-vg PV ...
1
vote
0answers
15 views

/dev/mapper/lv-root does not exist - after resizing

I have ubuntu 16.04 installed on VMware player. after following this guide: Increase partition size on which Ubuntu is installed? third answer, in short i did this steps: 1. go to vmplayer to ...
6
votes
2answers
155 views

Fix setuid and setgid bits in /usr?

I did something stupid: chown -R root:root /usr chmod -R g-w /usr Apparently, the best thing I can do is reinstall the system. However, my system works fine so far - is there anything immediately ...
0
votes
0answers
41 views

Ubuntu 18.10 Enable Remote Desktop for root

I have enabled root login on Ubuntu 18.10 with gnome desktop, works fine. I also have installed xrdp, and it works fine for normal users but not root. I am facing three issues: I want to enable ...
0
votes
0answers
15 views

ruby works for normal users but not for root

I have an ubuntu 18.04 machine with ruby installed. I login with a user that is part of the www-data group and I am able to execute this: ruby myprogram.rb without any issue If I try to do sudo ...
1
vote
1answer
29 views

Execute sudo Bash script as another user while being root

I am logged in as root and want to execute a Bash script with sudo permissions as another user. This is the test Bash script in /home/me/sudo.bash: mkdir -p /etc/test # Creating an /etc directory to ...
-1
votes
1answer
76 views

How to transfer all user settings and preferences to root and delete all users except root?

How to transfer all files, settings and preferences from a user to root and delete all users but root ? I find it tedious and time-consuming to work on ubuntu 18.04 "LTS" gui when I'm not root. Root ...
1
vote
1answer
44 views

copy file from folder in user abc to a root folder [closed]

As user abc, I had wanted to install a "systemrescuecd.iso" on a USB stick. I had made a temporary folder "/tmp/cdrom" (command: mkdir -p /tmp/cdrom). But the command: mount -o loop,exec /path/to/...
2
votes
1answer
68 views

Does running a bash script as root change the ownership of files to root? [closed]

I know I should just test one of my scripts on a file after making a backup copy, but I'd like to know if it will make any difference, as I have several scripts that perform identical tasks on ...
0
votes
0answers
15 views

mysql disable login with blank password [duplicate]

I have created a Ubuntu 18.01 droplet on digital ocean. while creating droplet I opted for one click LAMP installation. Therefore I got mysql pre-installed. Now I am able to login as root by using a ...
0
votes
1answer
54 views

Limit root login by IP Address? [duplicate]

Is there a mechanic to let me limit SSH and telnet logins to the root account based on IP address? I have 3 nets used for different things locally all in the 192.168.x ranges, I need to login from ...
0
votes
1answer
31 views

Where is the bleachbit configuration file for root

If I want to edit the bleachbit configuration file for the user, I access: .config/bleachbit/bleachbit.ini If i run bleachbit GUI as root, it has more options than if i run bleachbit as a user. I do ...
0
votes
1answer
91 views

Mounting CIFS in Ubuntu 18.04 its read-only unlike in Ubuntu 16.04

This command executed as root, used to mount a writable samba folder in Ubuntu 16.04 : mount -t cifs -o guest //server/folder /home/user/somefolder Now in Ubuntu 18.04, the same command makes the ...
1
vote
3answers
93 views

Why can I not su to root?

I used sudo passwd root to set root's password successfully, then I tried to su to root, but it failed with no response. ubuntu@VM-44-117-ubuntu:~$ sudo su root ubuntu@VM-44-117-ubuntu:~$ You can ...
0
votes
0answers
428 views

Can I login to any Ubuntu OS as root user with no password? [duplicate]

I mean can I login using Advanced options -> Recovery Menu as root user without any restriction (except for a Full Disk Encrypted system)? Can someone explain how to fix this security hole? Visual ...
0
votes
1answer
20 views

Moved a folder to /dev. Folder has disappeared after rebooting

As the title says, I can't find the folder there now. I looked it up and /dev is some form of device files, so I'm not sure whether the folder I moved there should disappear after rebooting or not?
0
votes
2answers
42 views

How to change root directory from different device (e.g. /dev/sdb1 to /dev/sda2)

I have an Ubuntu when booted it has the root system is stored under /dev/sdb1, as can be shown with df command: the fdisk -l looks like this: My question is how can I change the root system from /...
0
votes
1answer
48 views

Can not root: after removing ZSH and returning to default bash

I can not $ sudo su everytime, I enter the command, the terminal says : can not execute /usr/bin/zsh no such file or directory How to return to default bash of Ubuntu and make bash as default ...
0
votes
0answers
27 views

monitor service user account activity

I've a service account that has a full root access "user1 All=(ALL:ALL) NOPASSWD:ALL" . The user account is not used by a human user but it is used by an application which is running some bash and ...
1
vote
1answer
54 views

After a system upgrade, when I `su -` I get bash-4.4 as a prompt instead of root@hostname

I just upgraded my system. After logging in as root using su - there is no root username in my prompt, it's just -bash-4.4# What should I do here? Thanks.
1
vote
1answer
48 views

Need to create root account?

Do we need to create a root account in addition to a user account? I am the only person to use the system on my Thinkpad.
0
votes
0answers
32 views

Can I prevent the root password from being changed?

I found this question through Google. How do I reset a lost administrative password? I'm wondering If I can prevent this by encrypting my HDD with LUKS. How could the system get to /bin/bash if the ...
0
votes
0answers
38 views

Just installed Ubuntu im in as root

so few mins ago i installed ubuntu on my windows machine. I did it by enabling "Windows subsystem for Linux" after that i used lxrun /install typed Y and was for instalation to be done. I was ...
0
votes
1answer
134 views

How to solve blank screen issue on ubuntu 16.04 start up? [duplicate]

I have a blank screen problem on ubuntu 16.04 start up screen. Initially I was repairing my hard disk with fsck /dev/sda1 from this post. In trying solve the black/blank screen problem on startup, I ...
1
vote
0answers
40 views

Can't log into root user in terminal, keys don't work in GRUB

When trying to install things I'm told that I have to log in root user (which I'm supposed to be already), I try and I'm told that my root password is incorrect. I try to reset it and when I get to ...
1
vote
0answers
228 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
85 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
67 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
33 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
28 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
65 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 ...
1
vote
0answers
20 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
80 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
23 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 ...
2
votes
0answers
129 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
104 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
44 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
32 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
110 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
18 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
554 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
21 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
224 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
122 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
207 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
387 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
76 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
49 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 ...