Doing administration tasks without administrative privileges.

learn more… | top users | synonyms

0
votes
0answers
24 views

Why would editing a wvdial.conf delete a user? [on hold]

I used to do sudo user before dialing a connection; Upon recent editing of wvdial as in /etc/wvdial.conf the user doesn't seem to exist anymore or at least what I get to see on the prompt is, no ...
0
votes
2answers
13 views

Can I change the permissions of files that root has read only access to?

A few days ago I made the switch from Debian to Arch. When I did that, I backed up my files to an external harddrive. I've moved the contents of that backup to my normal harddrive. Now I'd like to ...
0
votes
1answer
11 views

Configure NFS server to accept connections from unpriviledged ports

I'm working on custom-made NFS client and would like for the purpose of testing to allow connecting to my server from the ports that don't require elevated privileges. I'm sure there was a way of ...
0
votes
0answers
36 views

running iperf over ssh

I'm trying to benchmark the network connection between 2 ubuntu servers on which I don't have root privileges. I did manage to download and start iperf-2.0.9 on both boxes. My problem is I can't ...
4
votes
2answers
471 views

Why does 'cat useradd' succeed in this case?

I have a fresh installation of CentOS. I created a user and added it to wheel group (to add it to sudoers list). I logged in with the credentials of new user. I then run the command cat useradd. ...
0
votes
2answers
34 views

Bash apt-get updater script via desktop laucher

I have a basic apt-get updater script that I am able to launch as root on GNOME3 via the main menu (alacarte). I'd like to be able to launch this script by double clicking via the desktop while signed ...
1
vote
1answer
37 views

Nmtui as non-root user Centos 7.1

Trying to run nmtui as a non-root user to edit network connections. As it stands I get a Unable to save connection: Insufficient privileges error. I've tried setting the USERCTL=no to USERCTL=yes ...
1
vote
1answer
73 views

Unclear on interaction between fstab auto and user options

I am confused about the interaction between the auto and user mount options in fstab. After mistakenly setting auto rather than noauto, I noticed that my mount would take place when a device was ...
3
votes
1answer
75 views

How do I set up busybox to allow a non-root user to set the date?

I have an embedded system built with busy box. I allow a user named "app" to download a program/script to a directory and it will be run on boot. The program should be allowed to set the date. It ...
3
votes
1answer
52 views

How to get number of opened file descriptors for user

I know about lsof and ls /proc/*/fd but none of them are atomic AFAIK. Because in the latter case I would need to get all pids for user and then filter by them and by that time some of the file ...
0
votes
0answers
17 views

Creating an user to access a specific director with just exec permission in Redhat

I am trying to create an user that I can access an specific folder and give this user just the execute access to a .sh script into REDHAT So I've created the user and set that user to the folder but ...
0
votes
0answers
51 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
5answers
88 views

How to install dos2unix on Linux without root access?

$uname -a Linux vm-** 2.6.32-573.8.1.el6.x86_64 #1 SMP Fri Sep 25 19:24:22 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux I downloaded dos2unix-7.3.3-win32.zip and unzipped it. Under bin folder from the ...
5
votes
1answer
313 views

How can a poor old non-root user get the core dumps systemd ate?

As we know, with systemd, core dumps don't just get written to the current directory but to some obscure journal. Now, I'm a poor old non-root user on some machine, and - I want my core dumps! I can't ...
3
votes
2answers
54 views

Bash completion for user without access to /etc

I'm using a Chromebook (with a developer mode enabled), and as someone of you may know, there is no write access to the system directories (including /etc/). I'd like to enable the bash-completion ...
1
vote
1answer
52 views

How to install something that reads from clipboard (like xclip or xsel) without using sudo?

I want to install xclip or xsel to a Linux box without using sudo (because its the box is not mine and I am not allowed to sudo). However, I am allowed to use environments or package managers like ...
1
vote
0answers
29 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
1answer
56 views

Changing Shell to /bin/bash without root access via file [duplicate]

lets assume I am user(with no rights) and I need to change my shell as a default to /bin/bash by editing a file. So where I can find a file for a specific user where I can edit my default shell and ...
0
votes
0answers
36 views

Install Docker packages for non-root users to user home

I have access to Grid5000 and would like to use Docker containers on it. Tutorial says, that users should install the tools in the user's home and add the user's home to the PATH environment variable. ...
1
vote
3answers
206 views

How come root can do this, but sudo can't? [duplicate]

I am set up as a sudoer on my Debian machine, and I use it all the time to install software etc... I came across this interesting situation that I am scratching my head about: I tried to enable the ...
1
vote
1answer
16 views

/usr/bin/kde-print-queue requires sudo rights - how to let normal use pause printer?

I need to let a user without general sudo rights pause and unpause a printer. The command is: /usr/bin/kde-print-queue HP_Printer1 However, the problem is shown here: "HP_Printer1" NOT ...
2
votes
2answers
41 views

Can I set my core file location without being root?

It seems strange that I need to be root in order to say "place cores in my current directory" (via cat whatever /proc/sys/kernel/core_pattern). Isn't there any user-specific override for this?
0
votes
2answers
269 views

Does a user have permissions to write outside /home/userDir?

Does a normal* user have permissions to write anywhere else than his own home dir? (no sudo and those privilege escalation tools) I say normal because I do not know more categories than root and ...
0
votes
1answer
28 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
50 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
85 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
98 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 gnome-disk-...
3
votes
1answer
23 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
936 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
205 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
42 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
174 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
89 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
80 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
1answer
120 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
22 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
97 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
209 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
1k 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
30 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 ...
3
votes
2answers
2k 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
134 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
113 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
215 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
290 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
358 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
56 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
58 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 ...
1
vote
2answers
362 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
59 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:/$