2
votes
4answers
110 views

program needs to be run as root by any user and can be located anywhere

I have some program called foo that needs root privileges when it executes. foo needs to be able to be run by any user and can be located at any path. The reason this program can be at any path is ...
6
votes
1answer
937 views

AWS - removing ec2-user from sudo list

I'm running a production-level Amazon ec2 instance, and I want to close out root privileges to all users. Normally, when one logs in to the instance as ec2-user, the ec2-user immediately gets sudo ...
2
votes
3answers
1k views

how to deny “sudo su”

I have several servers where some users require to be sudoers to work. The problem is that when sudoers can run the command sudo su and login as user root. It seems very risky to run that command. I ...
-1
votes
4answers
173 views

Linux /home privacy

Warrning: this is probably against Unix philosophy and desgin, but I will ask it anyway. Is there a way to achive privacy for three seperate /home/user folders? Problem which is rasing that ...
0
votes
3answers
827 views

Is it dangerous to allow every user to run nmap as root?

At our university we have some computers in the "networking lab", that are configured to allow everybody to run nmap as root via /etc/sudoers. Could this be a security vulnerability?
1
vote
5answers
2k views

ubuntu: runing .sh files as root

How do I run a .sh script with root privileges from Ubuntu's cmd? Some scripts require to enter the password. I watn to avoid this.