Questions tagged [root]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Mount overlay file system over root in linux [duplicate]

I want to mount an overlay filesystem over the root folder. My commands are: mkdir -p merged upper work sudo mount -t overlay ovr -o index=off -o lowerdir=\,upperdir=upper,workdir=work merged I get ...
user avatar
  • 141
0 votes
0 answers
31 views

How to mount overlay filesystem over root folder in linux?

I want to mount an overlay filesystem over the root folder. My commands are: mkdir -p merged upper work sudo mount -t overlay ovr -o index=off -o lowerdir=\,upperdir=upper,workdir=work merged I get ...
user avatar
  • 141
0 votes
0 answers
38 views

Turning off PermitRootLogin in sshd prevents any user to connect

I have a Debian bullseye virtual machine in OVH cloud. Allowing ssh login as root is non-secure, so I decided to turn it off in /etc/ssh/sshd_config by commenting out the line PermitRootLogin yes. ...
user avatar
0 votes
0 answers
19 views

cannot use sudo on company issued mac - workarounds?

I cannot use root/sudo on my Macbook - is there a way to create some sort of artificial root user, so that the sudo command, when issued by tools and software on my machine, can not break stuff?
user avatar
0 votes
0 answers
14 views

Login in as root in Debian on an AWS instance

As the title says, I want to Login in as root in Debian on an AWS instance. I have tried various methods as described in this, this and others. In other words I have set: PermitRootLogin yes ...
user avatar
  • 101
1 vote
1 answer
34 views

Obtaining a root shell on a destroyed system

Due to entering ctrl-c during checkinstall I am in the state described well by this question: tar extracting on root directory is destroying entire system However I don't have a root shell open. The ...
user avatar
0 votes
0 answers
24 views

virtualbox inside docker: usernames and permissions

On a Ubuntu 20.04 machine (a) I have made a virtualbox VM running Windows inside a docker, using this recipe. When I was happy that everything worked, I used docker save to store the whole docker+...
user avatar
1 vote
0 answers
49 views

Run script with root permission as normal user

Problem: How can I run a script owned by root with root permission as normal user? Let's take for example a folder /path/to/folder. First I make sure that the folder and all content is owned by root: ...
user avatar
0 votes
0 answers
21 views

Linux ubuntu make a file require root

On my kali VM a file required that I'm in a root terminal. How could I implement this on my host system? Any help greatly appreciated
user avatar
  • 1
0 votes
0 answers
40 views

Where Is the Beep Sound File Location in Minimalistic Debian?

I have installed Debian without a desktop environment or the standard system utilities simply because I do not need a desktop environment (yet), and because many of Debian's system utilities are ...
user avatar
1 vote
1 answer
219 views

mkdir: Permission denied in /usr/lib with root user

I was trying to do apt upgrade what exceeded with some errors. Now, I found the reason why: Even root cannot write to /usr/lib and can create /usr/lib/policykit-1 what is necessary for packagekit But ...
user avatar
0 votes
0 answers
10 views

Kde plasma(11) shuts down immediately after login

I changed the power button action in power settings on my debian linux to shutdown when I press the button using a privileged user. when I applied the changes it immediately shut down. Now when I ...
user avatar
0 votes
1 answer
74 views

Why is root in sudoers file?

I couldn't help but notice the line in the sudoers file: root ALL=(ALL:ALL) ALL From what I understand root already has superuser privileges and doesn't really need to use sudo at all. Am I missing ...
user avatar
0 votes
1 answer
37 views

Can't send mails as root with Mutt through MSTP

I successfully set up Mutt and SMPT to send to myself some logs through emails. As user, it works perfectly However, when I ask through sudo crontab -e as root to send some logs after running some ...
user avatar
0 votes
1 answer
194 views

fsck not running on root partition, despite max time reached

My raspberry pi complains in /var/log/syslog "kernel: [ 19.931374] EXT4-fs (sda2): warning: checktime reached, running e2fsck is recommended". So, fsck should run at boot, but it does not. ...
user avatar
  • 21
0 votes
1 answer
36 views

Super user binary source for Debian distro

I'm trying to craft a new root handle in a Debian distro and need to know where the source code for the su binary is located in order to move forward. Can anyone point me in the right direction?
user avatar
0 votes
0 answers
34 views

SSH for root User on Private - but publicly accessable - machine

It is probably a duplicate of any question I did not find, but I am curious. I own a Linux - server hosted somewhere and I configured it to allow ssh connections for user root - actually it has no ...
user avatar
  • 1
