Questions tagged [root]

The name of the main administrative user commonly used in *nix based systems.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

How can I separate my work life from my play life in Linux (Ubuntu)?

I am using Windows 7 on a single laptop with the following accounts: an Admin account (for running Windows Update, Windows Backup, and installing programs) a user account for Work a user account for ...
Matthew's user avatar
  • 216
0 votes
1 answer
592 views

Access the root in Ubuntu bash on Windows 10

I'm trying to use a program called Packmol using an Ubuntu Bash on Windows 10, but for this program to work I need to move the "packmol" file into the "bin" folder in the Bash's root (I don't know why ...
p.goncalves's user avatar
0 votes
1 answer
3k views

Is Windows admin priviledge required to install a distribution under Windows Subsystem for Linux?

Activating Windows Subsystem for Linux requires admin priviledge under Windows 10. When it is activated, does admin priviledge still required to install a Linux distribution? Or to get Linux root ...
lalebarde's user avatar
  • 725
0 votes
1 answer
614 views

TVHEADEND crash - too many open files (epoll and tvhpoll)

From time to time my tvh server crashes and it needs to be restarted. In log I noticed this record tvhpoll: failed to create epoll [Too many open files] I tried to raise the limits and followed ...
val_tom's user avatar
2 votes
0 answers
3k views

Root account expired

I had a colleague (he left the company) that did a "hardening" on Ubuntu servers. He put the following: useradd -D -f 30 chage --inactive 30 root Which I understand that in 30 days the root ...
Marcel's user avatar
  • 21
1 vote
0 answers
3k views

Q: Root user invalid for ssh on alpine linux

tl;dr: The root user of alpine linux 3.9.4 is invalid for ssh unless setting a password. Why? I'm having an odd behavior with ssh and the plain root user of linux alpine. Setup I have created an ...
Scorpio's user avatar
  • 11
4 votes
2 answers
3k views

MongoDB: Can't drop local database with root user

I am trying to drop the local database in my replica set so that I can rename the replica set, but I keep getting the below error errmsg" : "not authorized on local to execute command { dropDatabase: ...
siddhu's user avatar
  • 195
1 vote
1 answer
245 views

In npm, why is there a directory with root priviliges set by default for global packages?

I am currently learning Angular and npm. Today I tried to do npm i -g @angular/cli on my Fedora, but instead having it installed, I saw in the terminal (I have shortened the message for convenience): ...
Silv's user avatar
  • 111
16 votes
1 answer
31k views

How to get around this error when unTarring an archive “tar: Cannot change ownership to uid 1000, gid 1000: Operation not permitted”

When attempting to untar a file in a docker container with: tar -zvxf training.tar.gz -C data/multi30k I received the following error (train.de is a file within the .tar file): tar: train.de Cannot ...
Jacob Stern's user avatar
0 votes
0 answers
378 views

Root on Kali SSH server

Basically what I've done is installed linux deploy, deployed Kali on an SSH server. Then I installed termux, ran : ssh root@localhost It then asked me the password to login, I input the default "...
Steve Jobs's user avatar
0 votes
1 answer
761 views

How to enable SFTP but disable shell for root

I already have SFTP for root user enabled on my server but I do not want any user to use root to execute any statements on the terminal. They should use their accounts. I have tried setting ...
Farai Mugaviri's user avatar
0 votes
2 answers
513 views

No SSH root login in EC2 instances - What's the real point?

My question is not about how to get it, I know it can be done by copying the key from ubuntu-user's folder to root's one. My question is about to understand the motivation after this by default-...
Alberto Martín's user avatar
0 votes
2 answers
450 views

Why Thunderbird cannot read root@localhost email?

I'm using Postfix for sending emails, Dovecot as POP3 and Thunderbird. I can't login as root in Dovecot and Thunderbird doesn't show emails of root@localhost while it can show emails of other users. ...
user avatar
1 vote
0 answers
679 views

Updating Nodejs from root and have a non root user sees it

I have a system (Ubuntu) with a root user and a node user. The node user is used to lunch Nodejs applications and it has no root privileges for security reasons. The current version of Nodejs is 6. To ...
Domingo's user avatar
  • 1,233
1 vote
1 answer
2k views

PermissionError : [Errno 13] Permission denied.When generating payload in veil

I have installed veil and have installed all the dependencies. But when want to generate payload I get an error that unable to create output file and PermissionError : [Errno 13] Permission denied'. ...
Jahid's user avatar
  • 11
0 votes
0 answers
860 views

How to sign in as "root" in bash on Windows by Windows Subsystem For Linux

I tried using the command -lxrun /setdefaultuser root but I get a error : Warning: lxrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution. Distributions can be ...
Ashwin Nanda's user avatar
1 vote
0 answers
150 views

change account linux uses for maintenance during boot failures

If there is an issue during boot, then Linux will ask if you want to open a shell as root to repair. This is the message: Give root password for maintenance Is it possible to change this behavior to ...
IMTheNachoMan's user avatar
1 vote
0 answers
485 views

VSCode Freezes Kali

I am running Kali Linux on a Chromebook from a Live USB flash drive with persistence. (I installed it according to the instructions on their site—nothing fancy, no shenanigans.) I recently installed ...
London Jennings's user avatar
0 votes
1 answer
3k views

What is the default password of root for Centos?

I building a docker image from a Dockerfile (downloaded from git hub). In the Dockerfile, there is such a line: RUN useradd -m user USER user after this all the subsequent procedures happened under "...
Jerry Fan's user avatar
0 votes
1 answer
414 views

cant access Jenkins user root access. in ubuntu18.04

I changed /etc/sudoers: # User privilege specification root ALL=(ALL:ALL) ALL jenkins ALL= (ALL:ALL) NOPASSWD:ALL It works in root user but the mount command does not work in jenkins user in: ...
user986407's user avatar
0 votes
0 answers
256 views

Booting Linux (rootfs) on Windows

Let's say I have Linux on USB (Ubuntu Debian 6, Kernel 2.6) and I want to boot it on my Windows 10. How would I do it? Folder structure is like this: folder structure
doksara's user avatar
1 vote
1 answer
81 views

Send Email as Root *Before* User Login?

I'm not sure I'm on the right forum for this, but I found some hints in another thread that suggest the knowledge base might work out here. I've got a startup script running as root (managed by ...
Frederico's user avatar
0 votes
1 answer
223 views

Creating SSH keys to login into remote machines as root user

I have followed the process of creating the public and private keys so that I can login in to remote system without a password. But I would like to login into the remote system as root user without ...
karra's user avatar
  • 11
0 votes
2 answers
4k views

Low Disk Space on "Filesystem root" error on openSUSE Leap 15

Problem Apparently I am running low on disk space on my root partition. At the time of installing my OS (openSUSE Leap 15 on a VM) I chose the default partitioning. Now I get the warning/error Low ...
Human's user avatar
  • 553
1 vote
0 answers
769 views

Can't delete file and folder in Ubuntu 16.04 with root access

I tried to delete file 'lock' file in directory /var/lib/apt/lists with with sudo and with sudo -s, but system shows message that operation not permitted, also I can't open /var/lib/apt/list/partial, ...
karpon's user avatar
  • 11
1 vote
0 answers
2k views

Samsung Drivers Won't Work When in Fastboot Mode

I have made the mistake of trying to root my phone. Which is fine, but it's a lot more complicated than I thought it was, but since I have asperger's, once I start something, I feel like I have to ...
user avatar
0 votes
1 answer
516 views

chroot erase and overwrite the rootfs. Is it possible to mount a copy of /proc and /sys?

In my chroot I need /proc and /sys and /dev. I am happy to bind-mount /dev since it is a temp fs. But /proc and /sys are part of the rootfs. In my chroot I need to erase/re-format the rootfs (which ...
code_fodder's user avatar
  • 1,561
1 vote
4 answers
4k views

How can I give the root (superuser) the ability to log in to a desktop like all the other users?

I used to be able to login to a desktop environment in Linux Mint even as the root superuser until I had a partition disaster and had to re-install it. Now I can't remember the terminal command I ...
Mark's user avatar
  • 11
2 votes
3 answers
3k views

Debain(buster) su not working properly, command not found

For example: I installed ifconfig First i become root with "su" Now I write "ifconfig" and get: "command not found". I write "sudo ifconfig" and now it works. This seems to happen with a lot of ...
James Greenland's user avatar
3 votes
1 answer
4k views

Removing directories from PATH

I am trying to run rkhunter, but it is giving me this output: stack/security/rkhunter-1.4.6 ➜ sudo rkhunter --check Password: Invalid BINDIR configuration option: Invalid directory found: ~/.dotnet/...
Cody Rutscher's user avatar
0 votes
2 answers
3k views

Execute a script as root when non root user logs in

I've seen this question asked before here and here but they're pretty old and I haven't been able to get any solution to work. Basically I need to run a script or command automatically as root each ...
jamzsabb's user avatar
  • 137
0 votes
0 answers
1k views

How can I get yum to work without root?

If I make all folder in the root directory world writable, something like: sudo chown 777 -R / Would this enable yum to work without root privileges? If not, is there a way similar to this to make ...
JustinBlaber's user avatar
1 vote
1 answer
14k views

How to avoid "root is not allowed to run sudo"?

I am trying to execute some third-party installer script (ansible tower setup.sh) which needs to be started as root or via sudo as some of the commands rely on root privileges. However some commands ...
kottalovag's user avatar
0 votes
2 answers
1k views

Which Linux capability is needed to write to a device?

I set up Home Assistant in a Kubernetes container. It needs write access to the /dev/ttyACM0 device on the host computer (i.e. the computer that runs the container). It works if I make the container ...
Torsten Bronger's user avatar
3 votes
2 answers
10k views

Saving SSH key in home instead of root

When I try to create an SSH key using sudo ssh-keygen -t rsa I get the request: Enter file in which to save the key (/root/.ssh/id_rsa): However, I would like the file to be saved in /home/user2/....
pd441's user avatar
  • 133
0 votes
2 answers
6k views

What’s the difference between “su” and “su -“

In a UNIX machine, what is the difference between su and su -? Is there even a difference? I know that su - is the standard.
Anonymous's user avatar
  • 421
0 votes
2 answers
4k views

How to reset root password on openwrt like embedded linux

Yesterday I did one stupid thing. Removed encoded root password from /etc/shadow on my router. root::17459:0:99999:7::: Router firmware is a openwrt like embeded linux with ssh access. Now I can't ...
vidima's user avatar
  • 1
0 votes
0 answers
609 views

Root user no longer exists

I'm running macOS Server 5.6.1 on High Sierra (10.13.4) and I was trying to modify a system launch daemon plist file the other day as my apache installation wasn't working after migration. sudo wouldn'...
Matt's user avatar
  • 437
3 votes
1 answer
13k views

chmodding files with an SELinux security context / ACL

Okay, so I have a bunch of bash & python scripts that I've written, all just chilling together in one big directory. Well, actually there are separate subdirectories, but they're all nested in ...
voices's user avatar
  • 2,731
0 votes
1 answer
1k views

How to make an app always open with root permission in Debian

I just simply want to click the app icon, give the root password and use it. Is there any way to make this happen? I am using Debian 9 Cinnamon.
Buddhika Nelum's user avatar
0 votes
2 answers
285 views

How can I reserve an specified amount of space for root on macOS?

How can I reserve an specified amount of space for root on macOS? I want to stop user applications and myself from unknowingly making the disk full, and always have some free space available.
HappyFace's user avatar
  • 1,221
2 votes
2 answers
912 views

Logging all SSH commands through a proxy

Problem: I have a production server I don't trust anyone with. However I can't be the only person to be able to access it. Realization: I need to allow people log in as root, but through a proxy so ...
orion3's user avatar
  • 662
1 vote
1 answer
4k views

On ubuntu server: run Chrome as a different user (not root) not working

[I'm a newbie, so tx for the patience] I tried to run chrome on an ubunto server and got this: root@stender:/opt/google/chrome# ./chrome.....ERROR:zygote_host_impl_linux.cc(90)] Running as root ...
Einbert Alshtein's user avatar
0 votes
3 answers
393 views

How can I use root as my primary email address?

I have a website (say, mydomain.com). I currently have the email address [email protected], but I'd like for the email address [email protected] to be my personal email address. Is it possible to do ...
gmarmstrong's user avatar
0 votes
0 answers
71 views

root user renamed as qroot - unable to su or sudo

Mysteriously, on our public SSH server, root user is now showing up as qroot. All the files owned by root are now owned by qroot. id qroot shows qroot is UID 0 /etc/passwd file is owned by qroot /...
Aravindh Sathish's user avatar
0 votes
0 answers
65 views

How to reset a root password using the passphrase ?

I've lost my root password and I would like to recover it (as you might have guessed). I have the passphrase but don't know what I can do with it ? Thanks
ferdi_'s user avatar
  • 11
90 votes
2 answers
19k views

Why is the most powerful user on a Unix/Linux system called “root?”

Somewhat inspired by this other question on the use of the term “Super User”, why the heck is the most powerful user on a Unix/Linux system called root? Why not admin, sysop, base, king or something ...
Giacomo1968's user avatar
  • 55.6k
54 votes
2 answers
7k views

Where did the term "superuser" originate?

Where did the term "superuser" originate? Is it a shortening of "supervisory user", or is it just an indicator of the level of power one such user holds in a system?
VortixDev's user avatar
  • 1,214
3 votes
2 answers
20k views

AWS : How to switch as "root" user?

I have new created EC2 instance in aws, and able to login as EC2-user using private key but want to login as root to install packages. Not able to switch as root tried sudo - but it asking for ...
Harish Sundaram's user avatar
0 votes
1 answer
485 views

Unable to login after manual edit of /etc/passwd

Had a trouble with transmission daemon's permission. It keeps using default debian-transmission even after editing /etc/init.d/transmission-daemon. So I edited the /etc/passwd and set 0:0 to debian-...
Lifevence's user avatar

1 2
3
4 5
13