Skip to main content

Questions tagged [privileges]

2 votes
0 answers
61 views

Somewhat floundering. I'm trying to install and run an open-source app called "Swordfish", which is a CAT (computer-assisted translation) app. I've never really built from source before in ...
mike rodent's user avatar
  • 1,226
1 vote
1 answer
59 views

I'm learning linux permissions and confused about the permissions for killing a process. First, from kill(2) manpage: For a process to have permission to send a signal it must either be privileged (...
Elucidase's user avatar
2 votes
1 answer
189 views

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 ...
Liric Ramer's user avatar
0 votes
2 answers
361 views

pkexec is not installed by default on Debian unlike runuser which is. So far I've been using pkexec but discovered there is also runuser, and since runuser seems to be more advanced (looking at ...
metablaster's user avatar
2 votes
1 answer
731 views

I managed to resize my LVM partitions, set up my swapfile, and disable secure boot, so now I can hibernate with sudo systemctl hibernate. However, I want to be able to hibernate from my power menu (...
Hari's user avatar
  • 202
0 votes
2 answers
856 views

I'm trying to exploit the following code: #include <stdio.h> #include <string.h> int main(int argc, char** argv){ char buffer[100]; strcpy(buffer, argv[1]); return 0; } with ...
r3k0j's user avatar
  • 15
2 votes
1 answer
2k views

I saw this statement at the end of this answer: PS: I have no idea why rfkill works when run as an unprivileged user. On my Mint, it doesn't have a setuid or setgid bit. I was curious, and looked on ...
cocomac's user avatar
  • 555
0 votes
1 answer
186 views

I've had some issues with my XQuartz environment not starting due to a bit of a freak reason that was a rather hard to figure out. It's (mostly) working again but I must have caused another regression ...
RJVB's user avatar
  • 274
8 votes
1 answer
985 views

After apt-get install chromium and running it on Debian 12, ps alx | grep -e ^F -e ^5.*chromium returns: F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 5 1000 ...
Juergen's user avatar
  • 764
0 votes
1 answer
123 views

Following this solution, I want to grant to the user daemon the execution of /bin/date. Here what I did: find the user that apache2 uses when spawning: # ps | grep httpd 252 root /usr/bin/httpd -...
Mark's user avatar
  • 805
0 votes
1 answer
184 views

I'm not going to add sudo in my Buildroot environment for RPi 3 B+ since I just need apache2 to update my system time with date -s TIME. Is there a way to grant this permission without installing and ...
Mark's user avatar
  • 805
0 votes
2 answers
136 views

I execute this time sudo nice -n -20 bash myscript.sh myscript.sh then processes some files as well as create files with the result. Two problems with this: the script is run as root the resulting ...
d-b's user avatar
  • 2,077
0 votes
2 answers
282 views

I have scheduled a system reboot every night in my crontab with this line: 0 4 * * * /sbin/shutdown -r +5 I would like to be able to log in and cancel the reboot if I need the system to stay up at ...
Cedric Lindenau's user avatar
1 vote
0 answers
64 views

Question: Are there any further sources to catch up on the implementation of groups in the linux kernel. The man page about credentials helped me out so far, but I like to delve deeper (though still ...
Semnodime's user avatar
  • 407
1 vote
0 answers
70 views

I am trying to mount my USB-drive automatically on Linux.  I have this script: #!/usr/bin/bash mount /dev/safety1 /mnt/hd 2> /home/harald/errors/e rsync -az /mnt/hd/ /home/harald/backups/ &&...
Harald Verbraak's user avatar

15 30 50 per page
1
2 3 4 5
17