0 votes
0 answers
136 views

Editing shadow file to change root password

I was trying to change the root password for a CTF. I had access to www-data account Couldn't use the sudo command but did escalate my privileges to root. I was trying to change the shadow file to ...
user avatar
-1 votes
1 answer
375 views

how can i sign in ftp client(winscp) as root?

I use WinSCP as an FTP client. I have access as a normal user, But I want to sign in as a root, How can I do it? Do I Need the same credentials or different?
user avatar
2 votes
1 answer
155 views

How to regain sudo permissions?

I'm using WSL1 and at some point I did something that means I can no longer use the 'sudo' command at all (unfortunately, I can't remember what I did or when that caused this issue but it definitely ...
user avatar
0 votes
1 answer
153 views

How to change the text of “permission denied” in Linux?

All of us when we are a user in Linux (Not root), try to do some things that require root permission. For example you change directory to /root and you'll get an error that said "permission ...
user avatar
0 votes
3 answers
113 views

How can I switch to root on Ubuntu? NO sudo

Yes, I know sudo is a better way but this is a particular case where sudo isn't an option. On most Unix/Linux distributions this works by adding a user to a group (wheel, root) but I can't figure out ...
user avatar
  • 1
0 votes
1 answer
47 views

Not root access

I would like to install https://stackoverflow.com/questions/45894212/installing-pyrouge-gets-error-in-ubuntu using Astariul's answer. I have no problem until step 4 where I need to install sudo apt-...
user avatar
  • 103
0 votes
0 answers
47 views

Defining user in preinst script in debian package

I am creating a debian package where i have written preinst and post inst scripts. In my preinst scripts, am taking backup of some file using "sudo". But actual owner of these file are some ...
user avatar
0 votes
0 answers
163 views

After Debian 8 to Debian 9 to Debian 10 Dist-Upgrade i cannot connect via ssh as root or user

After i upgraded a Debian 8 server to Debian 10 and rebooted it, iam no longer allowed to ssh into it. When i use the -vvv i get this message: OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021 debug1: ...
user avatar
0 votes
1 answer
52 views

Changing Root Permission

It appears that someone changed the permissions on my root folder and now, not only can I access any of my websites but I can't even change the root permissions back to where they need to be or access ...
user avatar
2 votes
1 answer
192 views

What is meant by "don't run processes as root in a chroot environmentl"

I read several articles that say one should avoid running processes as root in a chroot environment since it allows the process to escape. But how should I do that? Chroot can only be evoked by root, ...
user avatar
  • 131
1 vote
0 answers
48 views

Unable to identify USER on bash script executed by udev

I have created an udeve rule (on Debian) to copy files from sdcard when it is plug in: # only do something for sdX KERNEL!="sd[a-z]*", GOTO="my_mount_end" # SUBSYSTEM=="block&...
user avatar
  • 199
1 vote
2 answers
55 views

How to choose the Anti-Virus to use? [closed]

There are many Anti-Virus and Internet Security software brands like: Nod32, Kaspersky, Norton, Panda, etc. All of these companies said they are the best, they are the number one. But that no make ...
user avatar
  • 113
0 votes
1 answer
80 views

Is it possible to modify the '/bin/su' command so that it will allow root access without password and without checking command ownership?

I don't know well how the su command works. I know that sudo command must be owned by root for it to work. Is it possible to modify the su command so that it runs the root shell without asking for the ...
user avatar
0 votes
0 answers
191 views

Error When Installing Truffle To MacOs Device

I am trying to install truffle to my MacOs device but there is an ongoing issue that I couldn't figure out. It seems permission issue. Here is what I tried: I modified priviliges of my current user: ...
user avatar
1 vote
1 answer
57 views

How can I change the system name from Linux to Windows in Debian?

I have a good idea for me. So I want to be able to change the system name from Linux to Windows. So, if I views the specific website, that web site should get the my system name as Windows. E.g. Steam ...
user avatar
0 votes
1 answer
38 views

Run a script as root being a normal user with sudo package removed

I want my users can run a script, but this script has to be executed as root. The "problem" is sudo package is not installed and I do not wanna install it. Is there a way to perform this? ...
user avatar
-1 votes
2 answers
169 views

Run Ubuntu as administrator

When I start my session in Ubuntu there is a message that tells me I have no administrator access: But when I write this command nothing happens. How to fix this to get access to all folders in the ...
user avatar
0 votes
1 answer
35 views

