Doing administration tasks without administrative privileges.

learn more… | top users | synonyms

3
votes
2answers
85 views

How can a user restrict their own group rights without being root?

How can I change my user rights from rwx to r-x at the group level? I'm trying to ensure that I cannot touch any data belonging to other users when I am developing and debugging my scripts. Once I've ...
3
votes
1answer
284 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 ...
2
votes
1answer
725 views

How to achieve the effect of chroot in userspace in Linux (without being root)?

The goal is to install and run programs in a displaced (relocated) distro (whose / must not coincide with the global /) inside a host Linux system. The programs are not adapted for using a different / ...
2
votes
1answer
214 views

How to set up a script to run as root non-interactively?

I need to set up the following script to run as root whenever I log in: #!/bin/zsh truncate -s 0 ~yourstruly/.juniper_networks/network_connect/ncsvc.log I know how to run the script as root ...
1
vote
2answers
1k views

Redhat: non-root user needs to copy files to a NFS share

Typically non-root users cannot mount directories. Running Redhat Have 6GB tar.gz (/dir/somefile.tar.gz) Need to move to a NFS share on another box (//somebox/somefolder/) We have no other access. ...
3
votes
3answers
349 views

Where are userspace programs supposed to save their logs?

I am writing a script that I want to run without privileges. I want the errors that the script encounters to be logged to some log file. I do not not have privileges to write one to /var/log. And I do ...
4
votes
2answers
372 views

Installing gcc without root?

I'm running OSX, and I don't have root, or an existing compiler. Is there any way I can install gcc? Are there official or trusted unofficial mach-o binaries that can be downloaded for a certain ...
2
votes
1answer
58 views

How might I detect memory errors if I do not have root or physical access to a Linux system?

The background to my question is as follows. I currently rent a virtual private server from a major hosting company, which I use to run a minecraft server. I have a suspicion that there may be bad ...
0
votes
1answer
250 views

Single-user binary installation location?

I'd like to install a binary for only my user, because I don't have root, and therefore don't have access to /usr/bin. I've tried ~/bin, and it can't find the binary. I'm on Mac OS 10.6.7. Is there ...
3
votes
1answer
561 views

update-alternatives just for one user

I'm using a shared server. On that server different versions of Java are installed: Selection Path Priority Status ...
1
vote
1answer
295 views

Block Internet Connection through Terminal on OSX

Even though I don't have administrative privileges, can I block Internet connection on my Mac OS 10.8 machine, through the terminal? I want to do this because I am too lazy to disconnect ethernet ...
2
votes
1answer
121 views

Compile a program without sudo access

I am connected to a linux system with SSH in my college. I found that ctorrent is a console alternative of bitorrent. I have downloaded the tar.gz source but to compile/install it needs sudo access ...
2
votes
1answer
573 views

dhclient for normal (non-root) users

Calling dhclient as root works beautifully on my debian machine. However, I would like to allow some users to execute dhclient, too. So far, I have tried these two examples: Example 1: When a normal ...
0
votes
2answers
81 views

Is there any way of prompt a message when a command in /usr/sbin/ is tried to run as nonroot?

In most Linux distros I've used when you type for example ifconfig as a normal user, you get a prompt message telling you that only root can execute such command. In Debian, it only says command not ...
1
vote
1answer
103 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 ...
6
votes
1answer
3k 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 ...
1
vote
2answers
857 views

Get a list of users with access to the host

I tried to go into /home and list all the subdirectories but it seems that all dirs that are not mine are hidden. I also tried cat /etc/passwd but that didn't list my very own ID I was logged in ...
4
votes
2answers
257 views

manage unix user settings across multiple machines

I have many different linux machines with similar "profiles". I want to keep my settings in sync. e.g vimrc, zshrc,. I have the problem that they are various distributions of Linux with various setups ...
5
votes
2answers
7k 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 \ ...
4
votes
1answer
290 views

Completely disable GNOME for my user in Ubuntu

At the office we've been issued laptops with Ubuntu pre-installed. Unity is of course the OS default, but KDE is available. I prefer KDE and so have set KDM and KDE as my defaults. However some GNOME ...
4
votes
2answers
1k views

Using startx on Fedora 17, a non-root user cannot join new wireless networks — how to fix?

I have Fedora 17 installed on a Lenovo X230, and if I leave it configured to boot into Gnome using systemd's runlevel5.target (or graphical.target), which is the default, networking seems to work just ...
0
votes
2answers
4k views

Avoid asking password if `su -m user command` is used under `user`?

If I run the script containing su -m user service userservice start under root user, I do not need to enter the password. But when I run it under user user, it asks passwords all the time. That really ...
1
vote
1answer
426 views

Trying to install fonts on Linux Mint Lisa, but it looks like I have a permissions or ownership problem

I downloaded the Source Code Pro family of fonts, but cannot install them via the Font Viewer. If I give myself admin powers, I can manually add them to the rest of the fonts, so I'm guessing it's a ...
2
votes
1answer
394 views

Being not admin user how to install local GCC instead of provided?

So I came into my classrom Debian is installed, and gcc 4.1. I want to install (compile from sources is an option - I have time..) for my self GCC 4.7 and adress it in bash as gcc anywhere. Is such ...
1
vote
1answer
359 views

Is there a light HTTP proxy I can run without root privileges?

I am on a network where outgoing port 8080 is blocked on most machines (i.e. I cannot access services on port 8080). Some of the machines on the network however do not have this restriction. I would ...
2
votes
4answers
2k 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
633 views

Installing Chrome on 64bit Gentoo without Superuser Access

For a bit of background, I am trying to install Chrome (or Chromium) on to a gentoo user account at my university. We are allowed to install software as we like, however we lack superuser access ...
3
votes
1answer
214 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
1answer
807 views

How to get list of available wireless networks without being root

I would like to get a list of all the wireless networks. iwlist wlan0 scan | grep ESSID This will only show me the wireless network I am currently connected to. When I run the command as root, it ...
6
votes
1answer
230 views

How do DE's call ACPI functions?

Okay, first off, this is not a problem I am facing, but I would like to understand this better. If I wish to shutdown / reboot my machine from the command line I need to call: $ sudo poweroff $ sudo ...
4
votes
2answers
937 views

umount an external ntfs drive as non-root

I have ntfs-3g installed, and use this udev rule to auto mount external drives automatically. When I try umount it as non-root, it says: umount: /media/umm is not in the fstab (and you are not root) ...
7
votes
2answers
5k 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
250 views

How should I go about setting up vim-pathogen plug-ins for a group as a user with no root permissions?

I do not have root permission on a linux cluster, but I would like to share my vim-plugins to all other members of a linux group using vim-pathogen. We have a group-accessible folder, so that's where ...
2
votes
1answer
81 views

'Distribution' to install in home directory (on older Linux) [duplicate]

Possible Duplicate: Non-Root Package Managers I'm stuck with a pretty old Linux distribution at work (Centos 5.4 from the end of 2009), and also don't have root access. If I want to use ...
2
votes
1answer
90 views

Running a program without the assistance of the system administrator

I have an rpm for a program called KDirStat that I would like to run on a machine where I am not the system administrator. My questions are: Can I install this rpm package without the assistance of ...
8
votes
2answers
13k 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. ...
6
votes
1answer
2k 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
1answer
1k views

exclude commands from user's sudo permissions

Consider the following line in a /etc/sudoers file: username ALL=(ALL) ALL, !/usr/bin/passwd as far as I know, this allows user username to use sudo, unless he not uses /usr/bin/passwd. But ...
3
votes
1answer
318 views

Route incoming network requests for a given port to different applications

I have an application that listens for connections on a port, but I occasionally take it down for updates and the like. I'd like a way to configure the system such that if that program is running, ...
5
votes
2answers
231 views

What is an effective method for installing up-to-date software on an out-dated production machine?

Apologies if this has been asked already, but I'm such a beginner, I'm not even able phrase a search query for this. Background My company uses a small out-dated cluster (CentOS 5.4) to do number ...
1
vote
3answers
670 views

How to disable password prompting for automatic updates on Red Hat

Basically, I have the opposite problem of this guy. I would like my updates to be installed in a transparent way : I'm tired of entering my password every time. I'm running on Red Hat (6.2 to be ...
2
votes
1answer
1k views

How do I restart apache as non-root (using a git-hook)?

For one specific user I want to be able to restart Apache. This user does have sudo privileges and I could run sudo /etc/init.d/apache2 reload, but I want to include this restart script in a git ...
12
votes
2answers
12k views

How to create a user with limited RAM usage?

So I have 4 GB RAM + 4GB swap. I want to create a user with limited ram and swap: 3 GB RAM and 1 GB swap. Is such thing possible? Is it possible to start applications with limited RAM and swap ...
4
votes
2answers
826 views

Admin user not showing directory path in console prompt, only $

I have an Ubuntu server that I administer through ssh. When I login as root I get a full path in the prompt, like /var/www. I created a user with sudo privileges for the purpose of administration. ...
1
vote
1answer
83 views

Allowing user access to mailman python files from root?

I just got my first managed VPS, and am taking a crash course in administering users. I normally do most things on my local computer as root. It is running centos-5-x86_64. What I'm trying to do is ...
2
votes
5answers
215 views

Protect application files in from access by the same user

I want to know if it's possible for an application to create files accessible only from the application itself. Problem is that I don't have root access. For example, if I run the application as ...
2
votes
5answers
2k views

Create new linux account as a user without root access

Is it possible to create a non-root Linux user account without being logged in as a root user and without using sudo?
5
votes
3answers
275 views

Preventing binary planting attacks in Linux

If a user account on a Linux machine is compromised, clearly, all files owned by that user are compromised. Unfortunately, if the compromised user also has sudo privileges, it seems that binary ...
2
votes
1answer
135 views

Installing software as user

I need to install some software as user on a machine where I don't have root access. So far I've been using gentoo-prefix, but ain't really fine with it: I need GCC 4.6 and gentoo only ships 4.5, I ...
3
votes
2answers
1k views

Installation on debian 5 32-bit without being a root

I am new to Linux and I am trying to install Skype and Google Chrome on my desktop. It runs Debian 5 32-bit. I downloaded the packages from the web but I have no idea how to install them. I have ...