Doing administration tasks without administrative privileges.

learn more… | top users | synonyms

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) ...
2
votes
1answer
1k 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
252 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
1k 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
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
284 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
87 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
93 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 ...
13
votes
3answers
18k 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. ...
8
votes
1answer
3k 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
333 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
247 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
757 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 ...
14
votes
2answers
15k 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
1k 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
87 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
220 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
294 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
140 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 ...
5
votes
4answers
6k views

Apt-get autocompletion

I am currently running 64-bit Debian Wheezy. I am having some trouble with auto completion for apt-get. I have bash-completion installed. If I am logged in as root in a shell, I can use auto ...
5
votes
1answer
245 views

suid-root doesn't have effect

A program from apue. #include "apue.h" #include <fcntl.h> int main(int argc, char *argv[]) { if(argc!=2) err_quit("usage: a.out <pathname>"); if(access(argv[1], ...
3
votes
3answers
1k views

Shutting down from X without a desktop environment

I have recently given up my Desktop Environment and am now only using a Window Manager (i3) and X. It all works very well and I do not miss much. Except for one thing: the shutdown button. I can now ...
22
votes
3answers
15k views

Why can't a normal user `chown` a file?

Why is the chown command root-only? Why can't non-root users use chown to give away files they own?
5
votes
3answers
2k 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 ...
4
votes
1answer
494 views

Is it possible to have X parse a per-user configuration file?

I am thinking that many of the options that one has to write in the traditional system Xorg.conf file, have to do with user preferences and thus should not IMHO be set by system administrators. In ...
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), ...
2
votes
2answers
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, ...
3
votes
2answers
4k views

Don't require root to add printers

When a user wants to add a new printer it's asking for a root password. I have an LTSP environment and the system is asking for a root password all the time; it's not asking even for a sudo'ed user's ...
10
votes
1answer
2k views

Is it possible to run a webdav fuse client with no root access?

I have seen examples showing how to use davfs2 under linux, but each has involved one of these things: Running mount as root Adding an entry to /etc/fstab Running mount.davfs setuid, which, alas, ...
5
votes
4answers
525 views

Can I have my own version control system?

In the linux/unix machine I am using, I am just a normal user. However, I want a version control system to manage my files to prevent accidental delete/rename/lost/modification. Obviously I don't have ...
1
vote
1answer
2k views

Are there any better/safer methods to launch the OpenVPN client as a normal user?

I'm trying to connect to an OpenVPN server. It works perfectly when I use root to give out the commands to connect: openvpn /etc/openvpn/client.conf but with a normal user I get this error messages ...
3
votes
3answers
2k views

Unable to mount NTFS partition from user account

I'm trying to mount a Windows ntfs partition on openSuse 11.4. When I mount it using the root account (either directly or via sudo) it mounts without problems. But when I try mounting it without any ...
4
votes
2answers
615 views

Permanently switching to zsh in a script, without being root and without being asked for the password

Is there any way to run chsh -s /bin/zsh without being root and without being asked for the password? I want to put it into a non-interactive script that isn't called by root.
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 ...
10
votes
3answers
12k views

Installing a .deb package in home directory

Is it possible to install a .deb package completely under my home directory at debian?
1
vote
1answer
2k views

Disable Address space layout randomization (ASLR) for my processes

I want to run some programs in Linux where I want to disable Address Space Layout Randomization (ASLR). I know to disable it at system level, which is by setting /proc/sys/kernel/randomize_va_space to ...
6
votes
3answers
392 views

How can I build and install PL/R as a non-privileged user?

There is a postgres instance, and I have the ability to build my own instance. Using these instructions I ran: USE_PGXS=1 make which worked but then USE_PGXS=1 make install did not, with this ...
6
votes
3answers
10k views

Read/Write to a Serial Port Without Root?

I'm writing an application to read/write to/from a serial port in Fedora14, and it works great when I run it as root. But when I run it as a normal user I'm unable to obtain the privileges required to ...
6
votes
1answer
2k views

Do I need root (admin) permissions to run userspace 'perf' tool? (perf events are enabled in Linux kernel)

Do I need to have to run perf userspace tool as system administrator (root), or can I run it (or at least some subcommands) as an ordinary user?
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 ...
5
votes
1answer
678 views

Installing Gentoo packages as an ordinary user (non-root)

Is it possible to install Gentoo packages (ebuild-enabled programs, programs with support for portage) as an ordinary user (non-root) to one's own home directory (--prefix=$HOME or sth. like that)?
2
votes
1answer
553 views

How to execute udhcpc as non-root

On a Linux machine, I am trying to run the udhcpc command as non-root. I am getting the error udhcpc: socket: Operation not permitted. Is there any way to execute udhcpc as a simple user in Linux?
53
votes
6answers
20k views

Can I create a user-specific hosts file to complement /etc/hosts?

Is it possible to add a list of hosts that are only specific to a certain user? Perhaps a user-specific hosts file? This mechanism should also complement the entries in the /etc/hosts file.
3
votes
1answer
162 views

I shouldn't use root on my new ubuntu cloud instance, right?

I am playing with ubuntu on my new Rackspace cloud instance. However, the information they give me is for root access -- that doesn't seem like a best practice for doing development on this thing. ...
12
votes
1answer
12k views

Installing Chrome on Linux without needing to be root

How can I install Chrome on Linux without needing to log in as root? Note that I want to use Chrome, not Chromium. If I go to the official download page, I get the choice between: Please select ...
19
votes
6answers
10k 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 ...