Questions tagged [not-root-user]

Doing administration tasks without administrative privileges.

58 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
1k views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using febootstrap-supermin-...
4
votes
0answers
635 views

linking problems when installing python module and dependencies as non-root

I want to install a certain (non-public, numerical) python module on a remote (Debian squeeze) system on which I do not have root (or sudo) privileges. As the python-dev package was not installed, I ...
3
votes
1answer
1k views

Bash root to user. Best in same or separate script?

I'm working on a Linux Bash script that needs to start as root. At the end of the script, it builds a list of packages. This requires running as user. Then it will move the packages, which needs to ...
3
votes
1answer
311 views

Fedora16, ekiga just works in superuser mode

I've got a fedora16 running and I'd like to use ekiga as a softphone. Now I'm running into some problems. Starting ekiga as a normal user gives me could not register (globally not acceptable) ...
2
votes
0answers
36 views

How to edit a binary SeLinux policy file?

It appears root access is irrelevant on my device as everything is managed by SeLinux (the root user basically can’t execute anything). The problem is I can’t just create my new polices. I need to ...
2
votes
0answers
38 views

Edit ssh_config without ssh connection on a remote VPS

Yesterday, I was busy setting up my server and securing it. I am a noob at code, programming and webhosting, but I am trying to host my own website. So yesterday I changed some settings in the ...
2
votes
2answers
251 views

Startx as non-root user via SSH

I have a remote VM running Ubuntu 1804 and would like to run VNC. I am using x11vnc, which requires an X server to be running. Currently, I'm connected through SSH. The VM has an Nvidia card, and ...
2
votes
1answer
2k views

Docker: Sending log files as non-root user to /dev/stdout

I'm trying to start a docker container, which has 2 services. One of those services needs to be run as a non-root User, otherwise he won't start. The other must run as root. Now I want to link the ...
2
votes
1answer
942 views

Install userspace programs on server without root access

I would like to install some programs on my work development server because it is missing some programs I need for my day to day job. I don't have root access. What I did up to now is compiling the ...
2
votes
2answers
1k views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
2
votes
0answers
869 views

Unlock LUKS volume without root access - how does that work?

It seems I am trying to do the same as the user who asked this question: Unlock LUKS partition using keyfile without root access? The answer from frostschutz explains that this is impossible. I am ...
2
votes
0answers
188 views

Changing pulseaudio default per-user output device

Is there a way to change or set the default per-user pulseaudio output device without having write access to the system configuration (but of course having write access to the user configuration in $...
2
votes
0answers
149 views

Mounting Ext3 in linux different user

I am trying to mount an ext3 based memory stick in Linux based development board. I used mount with -u and -g for mounting the fat based memory stick with different user. When I tried the same ...
2
votes
1answer
81 views

Non-administrative network-related tools

I know there are tools to inspect packets (e.g. wireshark) or to simulate latency/packet loss (e.g. netem), but they all seem to require administrative permissions to inspect/modify packets. I'm ...
1
vote
0answers
91 views

Why my newly created user is not inheriting $PATH variable

I added a new user dev on my Alpine based image. After switching to the new user I see env variables are different in case of both root and dev user. Specially $PATH variable is different. But I think ...
1
vote
0answers
493 views

How to use service to start/stop app with non-root access?

RHEL 7.5 Currently installed an application as root in /app. As part of administration, application will start/stop using /sbin/chkconfig & /sbin/service utilities All the application binaries ...
1
vote
0answers
58 views

multipath equivalent that doesn't require root privilege

Is there any native tool that can show multipath topology but doesn't need root privileges? Basically the same output as multipath -ll
1
vote
1answer
30 views

Hooking on to lid events as non-root

Is there a way for a non-root user to hook a script on to laptop lid events (ie. opening and closing)?
1
vote
0answers
589 views

Restart a supervisor program without root

I have a two-level supervisord system on Debian Linux: In /etc/supervisor/conf.d/opus-release.conf [program:opus] user=opus command=bash -c 'cd /home/opus/projects/XXX && supervisord -n -c .....
1
vote
0answers
47 views

Save IP in remote host every time connection is up (as non-root-user)

I have a dynamic local Lan IP at work (temporarily), but in order to connect from home, I ssh to the host A (static IP) and from there to my machine. However, since the IP changes, I would like to ...
1
vote
0answers
30 views

system service to user service information flow

I'm trying to abstract away some /dev/input files so that user-level systems can know when the touchscreen is being used vs. when the touchpad is being used (without having access to raw mouse data). ...
1
vote
0answers
355 views

Use dislocker without root access

I installed dislocker using this (excellent) answer. However I'd like to be able to mount and access an encrypter memory stick without root access. Presently, the root password is required in this ...
1
vote
0answers
36 views

Managing locally compiled software

I have to run a C++ software on a computer where I only have user access. There are a bunch of dependencies that I have to have installed first before I can run the program I am interested in: All of ...
1
vote
1answer
2k views

install X11 libraries and header files in user account centOS

I would like to install X11 libraries and header files in my own account (not root) for further use. What other libs do I need to install for that? Where can I find the source codes and installation ...
1
vote
1answer
234 views

Install LibreOffice on Solaris without root access?

How can I install LibreOffice on Solaris without root access. I just need to use libreoffice on the command line and do some conversions between Word and RTF. Is this possible to do this just in my ...
1
vote
0answers
2k views

Can we run apache on a non-root account?

Apache is started by the root user, then switches to the user defined by the User directive; is there any chance where we can change this default behavior? Apache should start using a non-root account ...
1
vote
0answers
58 views

Access directory as a different user

On a Debian (Jessie) server provided by my university, I have a mounted directory (say it's /MagicDir) that can only be accessed by one user (say magicuser). Not even root can access this directory! ...
1
vote
0answers
601 views

Build xpra on local directory without root privileges

I am trying to build xpra on local directory without root privileges. The xpra official site says: https://www.xpra.org/trac/wiki/Building Building with distutils For installing into a local ./...
1
vote
0answers
242 views

mount through fuseiso9660 appending ;1 to filenames

I want to mount iso9660 files without root permissions through some program and I have chosen fuseiso9660 for this purpose. But whenever I use the command fuseiso9660 /path/to/iso /mountpoint/under/...
1
vote
0answers
66 views

Is an unprivileged LXC where the host user itself is mapped to 0 less secure of one where one of its subids is mapped to 0, and why?

Instead of creating "common" LXC unprivileged containers where all the users are mapped to (unprivileged) subuid/gid of my host user, I'm considering a mapping where my host user itself will be mapped ...
1
vote
0answers
102 views

How to install iwidgets without root access and set the enviornment

Recently, I want to run a script (PWgui) which requires Tcl (Itk). The manual suggests that I have to install iwidgets4 beforehand. I am using the university cluster and don't have any root privileges....
1
vote
0answers
131 views

Retrieve device manufacturer without sudo

I need to retrieve the manufacturer model of a linux device (laptop or desktop). I saw that you could use dmidecode | grep -A3 '^System Information' but it needs admin rights. There is any way to do ...
1
vote
1answer
485 views

Strange bash sytax error depending on sudo usage

I made this bash function to detect if the user running is actually logged in as root user and not using sudo by checking the uid + home directory of the user executing the command: #!/bin/bash set -...
1
vote
0answers
279 views

pip won't find system package on a custom location

I am working remotely on a CentOS system via bash with an account without administrator privileges and I need to install the Python package matplotlib. I can do this using pip install -t target/...
1
vote
1answer
132 views

Virtual Python installation not allowing ez_setup?

I don't have root on my system, so I'm trying to create a virtual Python installation. I ran virtual-python.py, and it told me to run ez_setup.py. I found it online and ran it with the command virtual-...
1
vote
2answers
453 views

temporarily disabling one's own filesystem write permission

I can't believe there is no simple solution to this (because it seems potentially a very useful feature to me), but so far I couldn't find any. I'd like to be able to (temporarily) turn off my own ...
0
votes
0answers
9 views

UX: VXFS fsck Error

I am running UNIX on HP Proliant. The server abruptly turned off, now on boot it fails saying sc_Add failed /sbin/swap operation not applicable UX:vxfs fsck Error:cannot deduce character device ...
0
votes
1answer
18 views

How to reserve free space in Home dir for display to prevent GUI freezing and app crashing?

As the title says. Since switching to Linux (and actually probably the main thing that prevented me from switching right away many years ago), the system has crashed upwards of 100 times, with data ...
0
votes
1answer
22 views

ownership & permissions inside /var for systemd service

I'm working on an application that needs to read some config files under /etc and write to a db file under /var/lib I'm working on a .service file in order to enable this application to be executed ...
0
votes
1answer
18 views

root user able to access and install repositories while non-root user cannot

I am fairly new to Linux. I have installed CentOs 8, and have configured the system to access the network and internet, by putting in the proxy in the network settings configuration in CentOs GUI, ...
0
votes
1answer
122 views

Normal user run Qt C++ program as root without sudo?

I am writing a robotics program in C++, using Qt for the GUI, where each thread needs access to hardware. The library which accesses the hardware is called pigpio, and it modifies /dev/mem, so it ...
0
votes
0answers
41 views

Centos Minimal on Raspberry Pi, How can I access GPIO from non root user

I am running an application that access GPIO using Centos Minimal on Raspberry Pi3 board. when I tested with root everything worked fine. However, with non root user, it did not work. I followed ...
0
votes
1answer
20 views

LinuxLive: Howto login with local username

Linux (installed on my PC) doesn't want to boot anymore. So I access my data on my hard disk by running Linux from a bootable Linux Live USB stick. But some files on my harddisk can only be read with ...
0
votes
0answers
29 views

How configure multiple server nodes to do computation for not-root user?

Suppose that I have a 4 server nodes but I am not root user. Password-free login has been implemented between nodes. If I want to call multiple nodes for computation, how should I configure it, ...
0
votes
2answers
64 views

Is Encrypting/Decrypting an external USB Drive with minimal priviledge possible?

The following situation is the case: I want to provide my students with an easy way to protect their data securely and encrypted on an external usb drive with the zero knowledge principle in mind so ...
0
votes
0answers
113 views

Install CGAL-4.11.1 locally without being root

I am trying to install CGAL-4.11.1 on a server locally without root privilege but so far I failed. tar -xvzf cgal-releases-CGAL-4.11.1.tar.gz cmake -DCGAL_DIR:/local_path . make make install I get ...
0
votes
1answer
156 views

Monitoring tool installation without root/sudo privileges and no compilation

I originally planned to use zabbix as a monitoring tool but I found out that I can't use it because it requires root access, and I can't make the compilation either due to the client and security ...
0
votes
0answers
181 views

How to install and configure byobu in HPC environment (i.e. no root)?

I am used to the byobu layout in Ubuntu and I suffer from the fact, that all the HPC I have access to in my work have no byobu (and sometimes even no screen/tmux). I am able to build byobu from ...
0
votes
1answer
668 views

Linux Find RAM type as a non-root User

I have found the following command to work the best for memory determining the type of RAM installed: sudo dmidecode | grep DDR But the thing is, I don't want to use the sudo command, therefore I am ...
0
votes
0answers
936 views

User can't change password using passwd (pam config)

I've created a new user and set a valid password (as root). The account is working and I can login locally/ssh etc. However, when logged in as said user I can't change the password using passwd. I ...