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
Join us in building a kind, collaborative learning community via our updated 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"

0
votes
1answer
37 views

Installing as root [on hold]

OK, so I know you shouldn't install as root, however I wanted to know more about how it works. Previous deployments I have used it doesn't allow access to "root" but the VPS I tried does doesn't ...
1
vote
1answer
40 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
25 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
22 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
38 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
26 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
68 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 ...
-1
votes
0answers
52 views

Why does downloading with ClipGrab fill root instead of the specified location? [duplicate]

I'm downloading some movies to my external hard disk using ClipGrab but my root directory is getting filled up. Output of df -h -x tmpfs -x squashfs: Filesystem Size Used Avail Use% Mounted on ...
-2
votes
0answers
36 views

My root partition changed it's filesystem type to dos!

I can not install grub because of wrong filesystem of root partition.Root partition is on dev/sda10 Please give an answer without rebooting. When I run sudo fdisk -l: Disk /dev/loop0: 140,9 MiB, ...
0
votes
2answers
28 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
33 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
64 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
47 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
103 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
votes
0answers
33 views

Command not found anaconda python distribution

i had a problem. I installed anaconda, this is a python distribution on my ubuntu 18.04 LTS 64bits. When i type the 'conda' command on my user it executes perfectly. But when i execute the command on ...
1
vote
0answers
36 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
33 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
206 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
179 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
24 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
41 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
35 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
100 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
51 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
25 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
52 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
102 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/...
1
vote
0answers
51 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
30 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
144 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?
2
votes
1answer
71 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 ...
0
votes
1answer
77 views

Ubuntu 18 edit root files [duplicate]

I have to change /proc/sys/kernel/yama/ptrace_scope value in order to use gdb attach. Whenever I change it with sudo nano or sudo gedit, it says: no permission or gives me an error and when I restart ...
0
votes
1answer
43 views

My deployment scripts are utilizing all the ram and taking forever

Even if I increase the ram it will end up just using it up and bogging down. I'm not sure if this is riding the gray line of what should be in magento stack exchange vs ask ubuntu. Why are these ...
0
votes
0answers
17 views

Forgot root password in Ubuntu App(Microsoft Desktop APP) [duplicate]

How to change the Root password. The problem is when i open the Ubuntu app on my desktop it directly login into normal user. When i try to shift to Root user. How to change the password through ...
0
votes
1answer
113 views

Cannot sign in my laptop after sudo admin problem in terminal

Whenever I open the terminal I'm Ubuntu 18.04 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. After that, I can't get into any of my ...
2
votes
0answers
256 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 ...
19
votes
7answers
3k views

Why is a user with root privileges not in ~ anymore?

Just out of curiosity, I would like to know why, when I log in as root, I am not in /home/user anymore. What's the reason and what does /root directory do exactly? I'm not an advanced user. Please ...
0
votes
0answers
143 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 : ...
-1
votes
1answer
106 views

Changed /etc ownership to my account now logged out of sudo? [duplicate]

I was working on some SFTP via filezilla to allow download and reupload of some file I took owner ship via ROOT and chown -R 'myusername' /etc and chmod 777 my user account for -R /etc Now I got ...
0
votes
1answer
74 views

how to login as admin user or reset admin user password when laptop keypad and external keyboard is not working

in my laptop keypad and external keyboard is not working. how to login in admin account from guest or any other way. Actually i want to take backup of my data.
0
votes
0answers
85 views

Running cmospwd as root but it still complains “need to be run as root”

I'm running cmospwd as root but it's still asking me to run as root pc@pc:~$ su root Adgangskode: root@pc:/home/pc# cd.. cd..: kommando ikke fundet root@pc:/home/pc# cd.. cd..: kommando ikke fundet ...
0
votes
0answers
38 views

how do i make myself root user using terminal? [duplicate]

I want to be able to add things to my Ubuntu. It wont let me because I'm not root? I need help I'm new to this so yea. I have tried looking online for days now but I am unable to find anything to what ...
1
vote
1answer
3k views

Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /run/user/1000/gdm/Xauthority which is owned by radix.)

How can I resolve this error? When I change owner and group of Xauthority file to root, Firefox runs, but it does not work. When I reboot the system, Xauthority automatically changes to its original ...
1
vote
0answers
506 views

Ubuntu keyboard fails for root user

I can't use terminal based solutions; the system keyboard works great from guest, but many applications are restricted for guest login, eg: terminal, update, etc. since I found my second computer died ...
0
votes
1answer
27 views

Ubuntu server /etc ownership

I have accidentally changed the owner:group for /etc on my dev server. I would like to reset it back to root:root. Can anyone help me with the required steps. If I try : chown root:root etc It ...
1
vote
2answers
59 views

not able to become root becouse of changing /etc/passwd file

I've changed /etc/passwd first line: root:x:0:0:root:/root:/usr/bin/zsh now I can not become root so I can not fix what I changed. Is there any other way to change that file without becoming root?
0
votes
0answers
431 views

sudo bash /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

Before anything I know that there is a similar question HERE. When I execute: sudo bash I get the following error: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set This error ...