Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

not-root-user

How could we allow non-root users to control a systemd service?

August 10, 2022 by Magenaut

With sysvinit, a sudoers entry like this would suffice:

Categories Q&A, Unix & Linux Tags not-root-user, services, sudo, systemd Leave a comment

How to allow non-superusers to mount any filesystem?

August 10, 2022 by Magenaut

Is it possible to allow some particular users (e.g. members of a group) to mount any filesystem without superuser privileges on Linux?

Categories Q&A, Unix & Linux Tags linux, mount, not-root-user Leave a comment

Samba mount with password prompt as non-root user

August 10, 2022 by Magenaut

I want to mount a password-protected SMB share (served by a Windows machine). The share is protected by a user name and password, and I may not write the password in a file, I want to be prompted for the password at mount time.

Categories Q&A, Unix & Linux Tags command-line, not-root-user, samba Leave a comment

How to achieve the effect of chroot in userspace in Linux (without being root)?

August 8, 2022 by Magenaut

The goal is to install and run programs in a displaced (relocated) distro (whose / must not coincide with the global /) inside a host Linux system. The programs are not adapted for using a different / .

Categories Q&A, Unix & Linux Tags chroot, jails, not-root-user, virtualization Leave a comment

Is there a linux vfs tool that allows bind a directory in different location (like mount –bind) in user space?

August 8, 2022 by Magenaut

For a user process, I want to mount a directory in other location but in user space without root privilieges. Something like mount –bind /origin /dest, but with a vfs wrapper. Like a usermode fine-tuned chroot.

Categories Q&A, Unix & Linux Tags chroot, linux, mount, not-root-user Leave a comment

Installing a .deb package in home directory

August 7, 2022 by Magenaut

Is it possible to install a .deb package completely under my home directory at debian?

Categories Q&A, Unix & Linux Tags debian, dpkg, not-root-user, software-installation Leave a comment

How to “jail” a process without being root?

August 7, 2022 by Magenaut

Were I root, I could simply create a dummy user/group, set file permissions accordingly and execute the process as that user. However I am not, so is there any way to achieve this without being root?

Categories Q&A, Unix & Linux Tags jails, not-root-user, permissions Leave a comment

Bluetooth LE scan as non root?

August 6, 2022 by Magenaut

To perform a scan for bluetooth LE devices hcitool apparently requires root privileges. For normal users the output is following:

Categories Q&A, Unix & Linux Tags bluetooth, not-root-user Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress