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
0answers
17 views

How do I set up a script to run automatically, whenever my system connects to the internet?

I would like to auto update my system & store apps whenever I am connecting to the internet for the the first time in the login session. How do I do that? The flow would be: User 'X' logged ...
1
vote
0answers
35 views

How to change the theme for root user? [duplicate]

Okay, I know that the themes for normal user (with normal privileges) are stored in home/user/.themes... But, I have also noticed that opening an application as root makes the app use a different (...
0
votes
0answers
10 views

LVM root snapshot consistency

This article from the archlinux wiki states, referring to LVM snapshots of a logical volume containing the root filesystem: The snapshots taken from a running system are not as consistent as ...
0
votes
0answers
52 views

bash: ./(filename): No such file or directory

i am using ubuntu 18.04 and i was writing a code for fastjet using root.but as i was trying to run the code, it showed this error: bash: ./(filename): No such file or directory but there is a file ...
0
votes
2answers
34 views

How to add some of my /home memory to /(root) [duplicate]

I am running Ubuntu 18.04 as dual boot along with windows 7. I got a message that my root directory is almost full. Here is the screenshot - gparted screenshot I want to resize my home directory to ...
0
votes
2answers
34 views

Can't login after chown command [closed]

I just installed elementary OS dual booted with windows 10. After the installation. I saw that the / root directory has every file and folder locked. I can't rename, delete or create anything there. ...
-1
votes
0answers
12 views

Can't reset Root Terminal, every command returns “No Such file or directory” [duplicate]

My regular terminal seems to be working fine, just the Root terminal seems to be stuck in the past.
0
votes
1answer
30 views

Wrong chown on root /

There are lot of questions regarding the same mistake , What i did was : chown -R root:www-data myfolder / by mistake i typed a space between the folder & / . Then i was not able to do sudo ...
0
votes
2answers
35 views

How to access a file in downloads from root?

I'm a root user sudo -i, now i want to execute the Downloads/my.sh from root. how do i do that?
0
votes
0answers
24 views

Default keyring password vs login password

I have set my user password as "abcde" and my root password is "aaaaa". I have set automatic login on. However, when I logged in my laptop, It is asked default keyring password. For the default ...
0
votes
0answers
17 views

Ubuntu 18.04.4 // mysql 5.7 post installation // 'root'@'localhost' // ubuntu root account // solution(s)?

Post installation login to myql from shell: mysql -u root -p Generates a common error, unable to login as 'root' @ 'localhost' Searched googsta & read lots of responses/possible solutions. ...
0
votes
2answers
22 views

If I add a user to sudoers to be able to perform root functions

If I add a user to sudoers to be able to perform root functions, does it mean this user is the same as root?
0
votes
2answers
35 views

Running out of space in root when compressing using 7zip

I have a multi drive set up with home and swap split off to separate HHDs and everything else on my SSD (30GB partition, ~19gb free). Whenever I go to compress a large folder on a USB external drive ...
1
vote
0answers
23 views

Launch VMWare Player as root from GUI in Ubuntu 20.04?

I want to run VMWare Player as root (because I understand this is the only way that allows me to pass a raw hard drive to my VM). I am able to start Player from the terminal with "sudo -i vmplayer" ...
0
votes
1answer
19 views

I don't think my /home partition is being used for home

My root partition is running out of space and it doesn't add up as I haven't been installing more than a few hundred MB When I open disk usage analyzer it says home is taking up a lot of space and ...
1
vote
1answer
49 views

Can't change the owner back to the root (can't use sudo command) in WSL Ubuntu

I faced this issue when I want to use sudo command : sudo: /etc/sudoers is owned by uid 1000, should be 0 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin then ...
0
votes
1answer
95 views

ZFS rpool fails to mount on boot

My system was booting fine, but I was trying to resolve a couple ZFS related boot errors that said: cannot mount '/root': directory is not empty cannot mount '/var/cache': directory is not empty In ...
15
votes
4answers
3k views

Is it necessary to have a /home and /swap partitions in 20.04

Is it necessary to have a /home partition in Ubuntu Desktop 20.04? I read somewhere about a home file in /root partition... Does the same go to the /swap partition? I have a SSD. So it is pretty fast ...
1
vote
1answer
134 views

