Doing administration tasks without administrative privileges.

learn more… | top users | synonyms

0
votes
0answers
23 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 ...
6
votes
1answer
5k 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, ...
0
votes
0answers
34 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 ...
27
votes
3answers
51k views

How to install program locally without sudo privileges?

Assume I have ssh access to some Ubuntu server as user and I need some not system tools to be installed for convenience (mc, rtorrent, mcedit). I do not want to bother admins for these small programs. ...
1
vote
1answer
389 views

LAMP Server setup for personal development

I am setting up a LAMP server in VirtualBox for personal development. This will be an Ubuntu Server 12.04 install, and I will be using Virtual Hosts for Drupal, Yii, and other small PHP apps. Ideally ...
4
votes
2answers
470 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. ...
3
votes
1answer
2k 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 ...
2
votes
4answers
3k views

Unpack, modify and pack initrd as a user

I've got a problem with rebuilding the initrd image as a user. Firstly, when I try to "unpack" the original initrd image: cpio -idm < initrd-base cpio: dev/tty8: Cannot mknod: Operation not ...
0
votes
2answers
33 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 ...
10
votes
3answers
6k 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
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
72 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 ...
6
votes
3answers
3k views

Logged on via ssh-key, can I reset my account password?

I am logged in on a server via sshkey (ssh -i /home/me/.ssh/ssh-key me@server). I got sudo rights on that server from the admin, but I can't exercise them, since I forgot my actual Unix password (or ...
26
votes
7answers
16k views

Can I create override dns similar to writing in /etc/hosts without root access

I want to set a dns record that my browser will use, but I don't have root access, so I can't modify /etc/hosts. I need to do this for testing vhosts with apache, whose dns hasn't yet been set up. I ...
1
vote
2answers
3k 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
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 ...
12
votes
2answers
18k views

How can I make this daemon/init run as a non root user?

I have an init script to kick off a daemon. The problem is it runs as root. I would like it to run as a user called "deploy". Ubuntu 12.04 #! /bin/sh # File: /etc/init.d/unicorn ### BEGIN INIT ...
3
votes
4answers
7k views

Allow paswordless user to change to another passwordless user

I have two users dev and tomcat neither of them have a password. How can I allow dev 1 do su - tomcat without having him having to enter any credentials? 1 connects with ssh keyfile
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
51 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 ...
1
vote
5answers
87 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 ...
7
votes
2answers
182 views

Does managing cgroups require root access?

I am trying to work with control groups on two different operating systems (Ubuntu and CentoOS). There are few concerns that I would like to ask. I am trying to create a control group using the ...
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 ...
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 ...
9
votes
9answers
15k views

How to get dmidecode information without root privileges?

I'm writing a program that displays various system information (on a CentOS system). For example, the processor type and speed (from /proc/cpuinfo), the last boot time (calculated from /proc/uptime), ...
3
votes
2answers
53 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 ...
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 ...
1
vote
1answer
50 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
35 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 ...
14
votes
6answers
36k views

Allow non-superusers to mount any filesystem

Is it possible to allow some particular users (e.g. members of a group) to mount any filesystem without superuser privileges on Linux? (Another question might have been "in what ways a user can harm ...
2
votes
3answers
2k views

How to set the default gcc version for only one user

I share a server (Ubuntu 11.04) with other people and I am the only one who has to use gcc 4-4 for my code, the rest is using 4.5. I already installed gcc 4.4 but how do I make it the default for me, ...
2
votes
1answer
2k views

Trouble installing lxml with custom install location for libxml2/libxslt

I am attempting to install a python module called lxml to my account on a supercomputer running RHEL. I do NOT have root access or super user status. lxml requires the dev/devel versions of libxml2 ...
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?
20
votes
2answers
9k views

Where should a local executable be placed?

I have an executable for the perforce version control client (p4). I can't place it in /opt/local because I don't have root privileges. Is there a standard location where it needs to be placed under $...
1
vote
0answers
31 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....
5
votes
3answers
59k views

How to properly configure sudoers file, on debian wheezy?

I have seen many blog posts that say, it is enough to do aptitude install sudo su root adduser USERNAME sudo But that only protects aptitude, in other words: aptitude install sendmail will ask ...
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-...
1
vote
2answers
187 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 ...
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 ~/? ...
4
votes
2answers
2k 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 ...