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)

3
votes
1answer
321 views

What causes “pam_unix … conversation failed” in auth.log

There are thousands of entries in my auth.log like this: sudo: pam_unix(sudo:auth): conversation failed What causes these to occur? I'd like to fix whatever it is but I'm a bit mystified as to ...
2
votes
1answer
32 views

Auto-completion does not work with sudo mount

I'm using 12.04.2 and auto-completion for mount does not work with sudo. If I don't use sudo auto-completion works as expected: $ mount --bind -t devpts /dev/<press tab> block/ char/ ...
2
votes
1answer
193 views

“sudo rm” fails to delete files

My main account is called "u1204" and I have some files created with another account called "dad": $ find . -user dad -print ./Documents/Zim Notes/.zim/state.conf ./Documents/Zim Notes ...
2
votes
1answer
173 views

Unable to open Update manager or Ubuntu tweak

I cannot open Update manager and Ubuntu Tweak when I open Ubuntu tweak I get this log user@laptop:~$ ubuntu-tweak Traceback (most recent call last): File "/usr/bin/ubuntu-tweak", line 124, in ...
2
votes
1answer
530 views

How do I deal with 'sudoers.so must be only be writable by owner'?

Whenever I try to install or remove something using terminal it gives the following error message: bluebird@bluebird:~$ sudo apt-get update sudo: /usr/lib/sudo/sudoers.so must be only be writable by ...
2
votes
0answers
56 views

How to configure pkexec

Reading this question & answer When to use pkexec vs. gksu/gksudo? & Why is gksu no longer installed by default in Raring 13.04? brought me another one that will create problems for new users ...
2
votes
0answers
27 views

How can I configure sudo to prompt for password and show the executed command?

The title says it all. How can I configure sudo to prompt for password and show the executed command? Rationale: if something gets aliased in the shell or I end up executing a function sudo instead ...
2
votes
0answers
49 views

Prevent that TrueCrypt gets Administrator rights

If I try to open a TrueCrypt drive, TrueCrypt asks me for my administrator-password (also when I am a normal user). I know, that i can prevent this password-asking by editing the sudoers file = giving ...
2
votes
0answers
137 views

Eclipse Juno won't open gui java apps when run with gksudo

I have Eclipse Juno installed on Ubuntu 12.04. When I run from the command line with sudo, everything works fine. However, when I follow the advice I see everywhere and run it with gksudo, I get the ...
1
vote
0answers
129 views

Upgrading from 12.10 to 13.04 -> dpkg: error processing sudo (--configure)

Here's the deal and reason I'm asking for your help. Last night I went on upgrading my Xubuntu 12.10 installation to 13.04, so at tty1 I run the command sudo do-release-upgrade and everything ...
1
vote
0answers
40 views

stty doesn't reset with sudo after Ctrl + C

Let's say I have following simple PHP script: misan@thrope:~/tests$ cat stty.php <?php shell_exec('stty -icanon -echo'); // exit; $fh = fopen('php://stdin', 'r'); while (!feof($fh)) { $c = ...
1
vote
0answers
91 views

Lubuntu 12.10 asks for super user before prompting for wifi password