start gui app with startx from console by a non loging user

I have built a htpc with console installation of debian 10 kernel 5.4 and only xorg, my plan is to run kodi/steam client and some dockers. I want to automatically start kodi on system start and for ...
0
votes
0answers
13 views

root cron job - limit log files?

I'm running a cron job that is just "wget https://url" and it works find but is filling up my /root/ folder with output. I'd like to cap the output to only save the last day or so if possible but am ...
0
votes
1answer
25 views

unable to switch root

I got the following message when I supply p/w to switch root with command $ sudo -l env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/...
0
votes
1answer
41 views

Openvpn start at boot fails because service needs root password

In Ubuntu 18.04, I have my Surfshark VPN service configured to start at boot. However, something is requiring my root password to start the VPN so the boot startup fails. I can start it just fine from ...
0
votes
0answers
30 views

Ubuntu 18.04.4 installation issue

My specs: Intel core 2 duo 4GB RAM 1TB HDD I am dual booting with Windows. When I try to install Ubuntu 18.04.4 It stuck a screen shows some errors doesn't work any keys. end kernel panic -not ...
0
votes
2answers
38 views

How to exclude bash script case from if statement

I am running in some problem making a bash script (for showing all disk WWN's in the server, full or short). I need the script to be run as root and as it is not advised to use root in the script ...
-1
votes
1answer
30 views

My /home size is 350GB and '/' size is 15GB. But filling /home with data is filling '/' also as /home is under '/'. What do i do?

my /home size is 350gb and '/' size is 15 gb. But filling /home with data is filling '/' also as /home is under '/'. Gparted shows that i've used up 58.90 GB of the 350 GB but that's not true Here is ...
0
votes
0answers
25 views

How do I check in systemd if a service/unit is using rootwrap?

Many services of my computer, like CUPS, fwupd, pacemaker, are calling rootwrap and I want to know why. I already did a ps auxwf | grep root search and stoped the process that is using rootwrap but ...
0
votes
0answers
15 views

18.04 Xubuntu PCManFM - Add ''Run as root'' to menu, not right-click

I reciently installed Lubuntu 19.04 that has the option of ''Run as administrator/run as root'' in the contextual menu of ''Tools''. Now I have Xubuntu 18.04 and installed PCManFm as file manager, ...
0
votes
0answers
20 views

how to kill process passwd from a second terminal. Root process cannot be killed?

I have my one terminal running the passwd command, without entering new password. then with a second terminal I need to kill the process passwd, however as it is a root process I don't know how to ...
0
votes
0answers
40 views

Revert /root/ user's home directory permissions

When I realized that I did not have permission to access to the /root user's home directory, I followed the advice from this post which was to execute the command sudo -i (which I did) and then ...
0
votes
0answers
44 views

Why Is Sudo Using 908kib of Memory

I ran the following command. sudo sleep 100000 Then, I checked the memory usage of the sudo process. Sudo is using 908KiB of private memory and 4.2MiB of shared memory. I know it's not a problem ...
0
votes
1answer
29 views

I changed chmod to /usr/share/applications/ how to undo

I have just installed today ubuntu, and at the end of the day to add an application to favorites I have changed access to /usr/share/applications/ by: chmod 744 /usr/share/applications As a result ...
-1
votes
2answers
79 views

~/.bashrc not run when logging in as root

When I log in as root: ubuntu login: root Password: ...
0
votes
1answer
36 views

Need to resize Ubuntu root partition but cant use live boot usb

I am running a Dell XPS 13 7390, dual boot with Windows 10 and Ubuntu 18.04 Apparently when I first set it up I absent-mindedly allotted far too little space for my / dir, 10GB. Only 3 months in and ...
-1
votes
1answer
48 views

What is the default permission to linux structure? I set permission 777 but I want to set defautl permission

I make a mistake, originally I set 777 permissions to all my root structure folder (I had a login loop), but I was able to change with 755 (root owner and root group). For safety reasons, I would to ...
1
vote
1answer
79 views

pdsh: how to run a commands that require root/sudo privileges

I have implemented a small beowulf cluster for testing purpose, all nodes with Ubuntu server 18.04. I have installed pdsh for running the same command on ssh at the same time on multiple node. ssh ...
0
votes
0answers
15 views

How to copy Firefox extensions in Ubuntu to a Container with Ubuntu?

Hi What I'm looking for is to be able to pass the extensions already installed, that is to say to pass the directory of extensions and the corresponding Firefox and overwrite in the Firefox ...
0
votes
0answers
31 views

Moving /home to root partition

Im trying to move the my home to root.I copied the /home content to /media/temphome using rsync.I log into recovery mode from grub.umount /home. In fstab I made an entry for /home using the uuid of ...
1
vote
2answers
52 views

What shell use if I run a script with sudo before

I have this script with name example.sh. echo Write a number, please: read x let res=$x+1 echo $res If i run it this way, I get an error: mario@gazpatxo-linux:~/temp$ sudo ./example.sh [sudo] ...
0
votes
1answer
20 views

Ubuntu 18.04 stuck at starting

I tried to make my user as root by editing /etc/passwd file and replaced 1000 with 0 for my user. I restarted my system then a new screen appeared to create user. I created new user and reverted ...
1
vote
1answer
327 views

Busybox v1.27.2 (ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash) enter 'help' for a list of built-in commands

initramfs appears on the screen, my computer is just cli, it does not login. I have tried some commands, but it does not work. There is more /dev/mapper/ubuntu--vg-root fsck.ext4 -a -CO /dev/...
0
votes
0answers
15 views

permission declined while changing root directory permission

I am the only user (super user) of my laptop . I can change permission of all files and directories but the same command " chmod 700 ../ " ( root directory) is FAILED. the root directory permission ...
0
votes
0answers
25 views

Gave up waiting for root device after migrate to UEFI PC

I have a hard drive with Ubuntu 14.04 from my old PC (none UEFI), and when i plug it in my new UEFI PC (SATA3), it fails to mount root / with error: Gave up waiting for root device, and shows ...
1
vote
0answers
99 views

Running Google-Chrome and VS Code as non-root user?

First, When I run google chrome as regular user (non-root user), and reboot my lab the changes will be removed as I've already installed, I knew that I should not run it as root user, so how can I run ...
0
votes
0answers
24 views

Cron I need execute command as root

In cron I need to execute command that copy files from directory /var/lib/automysqlbackup/daily/ In this directory I have backups from my mysql database. I cant go into this directory as user, only ...
0
votes
2answers
68 views

No available Root space in ubuntu 19.10

Im facing an issue here. Cant able to add extra space to Ubuntu root (I have dual boot & using GRUB to switch OS). Secondly, now cant directly access my ubuntu. From GRUB when i try to enter into ...
0
votes
0answers
247 views

please hlep me while Packet tracer run floating point

Starting Packet Tracer 7.2.2 /usr/local/bin/packettracer: line 8: 12865 Floating point exception(core dumped) ./PacketTracer7 "$@" > /dev/null 2>&1
0
votes
2answers
471 views

Floating point exception (core dumped) while opening Packet Tracer

I installed Cisco packet tracer on ubuntu 18.04 using this link. It works perfectly fine on "Guest session" but does not login to my cisco account. It throws this error whenever I try to login and ...
0
votes
1answer
82 views

Is it possible to set the ssh default login user as 'root' in <user>@ip when none is set

Is there a way to set it so that when you do ssh 123.122.123.123. it will use the user root instead of your logged in user as if you did ssh root@123.122.123.123 so every time you specify no user, it ...
1
vote
1answer
147 views

Is it possible to have apps installed on a separate drive from where the OS is installed?

I feel like a failure for not being able to find the answer on the internet. There must have been someone in history of internet asking this. But I couldnt, so here we go: I have an old macbook air ...
0
votes
0answers
41 views

cannot access mysql 5.7 server as root

I recently installed mysql 5.7 on my ubuntu 18.04 machine, but cannot login as root, I keep getting the infamous 'access denied for 'root'@'localhost' error when trying to connect from the command ...

1
2 3 4 5
30