Error using reserved port

Guys I'm using Kali Linux, I created a python script and everything is fine, but when I try to use a reserved port for this error: PermissionError: [Errno 13] Permission denied But when I use a ...
user avatar
  • 143
0 votes
1 answer
400 views

How can I make my own account a sudoers on VirtualBox?

I have Windows 10 installed on my computer. I installed Oracle VirtualBox and created a machine with Ubuntu 20.04. I need administrative privileges on this machine but, for some reason, I cannot have ...
user avatar
0 votes
0 answers
293 views

Modifying Root – Big Sur

I have: booted in 'recovery mode' (cmd + R) disabled SIP (csrutil disable) rebooted mounted the root volume (sudo mount -o nobrowse -t apfs /dev/disk1s1 /Users/user/Mount) replaced files in /Users/...
user avatar
1 vote
2 answers
227 views

I can not su or sudo -i as root, and also can not ssh as root.But they all can work with other users

The screenshot Doesn't work as root sudo -i and su can not work as root. [atguigu@hadoop103 ~]$ sudo -i [atguigu@hadoop103 ~]$ su Password: ssh login as root and it was closed instantly. [atguigu@...
user avatar
0 votes
1 answer
79 views

Mysql login without password in terminal

I have an Ubuntu 20 server with Mysql installation. I am sure the root user have a password set. But if I run command mysql -u root it does not require password and run mysql with all privileges. How ...
user avatar
  • 237
0 votes
0 answers
165 views

How to Stop "Security Information for server.domain.com" Emails from Dedicated Server

Ever since I added a Reverse DNS record and a Hostname to our Linux dedicated server, we have been getting weekly emails from the server with the following content. We get these emails for each of our ...
user avatar
  • 1
0 votes
0 answers
65 views

Is /etc/aliases the only file defining where root mails are redirected?

My school has a server with the file /etc/aliases. This file notably contains the line root:someuser (it is the only line with the key root). Does it mean that every mail sent to root@hostname.com is ...
user avatar
  • 101
0 votes
2 answers
721 views

chmod/chown/mkdir: Operation not permitted as root

I get Operation not permitted for root user on one server but not on the other "identical" server. Running on Amazon Linux 1. Server 1: [root@preprod-1 ]# chown root:root /s3mnt/outliers/ ...
user avatar
0 votes
0 answers
1k views

sudo commands takes long time

Running any command with sudo takes long time. Steps: Login to the server with regular user ssh my_user@my.server.com $ sudo su here it takes some minutes Why does it take so long? Not sure if it ...
user avatar
2 votes
2 answers
287 views

How do I change the color ls in the console for files if group owner is `root`?

I am inside a mounted folder: /mnt/hgfs because of this all the files' owner is root. In this folder when I do ls color for all the files show up as green and for all the folders, there is green ...
user avatar
  • 147
1 vote
1 answer
68 views

Not able to run “sudo” after rebooting my Odroid-C2 system running Ubuntu 20?

I was happily working on my Ubuntu when suddenly — after a reboot — I realised I cannot longer invoke sudo nor root. Basically, this is what I get no matter what: lui@odroid:~$ su root su: ...
user avatar
  • 111
0 votes
1 answer
148 views

Logging in as root for the first time to Oracle Solaris

ALL, I installed latest Oracle Solaris x86 inside VirtualBox. Now, I'd like to install Oracle DB Server there. According to the install documentations from Oracle the first step is to become root. ...
user avatar
  • 235
0 votes
1 answer
244 views

How to manage file versions with git if files are owned by root and non-root users?

I have root owned files and other files in a directory and I would like to use git for version control of these files. Is it possible to use same git repo for files owned by root and non-root users or ...
user avatar
4 votes
0 answers
2k views

Running linux from Termux (PRoot) vs running Linux from image (chroot, apps like Linux Deploy or Linux Installer)

I have a phone that has DP output over USB-C, hence it can be used with secondary display almost as a fully fledged "laptop", but the limiting factor is android system that is not very ...
user avatar
  • 151
0 votes
0 answers
87 views

problems with usernames in docker

Good afternoon, I am currently configuring the user name for my containers in the daemon.json file and following the tutorials that I post below: I am using the following documentation: https://docs....
user avatar
2 votes
2 answers
582 views

Root user cannot read /root/

I added a user called 'kma' to root group. Then I changed permission of /root/ to 770. Which should give the user read, write and execute access since I added him to the root group. But it still gives ...
user avatar

1
2 3 4 5
12