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"

373 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
652 views

How can the X root window be seen instead of the Unity desktop?

I would like to be able to see the X root window instead of the Unity desktop. This could be for the purposes of using such programs as Xphoon, which fill the X root window with graphics. How can ...
3
votes
0answers
1k views

Root file system sometimes mounted read-only after resume from suspend on Dell laptop with 18.04 Bionic

My freshly installed Ubuntu Bionic 18.04 on a Dell Inspiron 15 laptop has a weird problem. After resuming from suspend mode, sometimes the root file system is mounted read-only. This happens more ...
3
votes
0answers
3k views

Is it normal for User Manager to be started and stopped for UID 0 many times during startup?

I'm getting errors on every startup related to User Manager for root (UID 0). My system is working fine overall, but with an array of very minor, merely annoying idiosyncracies, so I don't know if ...
3
votes
0answers
9k views

Unable to open Recovery, at boot, using “SHIFT” key (12.04 LTS)

I have tried rebooting multiple times to try to get to "Recovery" (GRUB 2) by holding down "SHIFT" during boot. I am waiting until BIOS screen completes. I need to reset the admin password because I ...
2
votes
1answer
102 views

Launching root user installed application as a standard user

I am a newbie in Linux. Please help me out of this mess. I've downloaded and installed an application as root and created its desktop shortcut launcher and worked. On switching to the standard user's ...
2
votes
0answers
64 views

Cannot boot when I move /home and /usr to an lvm

I've got a pc with multiple drives and I wanted to make it seem like I only had one partition, so I wanted to use an lvm, but It's not a good idea to boot from an lvm, so I thought I could maybe make ...
2
votes
3answers
2k views

Permission denied on shared memory segments in /dev/shm/

in Ubuntu 20.04 I'm having problem with accessing shared memory segments by different users. The associated files are created using shm_open() with the combination of O_CREAT and O_RDWR flags and ...
2
votes
1answer
484 views

$HOSTNAME returns empty in rc.local script

I'm executing some script on my server startup, using the rc.local file (as suggested on this SQ answer. The script sends an email to my address notifiying me that the server has started up. This is ...
2
votes
1answer
3k views

Why is root user denied access to a file?

I would like to understand in which cases root can be denied access to a file. I am working on a machine I didn't configure (on my personal laptop I obivously don't have this problem) and I am having ...
2
votes
1answer
3k views

How to run script on startup with root

I have my little script to start an application and do some more things on my Ubuntu 16.04 which looks like this: #!/bin/bash ./ROC-smi/rocm-smi -d 1 --setfan 90 ./ROC-smi/rocm-smi -d 0 --setfan 90 ./...
2
votes
2answers
883 views

