Questions tagged [root]
The "root" account is the most privileged account on a Unix system.
1,221 questions
1
vote
1
answer
48
views
How do I enable root account = set root password in Synology DSM 7.2?
How do I enable root account = set root password in Synology DSM 7.2?
(On Synology DS923+, but I believe it is not at all hardware-bound.)
Being rooted with sudo -i, I tried passwd, but I got:
-ash: ...
1
vote
2
answers
67
views
`sudo which` command not finding executable that exists in regular user PATH [duplicate]
I'm encountering a confusing behavior with sudo and the which command. An executable is found when running which as a regular user, but not when using sudo which, even though it's accessible when ...
3
votes
1
answer
482
views
Confused about root shell $PATH
So I'm running a Devuan (but for these purposes it could be Debian as well as most other distros, I guess...) and somehow, when I enter the root shell in a graphical terminal via su, the PATH variable ...
2
votes
0
answers
63
views
All users obtain root privileges after logging in and are unable to exit, even if they are just regular users [closed]
In the Ubuntu 24.04LTS release, all users (including those not in the sudoers group) who log in and use commands such as whoami, id - un, and view UID will be displayed as root users with root ...
11
votes
1
answer
1k
views
Why doesn't visudo, like sudoedit, spawn a text editor as a regular user?
As far as I know, sudoedit gives a user permission to edit a file that is owned and writable by root.
It makes a copy of that file, the copy is owned by the user, and then it spawns a text editor with ...
1
vote
0
answers
91
views
What features do I sacrifice by turning off "Machine with root privileges" when setting up a Podman machine in Podman Desktop on macOS?
When setting up a Podman machine in Podman Desktop app, one of the features is "Machine with root privileges". I am inclined to disable that because I am using Podman for safety, to insulate ...
2
votes
1
answer
160
views
Mapping two users to host with user namespaces
I'm trying to understand whether it's possible to map two users from a user namespace to two different users on the host.
The goal is to replicate the same permissions I have on my host inside a ...
0
votes
0
answers
53
views
Netbeans - Run/Debug the project as root
Is there a way to run/debug my Java program from Netbeans as root?
Context: I'm working on RaspberryPi 4 and using PI4J library to access GPIO. Lib offers several I/O Providers and the only one that ...
0
votes
1
answer
94
views
Is it safe to add user to root group?
Adding any user to root group seems like something not safe, but is it? Here is my use case.
I have PHP application that connects to Postgres database. Application is dockerized and run in container ...
1
vote
1
answer
180
views
Unable to set password of another user, even as root
I'm having an unusual problem. I created the user, and, I thought, set it's password.
For additional context, this is in a production environment, and we are using RHEL 8.10
[root@computer ~] useradd ...
0
votes
1
answer
131
views
Help - I moved everything in the root directory to a directory of mine
So I was moving some files, I meant:
mv ./* ~/something
But I typed:
mv /* something
Now I can't boot up my computer and I couldn't because me: ls output: -bash: /bin/ls: No such file or directory
...
0
votes
1
answer
223
views
User added to wheel group, but can't su without password authentication
On a SLES 15 SP1 system, I've added a user to the wheel group:
wheel:x:1003:joeuser
however, when joeuser logs in as themselves, then tries to su (to become root), they are asked for their password. ...
0
votes
0
answers
103
views
Unknown TCP in the nethogs output w/ data
I've seen this has an answer while there is no data being transmitted, but what about for when it is? Is this something I need to look into or am I fine? This was taken off my Nethogs
0
votes
2
answers
105
views
Upgrade to custom kernel with no multiuser support
I am playing around with kernel customization on my headless Ubuntu Server system. Currently I have 6.8.0-48-generic kernel. My intention is to remove kernel features that I don't need. I decided to ...
0
votes
1
answer
99
views
As root user, why do most commands fail unless sudo is used?
why is this happening?
Expected output:
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500......
Output that occurs:
# ifconfig
bash: ifconfig: command not found
If sudo is ...