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

how to give root access to already existing user when sudo is not working in OS?

sir, -I deleted my user account by using sudo command. -I lost my data. after that i created new user with same user name by clicking ctr+Alt+f3, -I got my files back but i don't have root access -...
user avatar
0 votes
1 answer
52 views

Create folders in root?

I am brand new to ubuntu and I am trying to create a new folder inside my / directory. I have read many posts here that talk about giving myself ownership of files but when I try and do it with /, I ...
user avatar
  • 3
0 votes
1 answer
16 views

Can I View Disk Usage in WHM?

Do you know how I can access [disk usage][1] and analyze all the disk information from disk information from Web Host Manager (WHM)? WHM is a web application that provides administrative control of ...
user avatar
0 votes
2 answers
57 views

Extend LVM size

I recently cloned my ubuntu from a 250GB SSD to my new 2TB SSD. It automatically created an LVM with 248GB with my root filesystem in it. I would like to resize the LVM to full 2TB. nvme0n1 ...
user avatar
0 votes
1 answer
22 views

I cannot free up empty space for the root partition: how can I add some space?

I'm using Ubuntu 20.04 and I want to free up some space in my root directory, which is overloaded. I especially want to change the path used for installing applications (they are getting installed ...
user avatar
-1 votes
0 answers
14 views

0 Bytes left on File system root

I am a newbie to Ubuntu and I am using VMware virtual machine on my compute where I have assigned the Ubuntu virtual machine a disk capacity of 1.1 TeraByte. However, when I downloaded a 30 gigabyte ...
user avatar
0 votes
0 answers
40 views

bash.bashrc alias fail: Why?

This is a permutation of the question here. This question differs in that (a) it relates to commands entered as root in a terminal as opposed to commands entered as a non-root user by invoking sudo ...
user avatar
  • 85
-1 votes
0 answers
70 views

Run zoom as root is failed, but non-root is working fine

I'm using ubuntu 20.04 LTS I run zoom root@server-kentang:~# zoom ZoomLauncher started. Zoom path is: /opt/zoom cmd line: Start subprocess: /opt/zoom/zoom sucessfully, process pid: 7071 No ...
user avatar
1 vote
1 answer
43 views

grub customizer terminal error cannot open display

Error message when i type grub-customizer to terminal localuser:root being added to access control list Unable to init server: Could not connect: Connection refused (grub-customizer:14287): Gtk-...
user avatar
0 votes
0 answers
67 views

Root account is really not used in Ubuntu? [duplicate]

I'm trying to eliminate some mysterious "Evolution" notifications I keep getting. Google tells me to edit the /etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop file, but it is ...
user avatar
0 votes
0 answers
28 views

Ubuntu login loops, unable to access root, sudo command throwing error

Ubuntu desktop version is 20.04LTS. I used a usb to make a bootable file.Then I see usb is not permitted by roots then I have done a little bit change on home folder that is opend properties and ...
user avatar
0 votes
4 answers
440 views

How can I get the path of directory in which the command is running?

Suppose there is a bash file named "uploadme" in the /usr/bin folder. I am using that file as a command, and passing the file names as a command line argument, in any subdirectory of my home ...
user avatar
0 votes
0 answers
33 views

Problem with getting root privileges

I got problem with getting root privileges for my account I added root privileges to my account using below commands sudo visudo myusername ALL=(ALL:ALL) ALL file save system reboot but I still ...
user avatar
0 votes
0 answers
18 views

kubuntu installer cant put boot inside root automatically (installation stuck at "saving installed packages")?

I am installing kubuntu 20.04, when i make only root, home and swap partition somehow installer cant detect place to put data to installed packages and get stuck at saving installed packages. on new ...
user avatar
  • 85
0 votes
0 answers
83 views

Ubuntu Root on ZFS

These questions are in regard to this article: https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html I intend to follow those instructions using an ...
user avatar
  • 81
0 votes
2 answers
36 views

accidentally removed folder as a root

