Doing administration tasks without administrative privileges.

learn more… | top users | synonyms

0
votes
1answer
20 views

How do you set a service run as a non user at boot time?

I have a PostgreSQL server that I start on the command line when I log on after I logon. It doesn't run as the normal PostgreSQL service, but under my name with the data stored in my home directory, ...
1
vote
0answers
14 views

Build xpra on local directory without root priviledges

I am trying to build xpra on local directory without root priviledges. The xpra official site says: https://www.xpra.org/trac/wiki/Building Building with distutils For installing into a local ...
2
votes
2answers
46 views

OpenSUSE disabled root login (no root psswd set) >> yast, config issues

I disabled the root login on my system (blank password). Now I cannot configure my system from GUI (it asks for the root password). Everything is fine in CLI (e.g. launch yast2 from CLI works ...
1
vote
2answers
46 views

Format a USB drive as unprivileged user

I always thought unprivileged users couldn't format a USB drive, only root user could, so I used to mess up with gparted or fdisk. After years or daily Linux usage I just discovered that ...
3
votes
1answer
19 views

Can custom locale spec live under ~/?

I understand that one can put custom locale specs under a system-wide directory (e.g. /usr/share/i18n/locales), but is there a way to configure one's locale to use a spec that lives under ~/? ...
5
votes
1answer
122 views

Why doesn't my systemd user unit start at boot?

I'm trying to create a systemd user unit and have it start when the system boots. The service does start manually, however it does not start at boot. From searching the Internet I learned that in ...
0
votes
0answers
57 views

Mounting an FTP drive without curlftpfs

I need to access the FTP drive of a client, of a server to which I do not have SSH access, and since my laptop is being repaired I'm working on a computer that I don't have root rights of. Curlftpfs ...
2
votes
1answer
40 views

How to change the host file after login

Was wondering whether in a Nix environment I can change the content of the host file, mainly to prevent one or two site being accessed from that particular user, and only for his account (not with ...
1
vote
1answer
83 views

“No more PTYs” when starting screen as non root-user

Whenever I try to start a screen-session as a non-root-user I get "No more PTYs." as a response. Same command in the same directory as root works properly. I tried the solution from this post but it ...
1
vote
1answer
42 views

directory size in conky

Conky is a system monitor software. I want to display the directory size of /usr and /var. Unfortunately I did not found any conky command so i made my own. /usr $alignr${exec du -sch /usr | head -n1 ...
1
vote
0answers
49 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 ...
1
vote
1answer
59 views

Use XFCE4 Whisker Menu without root privileges

We have XFCE 4.10 on our workstations. I don't really like the built-in menu so I'd like to install the Whisker Menu. I don't have any root privileges, though. I tried building the plugin and ...
1
vote
0answers
18 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 ...
2
votes
2answers
61 views

Where can I/should I place files outside my home directory?

I'm using a Linux system on which I don't have root. My home directory is remote-mounted and backed up (and there's a quota on that filesystem). Now, I would like to work on some files on this machine ...
1
vote
1answer
153 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 ...
1
vote
3answers
379 views

Install Git offline without sudo

I have a corporate Linux server which does not have internet connection, and sudo access needs to be approved through many levels of hierachy. I've tried install git but I soon realized this needs a ...
1
vote
1answer
28 views

Organize local builds

A common thing for people who work on machines without having root rights is to locally build your own little suit of your favorite tools. The workflow goes a little something like this: tar xvzf ...
1
vote
0answers
735 views

I can't enable or disable a user service: Failed to execute operation: No such file or directory

I want to debug/test a program in eclipse that uses a Redis server so I decided to turn the server into a user service to have the privilege of running it. What bothers me is that I can start or stop ...
2
votes
1answer
92 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 ...
0
votes
0answers
86 views

Installing libx11-devel from source, error in string.h

I'm running Linux version 2.6.32-504.8.1.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) and trying to install libX11-devel from source on a ...
3
votes
1answer
120 views

Installing Nix or Guix without root permissions?

This answer to the question Non-Root Package Managers suggests Nix as a solution. However, the installation documentation says: The script will invoke sudo to create /nix if it doesn’t already ...
0
votes
0answers
145 views

allow non-root user to run programs compiled by root in /root/bin

I just finished and installed ffmpeg installation on a centOS box via the guide made by ffmpeg themselves https://trac.ffmpeg.org/wiki/CompilationGuide/Centos As it turns out, ffmpeg was installed at ...
0
votes
2answers
152 views

How to login as superuser\administrator in Scientific Linux 6 LiveCD?

I have a LiveCD started as a default user. How to login as root? Here it is said that there are boot parameters. How and when to set them?
0
votes
0answers
36 views

How do I circumvent or gain root priviliges for pacman with PyDev?

I have downloaded and forked a project that I like to tinker with in Eclipse using PyDev. However, this project makes use of the package manager pacman that installs and uninstalls packages and needs ...
3
votes
1answer
50 views

Why don't most common Linux package managers allow package installation for normal users? [duplicate]

I tend to install quite a lot of packages with ./configure --prefix=$HOME && make && make install. Why can't I do this as easily with dpkg or yum? Or if I somehow can, what is the way ...
2
votes
2answers
218 views

Cannot access the hardware clock as a non-root user

I try to use the hwclock but I get this output: [arkadi@arkadi-linux /home/arkadi $]hwclock hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the ...
-3
votes
2answers
47 views

How can I give the user sufficient permission to access '/' directory?

How can I get the following to work? user@host:~$ cd .. user@host:/home$ cd .. user@host:/$ echo " " > txt.txt bash: txt.txt: Permission denied user@host:/$
0
votes
1answer
794 views

How to resolve 'No protocol specified' for su user

I am trying to user an alternate user (non-admin) to execute graphical software on my system. This alternate user has been named and given a UID and GID to match a remote system user of the same name. ...
0
votes
1answer
131 views

Run ircd-hybrid server as non-root user

I have installed ircd-hybrid on my new CentOS 7 box, and I can run it fine via my normal user, but I want to run it as its own user with reduced permissions (ie, no write access outside /etc/ircd). ...
2
votes
1answer
135 views

Non-root privileged user to find all files with SUID & SGID bit…Permission Required?

I'm writing an audit script to find all files with SUID & SGID bit set on the system, using the below command: find / perm /u=s,g=s The script will run with a non-root user. Will this user be ...
1
vote
0answers
23 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
2answers
251 views

How do users mount .bin/.cue or .iso with loopback device as read only?

Can users mount any of the following image files as read-only using a loopback device? If it is possible then can anyone give me examples?
1
vote
1answer
202 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 ...
0
votes
0answers
78 views

User Mode Linux - running CentOS - recommended FS & Kernel combination

I'm trying to run CentOS6 in "User Mode Linux" - i.e., virtualization without root privileges. It can be either 32 bits or 64 bits - whatever works right. The UML kernel is distributed seperately from ...
0
votes
1answer
120 views

create a linux user with create files and write permissions without sudo access

I want to create a user in such a way that it can create a file and update the contents of the file. useradd username Now for sudo, we can create username and linking to sudo like below: useradd ...
0
votes
0answers
32 views

Use unoconv without installing (or other alternative of converting files) [duplicate]

I need to convert doc file to docx. I need to achieve this using command line on the web-server. unoconv seems to be most usefull here. But it isn't installed on a web-server and: Web-server doesn't ...
0
votes
1answer
38 views

Permissions for new user

I have created a user in my Centos VPS. But with the new user I can not create, modify files in any folder (for example /var/www/ or /etc/nginx/conf.d/), even though I have added the new user to the ...
5
votes
2answers
81 views

Does managing cgroups require root access?

I am trying to work with control groups on two different operating systems (Ubuntu and Centos). There are few concerns that I would like to ask. I am trying to create a control group using the ...
6
votes
1answer
3k views

How do I allow non-root users to control a systemd service with instances?

I need to allow users in the dba group to control the database@ services. The answer to this related question is to just list all systemctl "verbs" that I want to allow in the sudoers file, however, ...
1
vote
0answers
120 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 ...
1
vote
2answers
352 views

rtmpdump compile without root, librtmp.so.1 => not found

So I have successfully compiled it to ~/.local by editing the prefix option in the makefile to prefix=~/.local the program compiles fine, and I did the same with librtmp. When running ldd on the ...
6
votes
2answers
3k views

How could we allow non-root users to control a system.d service?

With sysvinit, a sudoers entry like this would suffice: %webteam cms051=/sbin/service httpd * This would allow for commands such as: sudo service httpd status sudo service httpd restart Now, ...
1
vote
0answers
30 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
4answers
55 views

Can administrating task of 'root' be divided to the several of “more powerful” users?

Unlike root (which is able to do everything) is it possible to have multiple administrators assigned to manage only part of a system? For example, one system could have 3 administrators: ...
4
votes
2answers
1k views

How to use libraries installed by nix at run-time?

I'm using nix in "single-user mode" in a system where I'm not the root (see below for a description of my nix setup). I wanted to quickly run one of my binaries which is dynamically linked with a ...
0
votes
1answer
277 views

How to run privileged bash script as non-root? [duplicate]

I created a simple bash script which contains the command ifconfig. In general I want to execute such a privileged script to run as non-root user. I have tried hown root:users ./path/to/script.sh ...
1
vote
1answer
151 views

How to run smartctl as root without switching to root?

I have this C code that runs smartctl command and takes its output: #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { cout << ...
3
votes
1answer
872 views

Mount a windows share without having root credentials

I am trying to mount a Windows shared folder in my home folder. I am able to execute the following command from a Linux (i.e., CentOS) machine which I have sudo access. The command that I am using ...
3
votes
1answer
336 views

Unlock LUKS partition using keyfile without root access?

Is there any way to unlock LUKS partition using keyfile while not having root priviliges? (using sudo is not an option) I know that udisksctl can open LUKS partition, however it can do it only with a ...
3
votes
1answer
45 views

Are there any user guaranteed to exist on the system

Beside the root (which I guess IS guaranteed), is there any other username guaranteed to exist on Unix system? Linux system? Fixed UIDs for those users? If not guaraneed, are there at least any ...