Untrusted Application .desktop (solutions given haven't worked)

So I recently installed Quartus II Lite 18.1 on my Ubuntu. After a smooth installation through terminal (I forgot to click launch application while I was still in root). Now the desktop icon appears ...
2
votes
1answer
9k 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 3 issues: I want to enable remote ...
2
votes
0answers
488 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 ...
2
votes
2answers
413 views

Cron not launching jobs?

This is a non-standard installation of Ubuntu 18.04, the ELAR Arm based Ubuntu distribution with RockChip support for boards such as the Asus tinkerboard. The Problem, and solution, may not apply to ...
2
votes
0answers
1k views

How to start pulseaudio for all users at startup?

I am trying to use pocketsphinx but it gives me : ad_oss.c(115): Failed to open audio device(/dev/dsp): No such file or directory FATAL: " And I know I must start pulseaudio, but when I try : ...
2
votes
1answer
87 views

Change $HOME and logout user

I wanted to change my $HOME, so I looked on this forum for answers. I saw a way to change $HOME with the code sudo usermod -d /path/to/new/home -m username but when I entered the code it said ...
2
votes
1answer
259 views

Is it possible to keep setgid bit when unzipping files as non-root user?

I have a folder with the following permissions: drwxrws--x+ 13 myuser www-data 4096 Mar 20 09:57 project-folder In this folder I have an archive archive.zip with the following permissions: -...
2
votes
1answer
3k views

Can't change folders ownership from root to a user

I tried to change the ownership of two folders with the following commands: chown -v lfs $LFS/tools chown -v lfs $LFS/sources At the time the commands succeeded as I saw a message saying the change ...
2
votes
0answers
182 views

resetting vps root password

i purchased a vps and i forgot it's server rootpassword. i'm trying to reset it via rescue mode but i'm failing at the mounting level : root@rescue:~# mount -o rw /dev/sda1 /mnt mount: /dev/sda1 is ...
2
votes
2answers
376 views

Cannot login (GUI or ttyX) to Ubuntu 14.04 after update

I have used Linux/Unix in the past, however, I am comparatively new to Ubuntu. We received a new PC with Ubuntu installed. I installed some software and did an upgrade. Since then, I am unable to ...
2
votes
0answers
264 views

How to run a command on startup as root (Xubuntu)?

I've tried all the methods I've found on the web to achieve what I want, so this is my last hope. Basically what I need to do is exactly shown in the following guide: HOW-TO: Set up Wake-on-LAN for ...
2
votes
0answers
46 views

some logfiles are user and group ? and not readable by root

?????????? ? ? ? ? ? syslog -rw-r----- 1 syslog adm 15K Sep 1 2014 syslog.1 ?????????? ? ? ? ? ? syslog.2.gz -rw-r----- 1 ...
2
votes
0answers
79 views

Root-like directories

Forgive me if I understand the Linux file system wrong here. Can I add different root-like directories for users? Example; I want to sudo apt install ncar-ncl in a user named climate, so when I ...
2
votes
0answers
654 views

Permissions issue with all directories

I accidentally screwed up the permissions on my entire Ubuntu installation. While trying to fix an issue with inaccessible folders, I set all directories to be owned by root. I realize I will likely ...
2
votes
0answers
72 views

Root directory mount in a weird location

I recently installed ubuntu on a new computer (I had it with me on an old laptop before). Usually I would follow some guide to install Ubuntu and assign the correct home folders, swap folders. Now I ...
2
votes
1answer
318 views

MySQL does not accept password not lets me reset password by skip-grants-table, unable to login

I terminal I have typed: apt install mysql-server mysql-client It asked me for password and I gave it. Next I typed: mysql_secure_installation It prompted me for password. I am cent percent sure ...
2
votes
2answers
2k views

Deleting 'core dump' folders/files in root partition for space

On trying to upgrade my system, I keep getting a message that I need to free up space in the root partition. Here's the situation: Filesystem Size Used Avail Use% Mounted on /dev/sda5 ...
2
votes
0answers
506 views

How can I use GNOME OSTree with Ubuntu Server minimal

I would like to create a custom Ubuntu based OS using GNOME's OSTree.But I need apt-get and other Ubuntu commands .I am OK with not modifying the root directory by using a chroot to install packages ....
2
votes
0answers
65 views

Loosing Root Access On USB Disconnect

When I plug in my usb and then unplug it I unexpectedly loose root access on my computer. Furthermore, when I reboot my computer it prompts me with the message saying Errors were found when reading ...
2
votes
0answers
381 views

OpenSSH asks for root@hostname password instead of user@hostname password

So I have this other desktop PC, that serves as my server, primesystem and a laptop as my client, zerosystem that is connected to it. They both serve as my ssh-server and ssh-client respectively, and ...
2
votes
0answers
397 views

Error linking shared library

I am trying to install root software which is giving the following error when I type make -j4 in terminal : Linking CXX shared library ../../lib/libPyROOT.so /usr/bin/ld: /usr/local/lib/libpython2.7....
2
votes
0answers
469 views

Unable to access the root directory

I have started using Openfoam recently. I successfully installed Ubuntu Deb Pack version 2.4.0 but when installing the repository release version 2.4.x, i am unable to access root directory even after ...
2
votes
0answers
88 views

gksudo equivalent for Ubuntu Touch

Is there a gksudo equivalent (or Cpp / Qml api call) that lets you ask for a password in a graphical way on Ubuntu Touch? Thanks
2
votes
1answer
792 views

Cannot go into Root

When I enter sudo su or sudo -i in terminal on Ubuntu 12.04, I cannot become superuser. When I enter the password nothing happens. Its like: user@host~: sudo -i enter passwd: ****** user@host~: ...
2
votes
0answers
4k views

How to fix “/dev/mapper/ubuntu--vg-root does not exist” on new installation?

I just installed 14.04.1 on a USB 2.0 drive. At startup, I'm prompted for the encryption key, which I enter. After that though, I get the following: Gave up waiting for root device. Common problems:...
2
votes
0answers
126 views

I want to create an FTP account that can oversee multiple other FTP accounts. How should I manage my permissions and users?

I rent my own virtual server. I installed Ubuntu Server 14.04 and use it as a webserver. I have hosted some websites of my own on this server, as virtual hosts. I also have a few friends who I give ...
2
votes
2answers
2k views

Why this script doesn't work in cron and generates a empty output?

Why this script doesn't work in the cron for root or other user and generates a empty output ? /tmp/test-1.log --------------- #!/bin/sh /bin/echo this is test-1.sh /bin/date "+%FT%T" Permissions ...
2
votes
0answers
860 views

Using gui (nautilus, say) to copy root files while preserving permissions

Using a gui, I would like to copy a folder hierarchy in which some files belong to a user, some to root, producing an exact copy (same file permissions in target). Using gksudo nautilus allows ...
2
votes
1answer
177 views

Overwritten system files

I need help to work out what damage I have done to my Ubuntu server. I ran a poorly coded script which has overwritten 26 files on my Ubuntu server. The script used sudo to run with root permissions ...
2
votes
2answers
376 views

get the list of all root dependent devices

How do I get the list of all devices which are root dependent i.e either mounted on root filesystem or created from root devices(Logical volume on the top of physical volume which is root device). ...
2
votes
0answers
424 views

How to fix Grub loader that hangs and waits for user with read only root partition?

I am trying to create a set of Ubuntu 12.04 slave systems that have a read only root partition and a small read/write partition mounted for a single user. These systems will be used for a short job ...
2
votes
0answers
316 views

Prevent that TrueCrypt gets Administrator rights

If I try to open a TrueCrypt drive, TrueCrypt asks me for my administrator-password (also when I am a normal user). I know, that i can prevent this password-asking by editing the sudoers file = giving ...
2
votes
0answers
593 views

Why am I asked for the “password for root” when upgrading packages?

I have a fresh install of Ubuntu 12.04. I installed with one user account, then added a second user account using the GUI dialog box method, making myself an Administrator type. I now use the second ...
2
votes
1answer
149 views

Scrollbars when root user

When I open an application as root I get gnome2-like scrollbars which is fine. But: the small arrows at top and bottom of the scrollbars are missing. the function of clicking between arrow and ...
2
votes
0answers
876 views

No filesystem could mount root

I am trying to boot a linux kernel 3.7.0 on virtualbox and it keeps telling me the same message: "No filesystem could mount root tried ext3 ext4 vfat fusebk". I put append root=/dev/sda in my isolinux ...
1
vote
0answers
25 views

Securing certain application with a second, longer password

In my day-to-day use of my computer, I need to supply my root password fairly often, since I frequently install something, or need to access certain system files. Hence, to not constantly type in ...
1
vote
0answers
61 views

“sudo -i”, “sudo su” and “su” commands not working - Ubuntu 20.04 LTS

When running sudo -i i get sudo: 5.8: command not found, sudo su outputs su: failed to execute 5.8: No such file or directory and su outputs su: Authentication failure I have no idea what may have ...
1
vote
0answers
16 views

Why does default-string appear after hostname in etc/hosts?

Referencing: This question The author is asking how to change hostname when it includes the appendage ´default-string´, If root is required to change the file in the path etc/hosts should this be ...
1
vote
0answers
95 views

root password works for “su”, but not for sudo

I forgot my root password and later reset it by modifying the grub boot loader script: "ro" to "rw init=/bin/bash". After that, "Ctrl+X" brought me to a root environment ...
1
vote
0answers
126 views

How do I change my default root-user to non-root user?

When opening my terminal (Ubuntu16.04) I am logged in as root. Everytime I have to type this command 'su - ' to log in as non-root user. So I already made a non-root user but how do I set this non-...

1
2 3 4 5
8