I have installed Lubuntu 12.10 on an HP Mini netbook, which required the bcwm source package for wifi to work. (Somehow standard ubuntu didn't need it but it was too resource hungry for the netbook.) ...
1
vote
0answers
104 views

How do I know my system is broken after chown -R root usr/bin?

This question is related to another question -- "Can't access any functions after chown command." -- but I think it may be worthy of an independent question. My question is: how do I know that my ...
1
vote
0answers
256 views

“Unable to locate package” error in Ubuntu 12.10

I'm new to Ubuntu and trying to install softwares. But in every case I get this error: `E: Unable to locate package sun-java6-plugin` while using sudo apt-get install command. I've installed a ...
1
vote
0answers
51 views

How to download sources for sudo?

I would like to get the sources for sudo and I found out that I am suppose to use sudo apt-get source sudo, but then it says it does not find any sources (even though i have told the Software Manager ...
1
vote
0answers
36 views

only member of 1 group when using vmware console but member of many when using ssh

Ubuntu 12.04.01 LTS hosted by VMWARE When I use a Terminal window in the console using vmware vSphere as myself, 'id' only shows I'm a member of the main group (ie group in /etc/passwd). However, ...
1
vote
0answers
27 views

Give permissions for packages downloaded from the internet and lock them in Ubuntu 12.04 sidebar

I downloaded NetBeans IDE and Eclipse IDE from the internet and installed then. Well, the Eclipse IDE works fine, but when I execute NetBeans IDE directly from the shortcut, without sudo permission, ...
1
vote
0answers
176 views

installing apache 2 in ubuntu

Hello I am new to ubuntu. I am trying to install Apache2 using "sudo apt-get install apache2" command.I have set my java path as per rules but still its showing me this following errors: sha256sum ...
1
vote
0answers
353 views

I can't use sudo

I have a computer that originally ran on windows 7 but I had it changed to Ubuntu and recently had it upgraded to 11.10 but it won't let me access the root dictionary and I've tried to install sudo ...
1
vote
0answers
83 views

How can I customize system warning messages?

I'm a Linux/Ubuntu noob, and every time I try a command, the system tells me permission denied, and then I have to sudo, I kinda feel like I'm arguing with my system. To that effect, it occurred to ...
1
vote
0answers
224 views

my User not a part of any system group

i was trying something on my ubuntu 12.04 ... basically trying to get my PLex mediaserver to detect movies from network shares and i thought to add my user and root to group plex that the server ...
0
votes
0answers
13 views

ubuntu 13.04 failed to start any GUI application as root

I just installed ubuntu 13.04 in family machine, and I faced strange problem even though my sudo password is correct, I cannot start any GUI application (i.e. bleachBit (as root)) as a root, the ...
0
votes
0answers
24 views

sudo modprobe snd-hda-intel every start up

I have found since some change in some update that the sound gets lost. This is happening less and less and always results in me blundering about trying to get my sound working again.Generally ...
0
votes
0answers
22 views

cannot find name for group ID 26739201

I am using ubuntu 12.04 after adding a new user in sudoers list and i successfully logged in that user but now when i take terminal its showing groups: cannot find name for group ID 26739201 ...
0
votes
0answers
35 views

netbeans c++ debugging error: The program is not being run when debugging with gdb link

i have created soft link to gdb with sudo ln -s /usr/bin/gdb /usr/local/netbeans-7.3/bin/ now in netbeans i set c++ debug command as /usr/local/netbeans-7.3/bin/gdb. when i debug my program i get ...
0
votes
0answers
17 views

Authentication window in GNOME disappears before I have a chance to type in the password

Sporting 12.10 with Gnome Shell. When I start graphical Software updater manager, and click "Install now", I got "Authentication Required" window prompt as per usual. However, after I've typed couple ...
0
votes
0answers
18 views

'w' command not showing users list when not root ('who' does)

I have multiple users logged on my server (ubuntu 12.10), with ssh. None of them has root privileges. If I then log in with my admin account and type (without sudoing) admin1@server:~$ w the ...
0
votes
0answers
50 views

sudo su automatically

It is possible to log in automatically as root after typing sudo su - without entering password again? I know it is not safe, but I want this behavior just for specific IP addresses Thank you, Alex
0
votes
0answers
28 views

Unable to launch an application in Ubuntu

I installed a software called NEDx in my Ubuntu 12.04. But when I try to launch it from the desktop shortcut or from DASH, it simply doesn't get launched. When i checked the properties of the ...
0
votes
0answers
14 views

Weird storage problems

I am totally unable to install, update, or remove anything. I can't even auto-report bugs! I recently ran sudo nautilus and made the entire filesystem read-writable to everyone, so I could install ...
0
votes
0answers
28 views

It's possible to perform operations from the context menu (right click) as sudo; for example to edit a text file?

Sometimes, during a user session, you need to edit a file with special privileges. It would be convenient to be able to click with the right mouse button and edit as sudo.
0
votes
0answers
53 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 ...
0
votes
0answers
47 views

Unable to install a program on ubuntu via command line(same for desktop)

Despite the good internet connections I have used in trying to install packages with the famous sudo apt-get install package-name , it is not possible. Whenever I download any file form the network, ...
0
votes
0answers
44 views

Adding a group to sudo

Adding a group to sudoers file worked pre- Ubuntu 12. I can't seem to get it to work now. Error is "user is not in sudoers file". The command sudo addgroup <groupname> does not solve the issue. ...
0
votes
0answers
16 views

How to not require pip install -E parameter?

Why can i use: sudo pip install [package] on my machine, but on another i have to use: sudo -E pip install [package] how can i make it so that it doesnt require -E? EDIT: env difference: ...
0
votes
0answers
60 views

12.04 sudo testparm -s smb.conf.master >smb.conf fails on permsissions

When I run sudo testparm -s smb.conf.master >smb.conf bash: smb.conf: Permission denied I just need a simple samba configuration to share files among 4 linux machines behind a router on a very ...
0
votes
0answers
179 views

System Problem Detected

I installed system updates today, and now, every time I boot up my computer I get the System Problem Detected dialogue box described in this post: System always start with "System program problem ...
0
votes
0answers
280 views

getting error Resource temporarily unavailable

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) no matter what i try to install i get this error, also i get unity & unity 2d not installed so if ...
0
votes
0answers
137 views

Can't do sudo (“unable to get sudoers gid”)?

I've just installed Ubuntu 12.04 using VMware Player on my Windows XP laptop. Installation finished and everything looked good. However trying to edit the /etc/sudoers file in terminal I'm getting ...
0
votes
0answers
103 views

Mail with “3 incorrect password attempts” after starting app with sudo

A strange thing: Always after I start an application which runs with root permissions (e.g. Synaptic), I get a mail titled SECURITY information for [hostname] telling me about "3 incorrect password ...
0
votes
0answers
90 views

Change system from asking for root to asking for sudo password

I am using a shared computer in which I have root access via sudo but not the root user's password. For some reason gksudo doesn't do the standard protocol of asking for my password (in the sudo ...
0
votes
0answers
11 views

'info' command returns “ERROR: Not a supported file type”, as sudo it runs perfect. Google-fu not helping

'info' command returns "ERROR: Not a supported file type", as sudo it runs perfect. Google-fu not helping... Tried to run sudo apt-get check, sudo apt-get update has not fixed anything and my ...
0
votes
0answers
278 views

Cannot execute /bin/bash: No such file or directory

I was trying to install teamviewer then I canceled while installation progress then this happened !!!! and now I can't do anything ! any help ??
0
votes
0answers
26 views

changed username in user account and now am not in sudo

I changed my username in the "user account" screen and now i cannot install programs. I also noticed that my home directory still carries the name of the old user. how do i fix it please/
0
votes
0answers
46 views

Can we grant sudo to an already opened application?

So, can we grant sudo to an already opened application ? I wish to first open an application as normal user and incase if i need root permissions on it i wish to grant su without restarting the ...
0
votes
0answers
139 views

How do I permanently disable 'elevated privileges'?

I am using Lucid Lynx 10.04, and am having difficulty setting the sudo timeout to 0 minutes, or instant, as in, essentially, disabling the 'elevated privileges' feature. I have tried editing ...
0
votes
0answers
72 views

Cannot update relevant files aren't being downloaded

I'm trying to use certain softwares using Ubuntu Software Centre. The small ones say ( < 3mb ) are being downloaded but the bigger ones don't even start (stuck at 0%)...when i try to update using ...
0
votes
0answers
166 views

Sudo password doesn't work on Fat Client but works fine on Server

I have a user (say xyz) who is part of the admin and adm group and sudo group. I can use Sudo when on the server but when I log into the fat clients connected to the server sudo password doesn't ...
0
votes
0answers
212 views

Ubuntu 12.04 shared folders' contents are missing

PROBLEM 1: Ubuntu shared folders' contents are missing when access from windows server 2008 R2 or windows 7. PROBLEM 2: Domain users have been added to sudoers file but still cannot use sudo command. ...
0
votes
0answers
78 views

Updates not downloading or installing

I have tried the below command and it gets to 100% then tells me something wicked has happened and could not connect to http://? sudo apt-get update && sudo apt-get upgrade

1 2