I did sudo -i and rm -r folder ...I typed the wrong folder and deleted a folder I didnt want to delete. Bad practice I know :( Where did the folder end up? Any chance of retrieve? I am not sure where ...
user avatar
0 votes
0 answers
50 views

OVH BYUI - unable to deploy Ubuntu 18.04 Correctly

I purchased a new server from OVH for my games server network, my other OVH servers all had the option to install Ubuntu 18.04 but on my new server that option is missing. I asked OVH support and they ...
user avatar
0 votes
0 answers
15 views

Continue sh script after accessing root [duplicate]

I execute a sh script in terminal which backs up some folders. However, these folders are contained within the /var/www/ directory. I use sudo -i to access this directory but when it's executed in the ...
user avatar
  • 1
3 votes
1 answer
904 views

Low disk space on Filesystem root despite having plenty of space in `home`

I just got this warning I tried to follow this and this questions, but I fail to understand why this is happening when I still have a lot of space available in home: df -h Filesystem ...
user avatar
0 votes
1 answer
125 views

If I Don't Create a Root Password Can a Hacker Set it Up? [duplicate]

When I installed Ubuntu Server 20.04.4 LTS, I never created a root account. I just have an admin account I believe it is. I read that a root account is already there but the password needs to be set. ...
user avatar
  • 21
0 votes
0 answers
21 views

How do I login as root user in Lubuntu? [duplicate]

I want to login as root not open a root terminal. I am new to linux in general so maybe what I am saying makes no sense. I want to add fonts to the system and change the background of the login screen ...
user avatar
2 votes
0 answers
80 views

What is the directory "//"? [duplicate]

My teacher asked me why directory "//" (double-slash) exists. I know that the // is the same as /. I search for it and found many answers (// was created for compatibility with older Unix ...
user avatar
0 votes
2 answers
67 views

Where can I store an environental variable only for utilites or scripts that run as root?

I've tried using the gnome-keyring in a headless server, but have an error, so am back to envirnmental variables. https://unix.stackexchange.com/questions/690295/error-secret-tool-cannot-create-an-...
user avatar
  • 590
0 votes
0 answers
151 views

Reset ubuntu root password without GRUB?

ISSUE Hi i forgot the password of my root account. Now i found online you can go into the grub menu and reset it that way through recovery mode. But is there any other way to do this since this doesn'...
user avatar
0 votes
0 answers
55 views

root mail - postfix, etc

for reasons that I cannot seem to divine, my postfix keeps trying to deliver messages to root to root@[MyISP].com, which of course is getting rejected as invalid username by the SMTP gateway at [MyISP]...
user avatar
0 votes
1 answer
132 views

User's sudo password doesn't work in GUI dialogs

I'm using Ubuntu 20.04. I have a user that allows me to do sudo operations. I can login with root without any problem. I'm try to install a new keyboard language through the GUI (Settings etc.). This ...
user avatar
  • 119
0 votes
1 answer
61 views

Running `sudo dd` on partition `sda4` caused unallocated space on all partitions of my hard disk

I'm using Ubuntu 20.04, after running below command on only my root partition sda4, I checked gparted via live Ubuntu and it showed unallocated space for all partitions on my hard disk (not just for ...
user avatar
0 votes
0 answers
56 views

How to give permission to non-sudo users to download software in their own directory?

I am a sudo user to a remote node (ubuntu 20.04). My role is to facilitate multiple users of the node by generating their credentials. I downloaded RDP and remote desktop for them. However, none of ...
user avatar
0 votes
0 answers
125 views

usermod: cannot lock /etc/passwd, but user is in root group which owns file

As the title says. Interesting behavior. I just switched over to nologin on root user for security, after adding my user to root and sudo groups. I added a longer sudo timeout as described in the link ...
user avatar
  • 590
-1 votes
2 answers
330 views

Permission denied error running: sudo apt-get update && apt-get install -y [duplicate]

This is the error that I get after executing sudo apt-get update && apt-get install -y Hit:1 http://ir.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://ir.archive.ubuntu.com/ubuntu focal-...
user avatar
0 votes
1 answer
266 views

Ubuntu root partition takes too much space

I'm using Linux(Ubuntu 20.04) for the first time and using it as dual boot with Windows 10. I researched before I started using it. Found that there are partitions and what they are. I partitioned the ...
user avatar
  • 3
0 votes
0 answers
28 views

The boot is stuck at screen that shows the logo of the motherboard

After getting recovering journal, then running sudo fsck -f / at root recovery. Then getting /dev/sdb7 is mounted e2fsck: cannot continue, aborting I tried to boot from a live disk. I connected the ...
user avatar
  • 11
0 votes
3 answers
217 views

When to disable root account on ubuntu server

I've set up Ubuntu 20.xx as a web server in the cloud provided by Digital Ocean and wish to install Node, Express, Mongo and possibly NginX. In several articles there is mention of disabling root user ...
user avatar
-7 votes
1 answer
34 views

How do I put extracted folder 'Cleanto' on my website root so that the path should look like http://yourwebsite/cleanto/index.php [closed]

How do I do step 3? I am not tech savvy, so please make it simple. Way to Installation We are trying to make the installation process more easy and handy so that user can install our system in his ...
user avatar
0 votes
1 answer
107 views

How can I merge 2 devices to extend my root partition

My root partition is almost full, and I don't have much space in root device /dev/sda5. I have another device which has space. The device is /dev/sdb1 I want to merge the devices to use the space ...
user avatar
0 votes
0 answers
26 views

Add Read/Write Permission to Partition

How can you change add Read/Write access to a partition? It was made on Windows, in a exFAT format. When I have it mounted on system startup, I cd into /mnt/myuuid, I got read access, but not write ...
user avatar
0 votes
1 answer
210 views

user-name is not in sudoer file and su authentication failure

when using sudo command, I met the error: "uers-name is not in the sudoers file, and this incident will be reported". And then I tried some answers in the internet, such as "su root &...
user avatar
1 vote
1 answer
178 views

Deleted all users in WSL

I use Wsl Ubuntu 20.04 LTS. I don't know why but all users were deleted. I created a new user. I wish I had not done passwd: tetemp:x:1000:100::/home/tetemp: and now $ adduser root adduser: Only root ...
user avatar
  • 13
1 vote
1 answer
113 views

How can I give Python's "keyboard" and "mouse" modules root permissions to run?

I made a simple Python script using it's keyboard and mouse modules for the purpose of saving me a few minutes of clicking and typing. Once I had done a bit of debugging, I ran the script. The ...
user avatar
0 votes
0 answers
30 views

AlsaEqual for multiroom configuration

I try to use AlsaEqual under Ubuntu. All the packages seem correctly installed. I have one 7.1 card configured to output 4*stereo channels (multiroom system). Each channel use a squeezelite and I ...
user avatar
0 votes
0 answers
25 views

Cannot boot anymore on full root LUKS volume

I have a server with a 300GB SSD set up as encrypted LUKS volume with default partitioning (all into the same place / /home etc.). Recently I started to get the / volume full with unknown stuff (it's ...
user avatar
2 votes
2 answers
93 views

Restrict Roots permissions

Is it possible to restrict what Root can do so that a user can not sudo a command or log in as root and run commands? I would like to change Roots and User1's Read, Write, and Execute permissions on /...
user avatar
0 votes
0 answers
36 views

Segmentation Error

So I was trying to add alias to root and I ran nano ~/.bash_aliases and added the stuff in and once I save it a got a segmentation error and it booted me out of the root user and back to my user and ...
user avatar
  • 1
0 votes
1 answer
121 views

How should I set up my partitions when installing Ubuntu? [duplicate]

I am trying to make my laptop dual boot with Windows 10 and Ubuntu. My laptop is having 8 GB ram and a 1 TB hard disk. The max I can devote to Ubuntu is 250 GB. Now I am trying to understand clearly ...
user avatar
0 votes
0 answers
57 views

Accidently removed my only admin account from sudoers file in UBUNTU 20.04 Server and CANNOT access root, HELP

I accidently removed my admin account from the sudoers group by adding it to another group by using (usermod -G without -a), and I cannot access the root account since it has no password and it keeps ...
user avatar
  • 1
0 votes
0 answers
86 views

Can't run mysql commands as root linux user

As linux root user: root@local:~# mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) I'm confused. Shouldn't the root user be able to run mysql without additional ...
user avatar
  • 101
0 votes
1 answer
36 views

How can I setup an encrypted directory where root cannot see by sudoing to my user but sftp can?

I have a standard user on a remote Ubuntu server where I code and I'd like to keep some of my files private from a "sudo myuser" by root. (E.g. config files) Those files would also have to ...
user avatar
  • 1
0 votes
0 answers
51 views

Can not SSH to linux GVM with root, required to change password immediately

When I ssh to linux with root, after input the password, the system require to change the password immediately, but after changed the password, still can't login: enter image description hereYou are ...
user avatar
0 votes
0 answers
41 views

Manual fsck not resolved by previous answers

I cannot boot up my computer. Here is the error message "/dev/mapper/ubuntu--vg-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e. without -a or -p options) fsck exited with status code ...
user avatar
  • 1
1 vote
1 answer
168 views

How to resize root partition

I'm about to run out of space on my root partition and I have plenty of unallocated space. When creating the partitions, I thought I had enough space, but it turned out that I didn't. On the ...
user avatar
  • 13

1
2 3 4 5
33