0
votes
0answers
29 views

Grant net_privaddr privileges on a AWS server

On a AWS Server, I need to grant the "net_privaddr" privilege to an user. I tried with this command: /usr/sbin/usermod -K defaultpriv=basic,net_privaddr USER But on the AWS server, the K option ...
0
votes
1answer
151 views

Binary in /usr/bin is invisible to user?

Situation On a CentOS system, as root user, which rsync gives me the following output: /usr/bin/rsync The permissions of that binary are as follows: -rwxr-xr-x 1 root root 415000 31. Okt 09:36 ...
7
votes
2answers
2k views

Allow non-root process to bind to port 80 and 443?

Is it possible to tune a kernel parameter to allow a userland program to bind to port 80 and 443? The reason I ask is I think its foolish to allow a privileged process to open a socket and listen. ...
0
votes
1answer
63 views

User privileges LDAP scheme

I needed to create a user (it's already created) in my LDAP schema and want to give privileges of reading/writing to that user like if they were the admin but just for a specific subtree. The thing ...
0
votes
0answers
51 views

Limit Linux Debian user privilleges

Hi I need to create user on Linux Debian that can only access /usr/src/xxx catalog and use screen command to run server. Could you help me with it? I would be really thankful. Have a nice day!
5
votes
3answers
2k views

Automatically execute bash script under the privileges of another user

Is there a way to execute a bash script under the privileges of another user (automatically)? I think "sudo" is the right way, but I don't know how to automate the process. E.g. I want to run ...
1
vote
2answers
3k views

How to automatically change permissions for files copied to a directory?

I would like to automate changing permissions for files copied to a directory. For example, any files copied to folder X should have mode 755, and any files copied to folder Y should have mode 700. ...
1
vote
3answers
111 views

Do all my programs have owner rights to all my files?

I'm worried about all my programs having full access to all my files. Eg: My user is 'john'. I install some program, say Dropbox. Dropbox runs as 'john'. Therefore it not only has full rights on its ...
0
votes
1answer
133 views

apache file requests and parsing

I have just run into an interesting situation at work that shot to hell my understanding of how apache2 executes php files. I was under the impression that apache2 would determine the correct file ...
1
vote
1answer
166 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
1k views

Using a custom lib path

I'm trying to build Android on a remote trough ssh. However, I was presented with the problem: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: ...
1
vote
2answers
2k views

How do I run a program installed by root as a non-root user?

I'm really a novice in Linux. I'm currently running an OpenSUSE version and I would like to run a program that was installed by root as a non root user. In other words, how do I configure the ...
6
votes
2answers
948 views

What is the correct way to prevent non-root users from issuing shutdowns or reboots

Let's say that you have set up a multi-seat system for use in a school or library, allowing GDM to launch multiple X sessions to run simultaneously with different users/keyboards/monitors. By default ...
1
vote
2answers
132 views

How to remove all privileges from a particular user

I need to create a user in Fedora Linux(15) which only has privileges to print documents. Our college issues a printer to each lab and I need to create a new user on my Fedora which only has ...
3
votes
2answers
7k views

Ubuntu: limiting user account only to access his home dir

I just created new user account, but the new user is able to access all the directories structure (including other's home directories). I'd like to limit the user to access ONLY his home directory ...
0
votes
1answer
229 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
294 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
218 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 ...
2
votes
2answers
334 views

List Partitions in Linux without privileges

Just out of curiosity, is it possible to list partitions in Linux without being root or using sudo?
1
vote
1answer
92 views

Linux file privileges

How can I check and set who can view or open a given folder or file?
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 ...
10
votes
3answers
6k views

Change EUID of running process

On Linux, how can I change EUID of running process from command line (provided I have root access)?