Questions related to the sudo command that allows users to run programs with the privileges of a different user (normally the root user).

learn more… | top users | synonyms (1)

0
votes
1answer
77 views

Why the PHP software is not getting updated to the latest stable released version?

I'm using LAMP on my local machine which runs Ubuntu 12.04. Currently I'm using PHP 5.5.20 on my machine. Following is the command I run from the terminal and below that is the output: ~$ php -v ...
0
votes
0answers
53 views

How to install applications through a standard user account with blank password

In standard user account with no password specified, I want to use apt-get which subsequently requires the password of the current account. (I have the administrator password): user@System:~$ sudo ...
0
votes
0answers
31 views

Error message while using Sudo [duplicate]

I've got error message at my terminal. Whenever i am using sudo command, my terminal is showing: no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
1
vote
1answer
60 views

How to install programs into user directory without sudo

I mean how to install programs from repos into the user directory without sudo? There are two ways (and even more) of installing software: from repos and from the software developer's website ...
0
votes
1answer
67 views

How do I switch back to Windows 8?

Okay so I am taking an online course to learn Linux and Ubuntu. On my desktop that has windows 8.1, I downloaded Ubuntu and then watched a couple of videos to make sure that I partitioned the drive ...
0
votes
0answers
38 views

Downloading KDM Theme in Kubuntu 14.04

Kubuntu blocks KDM from accessing downloaded login screens without "sudo systemsettings" root privilege command in terminal, how do I make a permanent root privilege for kdm? I know in Ubuntu this is ...
1
vote
1answer
82 views

SU setgid: PERMISSION DENIED, SUDO: PERM_ROOT 0, -1, 1 PERMISSION DENIED

Hi I have a problem that I cannot solve. I cannot log into root, su, or sudo. Everything works fine via ssh so I tried on ssh via putty: Set root password: sudo passwd Add user to sudo/admin ...
0
votes
1answer
34 views

Where does my installed file reside

When I do sudo apt-get install openvpn ... it does not install the file rather it downloads a file and stores some where . Now how can I find where the file has reside.
0
votes
0answers
14 views

“sudo do-release-upgrade” or “do-release-upgrade”? [duplicate]

I see to upgrade Ubuntu to a new release version that I have to do do-release-upgrade which checks for the new version and allows me to upgrade. But would it not be better to do sudo ...
0
votes
0answers
35 views

Software Center crashes every time, even after reinstallation

So my Ubuntu Software Center has been crashing every time I run it. I've tried many attempts to remove it and reinstall it using sudo apt-get, but I have had no success getting it to work. I've even ...
0
votes
1answer
37 views

Is it good practice to run applications with sudo?

For example, I am using Spotify for linux. Wouldn't I need to run it in sudo so that it can write its song cache to my file system? Also, if you run a program from the launcher, does it get sudo by ...
0
votes
1answer
38 views

GUFW from desktop icon

I am trying to launch gufw from an icon on my desktop. Now gufw requires sudo to run. I found an application that did the same thing but for nautilus ...
0
votes
1answer
21 views

Sudo specific actions for specific directory

Ok what I want to do is use sudo, I want to give access to a user to run the command: ln -s /source/location /destination/location and only the above command with that location I don't want to ...
0
votes
2answers
120 views

Error in sudo apt-get remove -f

I have installed kernel 3.18.2 with Cinnamon on Ubuntu 14.04.1: john@john-G31M-S2C:~$ sudo apt-get remove -f [sudo] password for john: Reading package lists... Done Building dependency tree ...
0
votes
1answer
35 views

Any program that use Java needs to be run under sudo?

I have installed a program that needs Java and I've changed to different Java runtime (Oracle). Now every use of java needs to be run from the terminal under sudo. I needs to make it to use Java ...
1
vote
1answer
41 views

Slow sudo and ssmtp (hosts file problem)

I'm running an Ubuntu Server 12.04.5 LTS and when I type sudo su it takes 30+ seconds to open the shell. Searching on internet, this problem seems related to the file /etc/hosts and /etc/hostname. ...
1
vote
1answer
84 views

How to install TREE in command line?

How do I install TREE via apt-get in Terminal? I have been trying to do apt-get update tree but nothing seems to happen. Is it necessary to include sudo in the command?
0
votes
1answer
270 views

Update alternatives java for all users

I'm using ubuntu 14.04 with multiple java versions on it. I'm trying to change the current java version for my user with: sudo update-alternatives --config java sudo update-alternatives ...
0
votes
2answers
47 views

No longer a part of sudoers list after adding docker

I naively ran a few commands with sudo while trying to get docker working on my machine. Now upon trying sudo, I get this error: dorsatum is not in the sudoers file. This incident will be reported. ...
0
votes
0answers
13 views

Ubuntu 11.04 unable to boot after apt-get update and apt-get upgrade and can't enter the recovery mode [duplicate]

This happened yesterday, I run the sudo apt-get update and run the sudo apt-get upgrade. After that instance, I saw the error that says, the user is not in the sudoers file. This incident will be ...
0
votes
0answers
34 views

Can't use sudo; permission is denied

The /usr directory permissions are drwxrwxr-- and I cannot use sudo command, because permission is denied. What are my options?
-2
votes
1answer
33 views

i wanna install Intel Compiler. But sudo command does not work

I write the command like this sudo ./install.sh But ubuntu says sudo: ./install.sh: command not found How can I install this program?
0
votes
1answer
36 views

Scheduling shutdown in layman's terms

I'm trying to schedule a shutdown for 10:30pm (22:30) each evening. I am fairly new to Ubuntu. In Windows 7, this was an extremely easy task. Apparently in Ubuntu this is a rather complicated task. ...
1
vote
1answer
54 views

Can not excute commands with sudo

I forgot Ubuntu user password, after referring articles on how to reset user password, I could reset the password for the user. passwd menuka from the recovery mode. However, I tried the new password ...
1
vote
1answer
42 views

How to start IPython with sudo

How do I start IPython using sudo? So e.g. when I do sudo optirun ipython it says [40475.566816] [ERROR]Error running "ipython": No such file or directory I know it sounds a bit crazy but I'm ...
1
vote
2answers
133 views

`sudo chmod +x *` caused me cannot open anything

Today I used sudo chmod +x * -R in my $HOME folder, actually I didn't want to use it in $HOME folder, it was an accident. Afterthat I tried to use sudo chmod -x * to fix it. But now, I couldn't open ...
1
vote
0answers
169 views

Sudo apt-get update not working probelm with mono-xamarin

When I run sudo apt-get update I get the error: E: Malformed line 4 in source list /etc/apt/sources.list.d/mono-xamarin.list (type) E: The list of sources could not be read Does anyone know how to ...
1
vote
1answer
131 views

“cannot open display: :0” error when using sudo with any GTK app

I want to run gmsartcontrol (UI tool for smartctl) which needs to be run as root in order to access the drives and read their SMART status. However doing this: sudo gmsartcontrol I get this ...
1
vote
1answer
367 views

E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-xamarin.list

I don't know what caused the following to happen: The content of /etc/apt/sources-list.d/mono-xamarin.list is sudo apt-get update.
3
votes
0answers
41 views

chmod -R 777 /etc, I have no name! [duplicate]

I really screwed up and did sudo chmod -R 777 /etc After searching for hours for an answer I eventually booted into recovery mode and did: mount -o rw,remount / # because the file-system was ...
0
votes
0answers
60 views

ubuntu 12.04 booting freezing on “Booting system without full network configuration…”

I have Asus laptop with Ubuntu 12.04 on it, the problem start after I change the permission of /etc which result that I can't execute the sudo commands when I tried to change the permission I got this ...
0
votes
0answers
27 views

sudo password 14.04 after some maintenance

After an update and using system janitor I no longer have syncing password for sudo. initial ubuntu login works but screen lock password for admin account no longer provide sudo in terminal, system ...
0
votes
0answers
25 views

Cant install program from ubuntu software center-it says“check your internet connnection!failed to download repository information” [duplicate]

says..404 not found W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe when enered sudo apt-get update
0
votes
2answers
120 views

GTK apps not respecting Kubuntu's oxygen-gtk theme when executed as sudo

