jim3692
@jim3692@discuss.online
lemmy
0.19.16
0
Followers
0
Following
Joined September 07, 2024
Posts
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
@jim3692@discuss.online
in
technology
·
Apr 05, 2026
Please use $HOME instead of this. There are configurations that do not rely on the usual /home/$USER format. The root user is a good example, having their $HOME set to /root.
0
1
0
0
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
@jim3692@discuss.online
in
technology
·
Apr 04, 2026
/{username}//home/{username}
What is this path supposed to be?
What is this path supposed to be?
0
1
0
0
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
docker run --rm -it --privileged --pid=host debian:12 nsenter -a -t1 "$(which bash)"
If your user is in the docker group, and you are not running rootless Docker, this command opens a bash shell as root.
How it works:
docker run --rm -it creates a temporary container and attaches it to the running terminal
--privileged disables some of the container’s protections
--pid=host attaches the container to the host’s PID namespace, allowing it to access all running processes
debian:12 uses the Debian 12 image
nsenter -a -t1 enters all the namespaces of the process with PID 1, which is the host’s init since we use --pid=host
"$(which bash)" finds the path of the host’s bash and runs it inside the namespaces (plain bash may not work on NixOS hosts)
If your user is in the docker group, and you are not running rootless Docker, this command opens a bash shell as root.
How it works:
docker run --rm -it creates a temporary container and attaches it to the running terminal
--privileged disables some of the container’s protections
--pid=host attaches the container to the host’s PID namespace, allowing it to access all running processes
debian:12 uses the Debian 12 image
nsenter -a -t1 enters all the namespaces of the process with PID 1, which is the host’s init since we use --pid=host
"$(which bash)" finds the path of the host’s bash and runs it inside the namespaces (plain bash may not work on NixOS hosts)
0
0
0
0
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
@jim3692@discuss.online
in
technology
·
Dec 16, 2025
I have managed to get to locked out of my own Nextcloud. It was encrypted, and I didn’t know that I had to keep a backup of the keys in its config files. I only had a RAID1 for the user data.
4
1
0
0
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
@jim3692@discuss.online
in
lemmyshitpost
·
Dec 11, 2025
I had to remove my PPE to hear it
0
0
0
0
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
@jim3692@discuss.online
in
lemmyshitpost
·
Dec 10, 2025
Kirk Charlie
3
0
0
0
Open post
In reply to
jim3692
@jim3692@discuss.online
discuss.online
@jim3692@discuss.online
in
technology
·
Dec 09, 2025
No, there is only one definition for open source:
opensource.org/osd
opensource.org/osd
0
0
0
0