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)

4
votes
1answer
83 views

How to automatically opening terminal windows & tabs, ssh and sudo su?

When I start my day in front of my computer, I first have to do the following: In workspace 1: Open a new terminal window, ssh loginserver, then ssh serverA1 and sudo su account00 Open a new ...
3
votes
1answer
2k 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 ...
3
votes
1answer
330 views

About the installation of Moses tool on ubuntu 11.04

we are working on project related to language translation with the help of moses tool...but we are not able to install moses...we face some installation problems. we make a directory on desktop named ...
2
votes
1answer
46 views

How to find out which programs are taking up alot of memory?

I've been getting messages that I have exceeded my quota limits. I am new to Linux and am not sure what to do. With windows, I could easily just go to Control panel, add/remove programs, and uninstall ...
2
votes
1answer
212 views

Permission denied error after SSH login

I am having Permission denied errors after logging with non root user (which has permissions to do "sudo -i" command). I get these errors: -bash: /bin/uname: Permission denied -bash: [: =: unary ...
2
votes
1answer
682 views

sudo: unknown uid xxxxx: who are you?

I was using ssh and trying to upgrade a system from Ubuntu 10.04 to 12.04. The connection had an issue so I had to login again to finish the upgrade. After running sudo dpkg --configure -a that was ...
2
votes
1answer
82 views

Updater is not upgrading

I am using Ubuntu 12.10. I tried to upgrade it using the Software Updater, but it is not working even after pressing Upgrade button. Then I tried to upgrade through the terminal using the command sudo ...
2
votes
1answer
87 views

How to clean up aftermath from rookie ubuntu command

Here are the commands I regretfully run: sudo chgrp root /usr/bin sudo chgrp root /usr/local I had recently added a user to root group and because my user still did not have write permissions, I ...
2
votes
1answer
122 views

Why my gnome terminal is set to root by default?

When I try to open up a new terminal in Ubuntu to do some operations, it always defaults to an admin based terminal with [sudo] password for xxxxxxxx: $ I need a regular terminal. How do I do this? I ...
2
votes
1answer
711 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
243 views

Is there a GUI to `visudo`?

Quite simply, is there a GUI to visudo I can recommend to other users, and use for myself? I have to set up a system where over 50 users have different sudo privileges and I need to juggle them all.
2
votes
1answer
81 views

Allow any user to use shutdown with my own shell

First of all sorry if my english is not excelent but it isnt my native language. I have a project where I'm building my own shell (named MYSHELL). One of the tasks is to create my own built-in ...
2
votes
1answer
57 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 ...
1
vote
1answer
69 views

Ubuntu no longer prompts for root privilege (but doesn't give it either)

So on 14.04 LTS I was playing around with some settings to solve another problem, and somehow managed to screw things up and now Ubuntu no longer asks for root privileges before trying to perform ...
1
vote
1answer
34 views

How do I edit a system file when I am root user but I receive “you are not in the sudoers file”?

I am using Ubuntu 12.04(LTS) 64 bit. I have edited /etc/group and added my username erfan in front of vboxusers as following: root:x:0: daemon:x:1: bin:x:2: . . . erfan:x:1000: sambashare:x:124: ...
1
vote
1answer
71 views

Setting proxy in Ubuntu terminal - proxy having special characters

I am trying to set proxy for a ubuntu server 12.04. Our proxy user name contains in the format: CompanyName\UserName and Password like: $test I tried to set proxy like this: export ...
1
vote
1answer
29 views

kdesudo - can it return before spawned process closes?

kdesudo doesn't return until the process started with it exits. So, if I want to start three processes all at the same time, I have to use three terminal tabs. I'd rather use one tab that returns to ...
0
votes
0answers
264 views

sudo not working after rsync - unable to open /etc/sudoers: Permission denied

Bought a new drive. Formatted to ext4, mounted the partition and ran sudo rsync -aAX --delete /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found} This moved all my ...
0
votes
0answers
25 views

How to avoide log out and log in while editing the sudoers file

I have edited the sudoers file by following the link. So far so good. It say "Log out, and then back in", for sure to see the effects. Is there a way to see the effects with out doing this: "Log ...
0
votes
0answers
390 views

sudoers entry does not work

I recently updated my ubuntu to 14.04. I have an script which calls just sudo hidd --search, that I start to connect my bluetooth mouse. Now I made an entry to /etc/sudoers like this: markus ...
0
votes
0answers
25 views

USB needs superuser

So I recently plugged in an USB and I don't know why it needs superuser now. When I go to nemo in sudo, It listed my old USB as usb1 and my new USB as Ducky Momo (It's name is Ducky Momo and it's a ...
0
votes
0answers
169 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 ...
0
votes
0answers
144 views

Cannot change “Sudo Front Header” in Peer Guardian

I have been told this is not an issue with Peer Guardian. When setting up peer guardian I cannot change my "Sudo Front Header." I recieve no error messages but when trying to edit settings after ...
0
votes
0answers
32 views

directory locked

I have been trying to install virtualbox using this command: sudo apt-get install virtualbox.qt But I am getting this error: E: Unable to lock directory /var/cache/apt/archives/ I have been ...
0
votes
0answers
169 views

Allow user to run programs as root without password. Would it be the correct solution to my problem?

I have a server which I need to be running certain programs permanently; I'm having problems with two of them and I'm not sure if the solution I've found would be the correct one, so I ask for opinion ...
0
votes
0answers
816 views

passwd : Authentication Token Manipulation Error

I couldn't use the command mount -rw -o remount / . This command asks for sudo password and then when i typed my password, it shows Your password has expired. It is almost a deadlock now. Somebody ...
0
votes
0answers
64 views

/etc/sudoers.d: Too many open files during npm install

When I ran npm install the first time, it suddenly slowed down my system to a crawl. Moving the cursor would take about 30 seconds to register on screen. Evenually NPM finished with a failure and ...
0
votes
0answers
58 views

faillog command doesn't work for all users

I set faillog to lock my users after 3 login attempt failures, but it works only for users belong to "sudo group" I searched the faillog(8) man page for ubuntu 13.04 in http://manpages.ubuntu.com , ...
0
votes
0answers
114 views

Problem installing GAZEBO on ubuntu 12.10 (broken package)

i was trying to install gazebo in my ubuntu 12.0, following the steps in "gazebosim.org/wiki/1.2/install" . However, after i input sudo apt-get install gazebo in terminal as step 4 suggested, it ...
0
votes
0answers
22 views

Trying to install Kdenlive--source directory?

I am a total linux illiterate, but I'm trying to get my head down and make things work. I have downloaded Kdenlive from web, want to install in root but get error message after typing sudo make ...
0
votes
0answers
28 views

how to repository?

I have been trying to setup a PXE server from terminal of another PXE server, at the very beginning I am trying to create repository, I keep on getting this error. sudo: /etc/sudoers is mode 0755, ...
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
0answers
73 views

sudo: setresuid() [0, 0, 0] -> [117, -1, -1]: Operation not permitted

I am not able to login as super user. Here's the output of setresuid(): sudo: setresuid() [0, 0, 0] -> [117, -1, -1]: Operation not permitted
0
votes
0answers
82 views

Can't use sudo after changing the user password

I am currently running Ubuntu 12.04 and I recently changed my account password. Before the password change, I was able to run commands via sudo when necessary while using my old password with no ...
0
votes
0answers
19 views

Wrong Scrollbars - sudo and SSH

I prefer the overlay scrollbars to the default Gnome scrollbars. These work fine except in two cases: Using sudo, like sudo synaptic. Using SSH to open an X application on a remote server. Or in ...
0
votes
0answers
111 views

sudo not working due to incorrect permissions

I broke my ubuntu server by typing the command chmod -R 777. Im trying to get it back to normal. Problems: When I try to use sudo, I get the error: sudo: unable to open /etc/sudoers.d/README: ...
0
votes
0answers
28 views

sudo part of tutorial for bootable usb

I've been trying to create a boo-table usb stick with Ubuntu on my macbook pro. I got to the part of the tutorial where it said to use the following command: sudo dd if=./target.dmg of=/STORE\ N\ ...
0
votes
0answers
53 views

Using xcfe4 to run apps requiring sudo user

Total newb. I installed Ubuntu 13.10 desktop to use as a server to play with on my home network. Intended to use RDP from Windows and found Unity 3D made this impossible (blank screen) so I've ...
0
votes
0answers
157 views

Error installing rails 3.2.14

I get the following error while installing Rails 3.2.14: With sudo apt-get install rails apt 0.8.16~exp12ubuntu10.16 for amd64 compiled on Nov 15 2013 15:33:57 Supported modules: *Ver: Standard .deb ...
0
votes
0answers
38 views

I attempeted to format ubuntu

I was trying to format ubuntu so i selected Restore to Factory Settings but nothing happened so i deleted all the partitions including the admin so now i am trying to make the partitions using guest ...
0
votes
0answers
30 views

recover data from autoclean

I have used sudo apt-get autoclean command and sudo apt-get clean command but didn't knew that I'll loose all my data. Is there any way to recover that data?
0
votes
0answers
82 views

Fix permissions for /usr

While trying to install adobe-flashplayer as a normal user (via a setuid binary, don't ask!), I suddenly noticed that the owner for /usr had been changed to myusername.myusername! Apparently, this is ...
0
votes
0answers
33 views

Lubuntu - unexplained message when hibernating - several users logged in but I'm the only one using it

Since quite recently, my laptop doesn't hibernate properly. Whenever I want to select an option, I get a message saying You need to authenticate as a super user to hibernate while several users are ...
0
votes
0answers
135 views

I m not being able to install LEX and Yacc in ubuntu.

I m not being able to install lex and yacc in ubuntu. I m not being able to download the analyzer as well. I have tried the command sudo apt-get install byacc flex. Its urgent please
0
votes
0answers
238 views

Never wrote password when setting up crouton on Chromebook, how do I set it up?

Since it never showed anything as much as I typed, I thought it was a bug so I just pressed enter 3 times until it let me set up my account without a password. But now I want to run Unity from sudo ...
0
votes
0answers
28 views

untrusted packages - sudo access denied

all my installations require installation of untrusted packages, and by clicking ok on it I get nowhere. Than I try to do something through terminal according to posts on this site and than I get sudo ...
0
votes
0answers
242 views

Cannot open display under Superuser

I am running Ubuntu 12.04 under VirtualBox. Everytime I try to open a graphical application from the terminal as superuser, I get an error: user:~$ sudo gedit Cannot open display: Run 'gedit ...
0
votes
0answers
345 views

member of group sudo can't sudo

1) why can't I invoke sudo if one of my groups is sudo? 2) also I have noticed that /etc/sudoers needs sudo privileges. sudoers.so doesn't exist in /usr/lib but does in /usr/lib/sudo is this correct ...
0
votes
0answers
49 views

Wrong theme with kdesudo

A while ago I installed Kubuntu on Ubuntu (then 12.10) with sudo apt-get install kubuntu-desktop. Ever since I've got a problem when running some gui applications as root. For example when running ...
-1
votes
0answers
11 views

Permissions for /etc/sudoers.d/sudoers

I'm running Kubuntu 12.04. I've been getting the warning message /etc/sudoers.d/sudoers is mode 0444, should be 0440 whenever I execute sudo. So I decided to take the hint and changed the permissions ...