Doing administration tasks without administrative privileges.

learn more… | top users | synonyms

1
vote
1answer
523 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 ...
6
votes
6answers
4k views

Install virtual machine as non-root?

Is it possible to install any virtual machine software as non-root user and run it ? Which VM's are possible to be installed with out need of root access ? If it is not possible what would be the ...
7
votes
2answers
6k views

Samba mount with password prompt as non-root user

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 ...
-2
votes
1answer
34 views

How to add StartUp application in Arch Linux [closed]

I am using Arch Linux, I want to add a start-up program in Arch Linux. How to add start-up program which will execute after login after every boot ? Note: I am not system administrator, I am just a ...
2
votes
1answer
29 views

Get commands a user can run from /etc/sudoers?

I need a shell (ksh) script that can be executed locally on a box that will return a list of users who have sudo access to a server and what commands they can run. For example I want to know that ...
0
votes
1answer
47 views

Right way of creating a local filesystem hierarchy within /home [duplicate]

I am an user with no superuser rights. I normally build and install the tools I need within my /home/<user> directory, and then create aliases to be able to run my programs. However, this is ...
13
votes
3answers
19k 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
0answers
13 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 ...
3
votes
1answer
352 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 ...
3
votes
1answer
57 views

Alternative to iotop for non-root user without sudo privileges

I'm looking for an alternative to iotop. Here's my situation: I want to find out if a program is accessing the hard drive a lot while running. iotop requires root/sudo privileges. My account is on ...
0
votes
0answers
64 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 ...
2
votes
1answer
93 views

Mounting and unmounting USB storage from the command line

I have a backup script which mounts and unmounts a USB harddrive. In Ubuntu I used the command udisksctl but it is not included in the Debian 7.7 repository. Is there a similar command in Debian to ...
10
votes
3answers
13k views

Installing a .deb package in home directory

Is it possible to install a .deb package completely under my home directory at debian?
28
votes
8answers
6k views

Non-Root Package Managers

From my research, I seem to notice that all package managers insist on being used as a privileged user and must be installed into /. Typically, what I like to do is create a throwaway account, ...
4
votes
2answers
950 views

Bluetooth LE scan as non root?

To perform a scan for bluetooth LE devices hcitool apparently requires root privileges. For normal users the output is following: $ hcitool lescan Set scan parameters failed: Operation not permitted ...
1
vote
2answers
22k 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 ...
2
votes
1answer
600 views

Call sudo from Jenkins

I have one build machine which has a user abc which is has limited sudo access. When I check out the source code and run my build script, it works fine. The build script contains sudo calls for which ...
4
votes
1answer
73 views

How can I start a 'screen' session as non-root user

Is there a way I can open a new 'screen' session on my RHEL box as a non-root user? When I try to open a new screen using the 'screen' command as a non-root user, it fails and I get the following ...
0
votes
0answers
36 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 ...
1
vote
2answers
99 views

how can I create a KVM guest 100% as a non root user?

In a debian host with many users, I want to allow different users to create their own VMs, completely independent of each other. The closest relevant (non-root) way I have seen in guides is by ...
0
votes
2answers
149 views

How to run screen as non-root user in CentOS 5

I've followed this guide http://centoshelp.org/resources/scripts-tools/a-basic-understanding-of-screen-on-centos/ Now, seems like I am having trouble running screen with non-root user, because ...
6
votes
3answers
13k views

Creating an user without a password

I'm trying to create user without password like this: sudo adduser \ --system \ --shell /bin/bash \ --gecos ‘User for managing of git version control’ \ --group \ --disabled-password \ ...
2
votes
1answer
81 views

How can I configure `anybody` to run X in a one-liner?

The common solution posted is to run sudo dpkg-reconfigure x11-common which gives a graphical prompt, however, I'm wanting to use this non-interactively. Scenario is that I'm SSH'd into a machine as ...
5
votes
7answers
8k 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), ...
0
votes
0answers
23 views

Proper way to deploy my service on linux

I have a service that I wish to deploy on a Linux server. The service will be in the form of a number of executables that are started and stopped like a service using upstart of similar. Also, the ...
3
votes
6answers
90 views

Use a shell not installed on remote machine

Given the scenario: Remote machine: SSH server; user does not have admin privileges; Local machine: SSH client; user has admin privileges. If user, logging in to remote from local, wishes to ...
1
vote
0answers
25 views

How to customize Linux without sudo/root access? [duplicate]

I'm a newbie in Linux but I love it for its customization potential and want to use it as much as possible. In my company I do not have sudo or root access to the Linux server but I still want to ...
1
vote
2answers
154 views

How simulate a Windows like admin password prompt in Linux?

