1
vote
1answer
68 views

How do I tell if zsh is running with privileges?

In my .zshrc, I have commands that launch instances of various program, like Mozilla Firefox and Evolution. I obviously do not want to launch them as root so I want to check whether I am root before I ...
0
votes
2answers
115 views

Check If a script is executed as root?

I have a script that requires root privileges. I have to execute it either via sudo or from an account with uid 0 (e.g. root). If the script is not executed with sufficient rights then I want that ...
1
vote
1answer
368 views

Making upstart job redirect output as unprivileged user

I am currently making an upstart job run as an unprivileged user like so: start on started mongodb stop on runlevel [06] respawn respawn limit 10 100 env NODE_ENV=production pre-start script ...
1
vote
1answer
163 views

su - for some users

in a linux system with su - any user (with root password) can get root privileges. how I can restrict to some users ? // similar to AllowUsers in sshd_config
0
votes
1answer
221 views

Ubuntu root privs installation issue

I am a fairly new Ubuntu user (and Linux user, for that matter) and I just downloaded a program whose installer was a .sh file. Not thinking, I copied the installer to an /opt subdirectory, thinking ...
1
vote
1answer
282 views

Is it possible to limit a root process?

I am thinking about is that possible in any way (hardware of software) to limit a root process from accessing certain resource? I know maybe there is no existing solution, but how about a super root ...
1
vote
1answer
184 views

Sharing configuration (.*rc files) between a normal user account and root

On a Fedora Core box, I have a normal non-privileged user and I also have sole access to the root account. Because I am the only administrator of this box, I frequently su over to root for ...
12
votes
3answers
11k views

How can I install DropBox without root privileges?

Is it possible to install Dropbox without root privileges in Linux? I've tried to install it at my university, using the sources found here, but I seem to need to enter the root password (which of ...