Hot answers tagged

5 votes

How does rfkill work without being root (or using sudo)?

Modern Linux system ecosystems, probably when systemd based, can change the access rights of /dev entries when physically logged (ie: in front of the keyboard). One can compare the ownership of /dev/...
A.B's user avatar
  • 35.5k
2 votes

Files created by user in a mounted partition show root as owner

As Chris Davies said in the comments section, the answer is in man ntfs-3g, in the Access Handling and Security section, to be precise. I could do ntfs-3g -o uid=1000,gid=1000,umask=700 /dev/nvme0n1p6 ...
JulioOAO's user avatar
1 vote

Poweroff or Reboot as normal User

Here's what I have done when I needed this. It may not work if the shutdown needs to happen right away, but it has the advantage that it needs neither extra privilege nor sudo. Create and maintain a ...
q.undertow's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible