All Questions
Tagged with not-root-user or non-root-user
441 questions
3
votes
0
answers
133
views
Hibernation does not work under normal user
I have a problem with hibernating my computer.
Everything was working before an update.
The update installed Plasma 6.3.5.
Hibernating from the start menu doesn't work either.
After the update, the ...
0
votes
0
answers
36
views
Accessing USB Gadgetfs driver without sudo
I am working with an embedded machine (rock pi s) which can act as a USB device, communicating with a host device using the USB OTG port on the machine. I use the gadgetfs functionality of linux for ...
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 ...
0
votes
1
answer
88
views
RUNUSER && SU: pass env and run app, permissions trouble
I'm new to working with OS and unix, I'm trying to create separate users for an application, nginx, etc... and in order to run the process on their behalf. I'm currently debugging the following ways ...
0
votes
1
answer
91
views
Starting a systemd user service for a docker rootlesskit user
I run my docker stuff with a dedicated user, and installed the docker rootlesskit. I start docker with systemctl --user start docker.service. Everything related to docker, executed with that user, ...
0
votes
0
answers
67
views
Can a non-zero (not 0, not root) user run a process with capabilities `[pid]: =ep`?
I am learning about capabilities for the first time:
https://man7.org/linux/man-pages/man7/capabilities.7.html
As a frontend web developer, learning about this type of linux material feels like I ...
1
vote
0
answers
47
views
Raspberry Pi 5: alsamixer displaying different controls on boot
I have a Raspberry Pi 5 4Gb. I am trying to run a Python script on boot which will allow me to control the volume of my default amixer device (Master) through a slider switch. The script works ...
-1
votes
1
answer
101
views
Where should non-root-user programs write the data which system-level programs write to (subdirectories of) /var?
Background
Unix convention and the Linux Filesystem Hierarchy standard define several paths under which processes look for certain information, or use to write certain information. When one needs to ...
0
votes
1
answer
143
views
Centos 7 -- enable core dump for user, not system?
All of the discussion I have seen regarding enabling core dumps on Centos 7 seem to assume that you are root, and you are enabling core dumps systemwide.
Can I, as a user, enable core dumps just for ...
0
votes
1
answer
44
views
Add files only one program can see (without root) [duplicate]
I have a program with hardcoded config files in /etc, which I do not have write permission to, because I have no root (except I can use pacman in sudo). I need a way for the program to see a file ...
-1
votes
1
answer
226
views
Why/When to use passwd -d? [closed]
According with man passwd exists the following information:
-d, --delete
Delete a user's password (make it empty).
This is a quick way to disable a password for an account.
It will set the named ...
0
votes
1
answer
146
views
Why isn't this command from this script run by the user specified by doas -u when this script is copied and run by an ansible playbook?
I wrote a simple playbook, open-links.yml, that is meant to run a script on one of my remote hosts:
- name: Run Bash script
hosts: myhosts
gather_facts: false
vars:
au: "j"
tasks:...
0
votes
0
answers
101
views
How to disable root account on MacBook Pro if I don't know root password
I bought a used MacBook Pro 2017 from a reseller but I found restrictions in accessing many places. Then I realized this machine is already configured with a root user which I don't even know. How ...
-1
votes
1
answer
107
views
Why do my files only appear when the drive is unmounted?
Background
I'd like to store music on /dev/sda1, which is a physically separate drive. The /etc/fstab contains:
# grep "music" /etc/fstab
UUID=10...92 /mnt/music ext4 defaults,user,rw 0 2
...
0
votes
2
answers
293
views
Can I (install and) use guix-home on a non-Guix Linux distribution?
I'm interested in setting up an environment of apps, libraries and utilities for use - independently and in conjunction - by a non-root user on a GNU/Linux system. Can I use GUIX's "home" ...