I use mint install application a lot but don't think it is safe if I allow the normal user I use to have full privileges over it. I was wondering if there is a way to gain access to this application ...
2
votes
3answers
315 views

Install R in my own directory

How can I install a new version of R in my own directory, e.g., /local/data/project/behi.
2
votes
2answers
327 views

How to open a program as another user inside a logged display?

I'm trying to open netbeans as a different user, but isn't working. I'm running a Kubuntu 12.04 LTS with KDE. And I tried the following: Open a terminal, type su - myotheruser, type the myotheruser ...
1
vote
3answers
471 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 ...
2
votes
0answers
36 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 ...
0
votes
0answers
23 views

How do you adjust other user's job priority?

Let's say your coworker started a very intense process and went home. It's occupying most of the CPU resources, and you can't do your stuffs because of it. If it was your own process, you could run ...
0
votes
1answer
144 views

chown as non-root user [duplicate]

I tried to chown a file to root, that I own, But my machine says I'm not permitted. I've googled a bit and found a few topics that say chown is a root only command. But others say that's not true. Am ...
3
votes
1answer
530 views

How to determine if X server runs with root privileges

This is a one-liner: Is there a way/command to check if the X server is run as root or as user? This was supposed to be a one-liner but alas... I recently upgraded my Arch Linux box. After the ...
0
votes
1answer
247 views

Debian file's permissions for secondary's group of user

I am installing a proftpd server on a debian dedicated server, In order to be able to update some website files in this folder : /var/www/website I have added a new user : my-ftp-user This user's ...
6
votes
3answers
2k views

Can I allow a non-root user to log in when /etc/nologin exists?

Suppose a non-root user with sudo privileges executes a delayed shutdown (shutdown +10 or whatever) and logs out. Then, before the shutdown occurs, he wants to log back in and cancel the shutdown. The ...
0
votes
1answer
110 views

Cannot lock group file: already locked

I'm trying to add a group using this command: groupadd somegroup which returns: Cannot lock group file: already locked. I did some research and most of the solutions require removing a lock file ...
5
votes
1answer
296 views

No password to run command as root for fixed command? [duplicate]

Is it possible to define a rule in sudoers to allow one user to run one well defined command as root, without password or other authentication except being the right user? Are there alternatives to ...
3
votes
1answer
26 views

How to execute as the logged-in user in a sudo script (OSX)?

Is there a way to switch contexts like that? The script in my specific case is an installer postinstall script, which requires sudo privileges only for some of the tasks and requires the logged-in ...
1
vote
1answer
33 views

How can I start an application at start up as a different user?

I am trying to start an application in Linux at start up with a different user (like alpha). I want it to run it in the background and it has to be started with with parameters. One is a file system ...
15
votes
3answers
4k views

How to “jail” a process without being root?

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?
0
votes
1answer
183 views

Can I install libXcomposite.so without the root permission?

I got this error when I execute dropbox on CentOS. ImportError: libXcomposite.so.1: cannot open shared object file: No such file or directory I don't have a root account. Output of uname -a: ...
1
vote
1answer
100 views

How do I allow non-root access to Nexus 7 2013 LTE (deb) over adb and fastboot?

I need to access my Nexus 7 2013 LTE (deb) over adb and fastboot, but it seems that it's required to be root to be able to run the adb server to be able to access the device due to USB rules. How can ...
12
votes
2answers
177 views

How do I install syslinux/extlinux to a disk image file without requiring root privileges

I have built a home-grown Linux distribution, and I can make the complete disk image file as a non-root user with one exception -- installing the boot loader. I'm using syslinux (actually extlinux), ...
4
votes
1answer
97 views

Package management without the need of root permission

Am looking for a way to install packages in home folder. This thread suggests using apt-get source ./configure --prefix=$HOME However, it doesn't provide a way to manage dependencies like apt-get ...
1
vote
1answer
291 views

Runs monit as non-root user

I'm using Monit to monitor my nodejs process. Right now monit itself runs as the root user which may lead to security holes. How could I run monit via the 'monit' user? I installed monit by using ...
3
votes
1answer
618 views

How do I maintain a separate (newer) glibc / gcc / … stack as non-root on Linux

Our computation cluster runs a very old version of CentOS, with an old Kernel (2.6.18) and, of course, old libs and binaries. Because updating the whole thing requires a lot of work on all the nodes, ...
0
votes
1answer
94 views

Installing dependencies as a non root user [duplicate]

Can anyone please tell what are the steps to installing libxml2 on a server without root privileges? In a manner so it can be seen by other packages? I have installed it but do not know what is the ...
3
votes
1answer
232 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) ...