Skip to main content

Questions tagged [non-root-user]

Use for questions where tasks usually considered as "system-administrative" are to be performed by a regular, non-admin user, and/or for tasks or configurations that should not be performed system-wide but only apply for one such user (e.g. local software installation). Don't use for questions about a specific way to gain root privileges if there is an appropriate tag for that available.

0 votes
1 answer
44 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 ...
aiswe's user avatar
  • 3
0 votes
1 answer
18 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, ...
unsafe_where_true's user avatar
0 votes
0 answers
41 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 ...
learningtech's user avatar
1 vote
0 answers
33 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 ...
Thimis's user avatar
  • 11
-1 votes
1 answer
61 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 ...
einpoklum's user avatar
  • 10.4k
0 votes
1 answer
82 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 ...
rimiha's user avatar
  • 1
0 votes
1 answer
30 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 ...
Xandaaah's user avatar
-1 votes
1 answer
164 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 ...
Manuel Jordan's user avatar
0 votes
1 answer
87 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:...
John Smith's user avatar
0 votes
0 answers
83 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 ...
abby rj's user avatar
-1 votes
1 answer
85 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 ...
Dave Jarvis's user avatar
0 votes
2 answers
239 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" ...
einpoklum's user avatar
  • 10.4k
0 votes
1 answer
882 views

how to add PID inside cgroup.procs with non-root privileges in cgroup-v2 in Ubuntu

I created cgroup in /sys/fs/cgroup. I called it testGrp and I need this cgroup to be controlled by non-root user so I changed the ownership of the whole cgroup directory /sys/fs/cgroup$ sudo chown -R ...
Belal Elkady's user avatar
0 votes
1 answer
394 views

Run one command as root within script

I have a script that I would like everyone (world) to be able to execute. However, one line in the script requires root privilege to run properly. How can I make this script work for everyone, ...
TSG's user avatar
  • 1,953
7 votes
1 answer
2k views

How to log into CUPS admin with Debian "rootless" system?

When I installed Debian 12, I was given the option to not allow root logins. Instead, the system lets me use su each time I need to do some minor maintenance. When I go to http://localhost:631/, ...
Village's user avatar
  • 4,067

15 30 50 per page
1
2 3 4 5
30