Questions tagged [root]

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

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

How to get the Stoock ROM from Huawei P30 lite New Edition (MAR-LX1B)? [migrated]

I am trying to root my new Huawei P30 lite New Edition(MAR-LX1B). Now I found out that there is no official version of TWRP for Huawei P30 lite New Edition(MAR-LX1B). After a long research I found out ...
1
vote
2answers
41 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 ...
0
votes
0answers
5 views

Root Android with no apps [migrated]

I want to root my Android 11 on Samsung A72 without using any third part app. Is their a way? I cannot find anything on google on duckduckgo that mentions a terminal or a manual root.
-1
votes
0answers
24 views

How to escalate user privileges in a restricted virtual machine

I was given a virtual machine with a user to connect into it. I can connect to the VM with that user. But the thing is that user has very few privileges and I'd like to find something to escalate ...
-2
votes
0answers
13 views

ussd carrier notification block [migrated]

my carrier, vodafone, sends multiple spam popups everyday via ussd, see screenshot below. I am rooted with EdXposed installed. pixel 2xl with android 11 but willing to downgrade to android 10 if ...
0
votes
1answer
29 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? ...
0
votes
0answers
23 views

In linux, why am I suddenly supposed to use sudo for updatedb?

As far as I'm concerned, I was always using the updatedbcommand without sudo or root privileges but after having some difficulty changing my default shell from zsh to bash (I think that's when the ...
-1
votes
2answers
38 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 ...
0
votes
1answer
28 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 ...
0
votes
0answers
11 views

Have non-root users mount samba shares using terminal

I want regular (non-root) users to be able to mount samba shares using their terminal. Each user has their own username and password on the share, so I cannot use an fstab entry with a credentials ...
0
votes
0answers
7 views

group wise restricting commands

I had grouped multiple users let say user1 to user9 in a group name group1 . I need a method in which I can restrict all the user who are in group1 to use only some set of commands . How can I ...
0
votes
1answer
31 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 ...
0
votes
0answers
22 views

How to granularly audit the root user on Linux

Is it possible within Linux to see what user became root and executed specific commands? Let's say, we have person A and person B. Both of them knows the root password and can execute su - . They both ...
0
votes
0answers
123 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/...
1
vote
2answers
47 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@...
0
votes
1answer
51 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 ...
0
votes
0answers
30 views

Debian 10.7.0 netinst install in CentOS 8.1 VM - no root or sudo access

I have a CentOS Stream 8.1 system with gnome-boxes (QEMU KVM) and installed a Debian Buster (10.7.0) VM using debian-10.7.0-amd64-netinst.iso. During the install I was prompted to create a user, but ...
0
votes
0answers
55 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 ...
0
votes
0answers
51 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 ...
0
votes
0answers
81 views

Mysql 8 for mac OS high Sierra 10.13.6 error : Access denied for user 'root'@'localhost'

After installing Mysql server I have problem accessing mysql> prompt due to restrictions on root user Here are the steps Mysql installation for mac OS view img installation Enter password view ...
0
votes
2answers
250 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/ ...
0
votes
0answers
244 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 ...
0
votes
0answers
13 views

Using AR to interact with non-AR apps

I have a set of smartglasses with custom sensors where i can use apps from the developer with Augmented Reality features (for example touching a button on the screen). At work they asked me if it is ...
0
votes
0answers
14 views

root login from bash shell script with password

I want to make a bash script that initially login automated as a root user in order to have access into specific commands and folders (sudo does not work).I have tried a lot of ways I found in ...
2
votes
2answers
86 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 ...
1
vote
1answer
49 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: ...
0
votes
0answers
20 views

I have two HDD in Laptop HDD1 has windows os and HDD2 has ubuntu os. Unable to boot Ubuntu OS

The thing is my HP Compaq 15 notebook laptop got dead. It was running on Ubuntu 18. (HDD2) Now I have attached an HDD from Lenovo Thinkpad 310 as an external drive, It's running on Windows 10. (HDD1) ...
0
votes
1answer
55 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. ...
0
votes
1answer
72 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 ...
4
votes
0answers
1k 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 ...
0
votes
0answers
47 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....
0
votes
0answers
17 views

Can you set a program to open as root by default? GNOME

I have a few programs that I have to open them as the root user or they won't work. I usually open them from the terminal but I prefer using the GUI in Linux as much as possible. is there a way to ...
0
votes
0answers
23 views

