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
10 views

Asks password when trying to install Boot-Repair

I'm trying to install Boot-Repair directly from Lubuntu, but after typing the line "sudo add-apt-repository ppa:yannubuntu/boot-repair" in the terminal (as suggested here: ...
0
votes
3answers
44 views

Shut down terminal sudo command

I would like to know which is the proper sudo terminal command to shutdown the computer gradually, saving everything, closing everything in the right order, and basically doing everything the computer ...
1
vote
2answers
429 views

Difference between `sudo su` and `sudo fish` [duplicate]

I am running fish (Friendly Interactive Shell) as my standard shell in Ubuntu 14.04, rather than bash. I noticed the following behaviour and don't know, if any of these are the preferred one to gain ...
0
votes
3answers
51 views

How to do “SUDO UPDATE and SUDO UPGRADE” without errors (NEWBIE) [duplicate]

Just check out the file attached to this link http://1drv.ms/1yQpeTH to understand the situation
-1
votes
1answer
25 views

Can I uninstall sudo in ubuntu 14.04 using Ubuntu Software Center

sudo command in my terminal gives error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set In the root shell prompt in recovery mode of grub, I am not able to type any command. ...
0
votes
1answer
19 views

How can I get a .sh file to run as Sudo in profile.d?

I have a .sh script that needs to run to check if a machine has had certain parameters set. I've placed it in the profile.d directory but I need this script to run with sudo privilege. Does anyone ...
0
votes
1answer
16 views

Software Updater not starting up

So my original problem was that I couldn't get the ubuntu software centre to startup, it would just freeze for a while loading and then would crash. So i tried to remove USC : Successfully When I ...
0
votes
0answers
41 views

Command “sudo” not found, unable to locate package “sudo”

So i just baught vps server Ubuntu 14.04.1 GNU/Linux. I tried to install graphical environment with command: sudo apt-get update it said: -bash :sudo : command not found then i tried install ...
0
votes
0answers
27 views

Did not use SHIFT-DELETE nor rm but files on Desktop are deleted

I have not used shift-delete nor rm but files on Desktop are deleted in ubuntu 14.04 LTS. My ~/.bash_history file also has no log of using rm command. However I have used sudo modprobe hfsplus. Is ...
-3
votes
0answers
22 views

how to swich to other os [closed]

I have just inatalled kali linux in my computer and i am a new user to linx.i made a partion of my primary drive c and then inatalled kali in it.i tried to keep my old os win7 and then i installed ...
0
votes
1answer
22 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
38 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
42 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
39 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
19 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
33 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
23 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
13 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
27 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
33 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
27 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
17 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
54 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
30 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
28 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
47 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
129 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
31 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
32 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
29 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
31 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
49 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
25 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
92 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
85 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
66 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
182 views

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

Don't know what happened for this 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
48 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
26 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
24 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
1answer
45 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
0answers
22 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
28 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
64 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
34 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. ...