I am using Kubuntu 14.10 and it's working quite well so far, but my problem is pretty much what it's stated in the title, when executing a GTK app that requires sudo privileges, such as Synaptic ...
0
votes
1answer
29 views

LightDM does not ask for login password

I have an auto-logged in non-sudo user called "screen". I have a passwordless sudo but login-protected user called "support". I'm pretty sure this was working fine before, somehow maybe the latest ...
1
vote
0answers
36 views

Cannot go into Root

When I enter sudo su or sudo -i in terminal on Ubuntu 12.04, I cannot become superuser. When I enter the password nothing happens. Its like: user@host~: sudo -i enter passwd: ****** user@host~: ...
0
votes
1answer
15 views

Lazy right management for package installation

You can install a package (here package), by running sudo apt-get install package Some installation scripts written in bash perform such actions and require the user to enter the password every ...
0
votes
0answers
12 views

How to re-enable the only admin

I have one account on my Ubuntu and it's the admin but I accidentally disabled it. How do I un-disable it?
0
votes
2answers
90 views

Shall I delete this line in sources.list?

This line deb-src-src http://us.archive.ubuntu.com/ubuntu/ utopic main restricted, Line 63, in sources.list is not known on sudo apt-get update and is causing Synaptic Package Manager and Ubuntu ...
0
votes
0answers
40 views

What is this fprint log doing when I sudo?

A while ago I was trying to get my fingerprint reader to work, compiling an experimental version of fprint. Since then, every time I sudo, in stead of asking for my password I get an fprint log. ...
0
votes
1answer
15 views

Start an appli with sheduled task not work

I have a seedbox unders a ubuntu desktop server. I run rtorrent correctly but if I restart the server I need to relaunch rtorrent with this command : sudo -i #mypassword" screen -fa -d -m rtorrent ...
0
votes
1answer
41 views

Permissions of a new User changed mine

I have a pc which is running Linux Ubuntu 14.04 and few weeks ago a colleague of mine added him to the pc and since then I can do sudo something but I can't perform certain actions like: installing ...
1
vote
1answer
26 views

How to get the long 'less' prompt with sudo?

I have added the following to my user's .bashrc file to get a longer prompt in less: export LESS="-M" This is added to the root user's .bashrc file as well, so when I sudo bash to get a root shell, ...
0
votes
0answers
32 views

'sudo' is not known after moonlight install

yesterday I tried install moonlight (silverlight) and something going wrong. Now i have problem with update and Ubuntu software center. E: Typ "sudo" is not known in line 1 list sources ...
0
votes
2answers
56 views

Simple question on sudo su -

What is wrong with the following? [cloudera@localhost zookeeper]$ sudo su - zookeeper [cloudera@localhost zookeeper]$ whoami cloudera In response to one of the comments: [cloudera@localhost ...
0
votes
0answers
28 views

Correct permissions or undo a command [duplicate]

I will start this question with I'm a noob and I broke linux. Probably shouldn't have ran the command I did but now I cannot use sudo for anything not sure how to undo fix what I did. The command I ...
2
votes
1answer
116 views

Run script with arguments as sudo without being asked for password

I have two programs in Java that I'm calling from bash script: java program1 arg ... arg sudo java program2 arg ... arg I want to run program2 as sudo without being asked for password. I'm aware of ...
0
votes
1answer
83 views

sudo error permission denied

I have started few days ago with Ubuntu Server and I've got a weird error: ubuntu@ubuntu: $ sudo -s sudo: /var/lib/sudo/ubuntu/ is accessible in write mode from not-owner (040777), should have ...
0
votes
4answers
178 views

Undo sudo rm -R /*

I stupidly ran sudo rm /* followed by sudo rm -R /* My sites still run, although the vast majority of commands like ls are now broken. Is there a simple way to get data off the server or reverse ...
0
votes
0answers
206 views

unable to resolve host address in ubuntu 14.04 with sudo

im trying the following: wget https://pypi.python.org/simple/ and its working fine. But if try the same with sudo as follows, its giving me an error: sudo wget https://pypi.python.org/simple/ ...