Centos root xfs partition mdadm raid

I am running a ClearOS 7 (centos 7) gateway and wanted to mirror the 128Gb SSD it was installed on. I have 4 partitions in the usual efi/boot/swap/root configuration, all XFS and no LVM. I have ...
2
votes
2answers
444 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 ...
1
vote
0answers
25 views

/usr and /etc changed ownership to user “5640” and group “13023”. What happened?

after just installing samba on my Ubuntu server, I got warnings (from the samba installer) about strange ownership and permissions set for my /etc and /usr folders. I checked and indeed /etc and /usr ...
-2
votes
1answer
246 views

Kali GNU/LInux Rolling

I installed Kali on my PC and rebooted my PC. I then created the password so now it wants a login and a password when I type in root and the password it says login incorrect. I can't go back to normal ...
0
votes
0answers
23 views

How can you prevent root from removing the immutable flag?

I would like to prevent root from removing the immutable (or appendable) flag until reboot. In the past this was possible with lcap CAP_LINUX_IMMUTABLE. But this possibility seems to have been removed....
0
votes
1answer
46 views

Root console without a password with GRUB dual boot on Ubuntu 18.04.4

I just discovered that entering a recovery console (in Ubuntu 18.04.4 installed with a dual-boot alongside Windows) allows entering the root console without entering any password. It seems to be a ...
3
votes
1answer
561 views

Is it possible to perform bind mount as a non-root user in an unshared namespace while preserving your UID and groups?

I want to run a process as my (non-root) user with an unshared bind mount. I can do this. $ unshare --mount --map-root-user mount --bind foo bar While this works, I am faking root in this context. I ...
1
vote
0answers
342 views

Ubuntu unable to Boot, due to low space in Root, even in recovery mode

enter image description hereMy Ubuntu won't boot even in recovery mode. Space previously allocated. Root-> 28GB Swap-> 3.73GB Home-> 115.48GB It's dual booted with Windows ...
0
votes
2answers
94 views

Is it safe to save root login/password for Webmin in browser?

Is it safe to save root login/password for Webmin in browser? I mean the autosave login feature in most browsers. I'm using Chrome on my own PC.
2
votes
1answer
177 views

Remove admin domain in Chrome OS

I would like to ask a question about resetting a Chromebook that I recently got after my graduation a week ago. I followed the steps to go to Developer Mode and wipe the Chromebook, yet it asks me to ...
0
votes
0answers
46 views

selinux : root as sysadm_u not able to start at job

I have a system where root user is sysadm_u. When the user tries to start at job, get this error "execle: couldn't get security context for user root". After going through the source code of at and ...
0
votes
0answers
281 views

Whenever I type sudo command on my Kali Linux 2020.1 it doesn't allow me to write further

Whenever I type sudo command on my Kali Linux 2020.1 it doesn't allow me to write further. It just shows this message and it stops reading my commands We trust you have received the usual lecture ...
0
votes
1answer
92 views

Unable to connect to root profile or open root console in Kali Linu

I am running Kali Linux on VirtualBox. When I try to login into the root account it just does not connect. the same if I enter a non-root account and try sudo commands. I entered the grub bootloader ...
2
votes
2answers
515 views

UID is root but whoami says nobody

I'm participating in a capture-the-flag contest where I must implement some form of privilege escalation to read the flag.txt file. I've noticed that when I run whoami I get the following result: ...
1
vote
0answers
374 views

Root MySQL Access denied even after resetting root password

I know there are a ton of threads on similar issues where people can't connect using root and need to reset their password to regain access, but in my case resetting the password is not a problem. I ...
0
votes
0answers
36 views

Mechanisms to be root after ssh login (w/o using sudo)

Our servers are set-up in a way, that after ssh'ing to them using our userid ssh my_user@server(I am immediately greeted with [root@server ~]# The command id confirms that, indeed, I am root. However,...
0
votes
1answer
186 views

sudo apt-get update && upgrade runs on root, but not with sudo as normal user

Not much else detail to add. Latest release of Parrot OS, I'm curious why I could only get my update && upgrade to run as the root user, when AFAIK using sudo as my normal privilege user ...
0
votes
1answer
18 views

Custom name of root user

Obviously, the root user's username is root. Is there a way to change it's username to something else while keeping it's root powers? Example: Change it to webadmin on a http server.

1
2 3 4 5
12