0
votes
2answers
57 views

What is sudo -i [duplicate]

What does this command? sudo -i? I'm not sure if I should have made a post with just this question, but since I'm a Linux newbie and I have a lot more questions and doubts, I decided to go ahead and ...
0
votes
0answers
164 views

Upgraded Server from 12.04 LTS to 14.04 LTS - lost sudoers

I am no longer able to control my server from the one user I have access to. When performing sudo commands, I am presented with the following error: USERNAMEHERE is not in the sudoers file. This ...
1
vote
1answer
358 views

Changed root password on my server, now can't login anymore

I decided to change the root password that came preset on a fresh DigitalOcean server (ubuntu 12.04). I used the first answer to this post: How to change root password in ubuntu? which is: sudo -i ...
2
votes
4answers
195 views

Access folders with sudo priviliges via Nautilius-Connect to remote server

I need to access the /var/logs folder & many such folders on my remote server from nautilus, using "Connect to server" via ssh. I avoid root logins & have disabled it. I would like to use sudo ...
0
votes
0answers
1k views

sudo: unable to change to sudoers gid: Operation not permitted

I installed Ubuntu server 12.04, then I installed ubuntu-desktop. After I installed the desktop interface. I was not able to login with to the administrator account. When I use su and put user/pwd it ...
0
votes
1answer
69 views

adding sudo permissions to NIS clienadding sudo permissions to NIS clients

I've configured a couple of ubuntu 12.04 servers with NFS and NIS like it was described in https://help.ubuntu.com/community/SettingUpNISHowTo and in ...
1
vote
1answer
736 views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
1
vote
1answer
304 views

Sudo does not recognize my password anymore

The problem is happening on a remote server, so everything is done through ssh. I can login with my key, no problem here. I can change my password at will with passwd (which I believe shows that it's ...
0
votes
2answers
152 views

How does command-not-found determines if user is administrator

I am administrator of two ubuntu servers. On one of them, when I try to run a command (for instance irb1.9.1) from a package that is not installed, I get the following message: The program 'irb1.9.1' ...
1
vote
1answer
4k views

Can't save files in /var/www using lamp installed with tasksel

I just installed lamp with tasksel and it works. But inside /var/www I can create files only with sudo from terminal, I don't know why. In another Ubuntu installation I didn't have such problem. I ...
2
votes
1answer
451 views

Why are my LDAP logins slow?

I have been running this server with LDAP for about 6 months. The logins have always been fast. However, starting this week logins are taking 1-2 minutes to complete. This include ssh, sudo su, and ...
0
votes
1answer
511 views

How to install vnc server so I can have complete control on my Ubuntu Server?

I installed ubuntu server 12.04. I installed gnome desktop on that (GUI essential for my purpose). Now I want to control the server remotely. I tried following things and not very successful : ...
0
votes
1answer
388 views

problem with PATH when using $su

OK, I'm having a bit of an issue with PATH and running a process as another user under Ubuntu. First, we check where the bin is: root@host:~# whereis start-stop-daemon start-stop-daemon: ...
0
votes
1answer
156 views

How can I run an autorun file as root with no gui

I set up a server using ubuntu with no gui. I need root for some tasks that I want to autorun on this server. Normally I would just use gksudo because autorun programs never seem to work with su or ...
3
votes
2answers
2k views

How to set root proxy settings via command line?

I am using fabric to deploy a project and have run into an issue: fabric does not currently (as far as I'm aware) have the ability to specify options to it sudo command, therefore I cannot use sudo ...
0
votes
3answers
115 views

apt-get upgrade says sudo needs to be upgraded, is this correct?

I have a Ubuntu Server running 10.04 - to be precise, Ubuntu 10.04.4 LTS according to lsb_release -a. I just ran sudo apt-get update and sudo apt-get upgrade and got this output: Reading package ...
1
vote
2answers
4k views

Cannot change permission for /var/www/ [duplicate]

Possible Duplicate: problems with sudo permissions - /var/lib/sudo owned by uid I recently installed Ubuntu Server and put the GUI on so I can get the hang of Linux. However, I can't seem ...
0
votes
1answer
245 views

sudo update stucks at connecting

I have an Ubuntu 12.04 LTS Server, and I want to install the GUI, which causes error everytime. but before installing the GUI, I want to run the update command: sudo apt-get update But I always get ...
3
votes
1answer
296 views

Can't reboot system using ssh

I am running Ubuntu Server 12.04 and I would like to reboot my system. I ssh into it fine, but when I run sudo reboot I get the following error -bash: /usr/bin/sudo: Input/output error. It is at this ...
2
votes
2answers
8k views

Ubuntu Live CD: How to switch user on LiveCD to “root”

I have created my customized live CD by following the instructions @ Ubuntu Forum Thread 688872 The Live CD gets created fine and it is able to bootup as well. I see my customized setting in place. ...
2
votes
1answer
56 views

Is it possible to run an application as superuser within boot without input?

I have an Ubuntu 12.04 Desktop machine running as a server with no input devices accessible after initial setup. I need to place any application that I want to run within the boot process. I have one ...
2
votes
1answer
609 views

Lost control of root account, Ubuntu Server 11.10

after I created a group, and put the root account in it, I lost control of it and now it's not root anymore. Also I can't login with "root". How can I revert this? Now there is no way I can use sudo ...
4
votes
2answers
4k views

Why does sudo not add root's PATH with Ubuntu 12.04?

I've recently upgraded my server to Ubuntu Server 12.04. Previously it was running 11.04. Ever since then I've been having trouble carrying out root user commands through sudo. An example of this ...
0
votes
1answer
223 views

Executing adb from php

I am trying to run adb from PHP using: exec( 'adb devices', $output, $return_val ); but I get 126 error. I think the problem is that php is running as 'www-data' user and does not have permissions ...
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 ...
2
votes
0answers
4k views

“no valid sudoers sources found, quitting” error, how to fix it? [duplicate]

Possible Duplicate: How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again at the time of running sudo command i got the following error: ...