2
votes
3answers
95 views

Completely Messed up sudoers file and su Operations

I am in a really bad condition right now.I am jotting down the steps I did to get myself into this situation. My objective was to disable sudo on my machine. I am running Amazon Ec2 Ubuntu 12.04 I ...
0
votes
1answer
408 views

sudo: ruby: command not found after ssh

I'm working with ec2 instances and was trying to execute a ruby script on another instance after ssh to that instance. I have a ruby script which updates configuration files, so i need to run that ...
0
votes
1answer
136 views

Default sudo settings did not require password

This is for a 12.04 ec2 instance. In the man pages it says the default should be to require a password when using sudo. I thought by setting the ubuntu's account password (in case it wasn't set) ...
0
votes
2answers
3k views

How to give a new user permissions to call sudo without a prompt for sudo password?

I am setting up a server in Amazon EC2. I created an image from Amazon's provided images of Ubuntu x64 12 LTS. My goal is to set up a secure svn server there, where access is only possible by IP ...
1
vote
1answer
656 views

Amazon EC2 : Authentication Failure after error sudo: must be setuid root

I was trying to change permission on a folder in a Amazon EBS volume mounted on a Amazon EC2 running Ubuntu EC2. When I entered the command sudo chmod -R u+rw,go-rw /mnt/my-address I go the ...
3
votes
1answer
1k views

Permission denied on /dev/xvdf despite sudo?

I'm trying to get a stream off port 9999 and write to /dev/xvdf. I'm using Amazon EC2 with the Ubuntu 11.10 server image. By default I log in as 'ubuntu' which has sudo privileges. However, when I run ...