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)

1
vote
0answers
47 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, ...
0
votes
0answers
26 views

hplip installation stuck at password checking on lubuntu 15.10

I was trying to install hplip 3.15.11 on Lubuntu 15.10 using xTerm or uxTerm as explained and shown in the official how-to (hplip installation how-to), but when I'm asked for the sudoer's password, I ...
0
votes
0answers
12 views

Sudo, nohup and spewing detached processes

I have a jar file that I need to routinely kick start from the terminal, and needs to be run as root. I'd also like to leave that terminal open for use, so I'm using this bash script: $ cat ...
0
votes
0answers
20 views

aterm unresponsive unless run with sudo

I've just installed Ubuntu on my laptop. I installed aterm by typing sudo apt-get aterm Now if I start aterm by typing aterm The resulting console is unresponsive to typing (no letters show up ...
0
votes
0answers
22 views

Boot from USB/CD without using sudo

I screwed up big time. I did sudo chmod -R 777 /usr without pausing to think about consequences. Well, the consequences are: 1) I cannot sudo or pkexec. 2) Ubuntu is not detecting boot cd or usb. ...
0
votes
0answers
7 views

Help with installation after HDD SATA replacement in laptop (Toshiba AMD A6)

Will this fix my installation issue, if I just go to 15.10. I was trying OEM, sudo clean, update, install, kodi, --fix, fix-missing...nothings works...also I have checked BIOS and the new SATA HDD is ...
0
votes
0answers
7 views

download cuda library with dpgk on Ubuntu 14.04

i need to install cuda library on a server, where i dont hwve root access I use this command: dpkg -i --force-not-root -- root=$HOME cuda-repo-ubuntu1404_7.5-18_amd64.deb but i get the error : ...
0
votes
0answers
18 views

how to enter password for sudo while using ubuntu in virtual box?

I cant enter my password while using sudo in virtual box (Version 5.0.10 r104061) with Ubuntu OS (14.04). How to enter password?
0
votes
0answers
26 views

password not working, memery all used up. helpme

I'm completely clueless about ubuntu and computers really. I was directed towards ubuntu by a friend and now im in big trouble really. My laptop started acting funny on thursday. It used up all ...
0
votes
0answers
32 views

who to install glup globally in current project

Trying install Gulp globally in the project file $ npm install --global gulp $ npm install --save-dev gulp but through this error message: npm http GET https://registry.npmjs.org/gulp ...
0
votes
0answers
20 views

iniparser: cannot open /etc/security/pam_winbind.conf

Each time I type a sudo command I get this: iniparser: cannot open /etc/security/pam_winbind.conf What's this error and how can I get ride of it?
0
votes
0answers
44 views

Add domain user into sudouser file failed with Ubuntun 14.04 TLS

I ran into trouble with sssd and sudoers file. My domain name is rd.mydomain-rp.com and the domain netbios name is rp-rd After configuring sssd the domain users can login to the linux system but the ...
0
votes
0answers
278 views

sudo: ./ : command not found (when you change the directory)

I am trying to launch a .iso,the program launches -when the image is mounted- using sudo ./run. As I just extract the iso and attempt to launch it, it says: sudo: ./run : command not found (the ...
0
votes
0answers
21 views

Sudo: chronic authentication failure on X operations

Sudo works fine from the command-line, but I've never been able to get authentication to work right when a GUI asks for it. Starting X apps from the command-line w/sudo sort of works, but causes weird ...
0
votes
0answers
45 views

How to use sudo update-alternatives properly?

I'm trying to run this commando: sudo update-alternatives --install /usr/bin/java java/usr/local/java/jdk1.8.0_66/bin/java 1 But it says: sudo update-alternatives --install /usr/bin/java ...
0
votes
0answers
59 views

Script runs as root but not with sudo

I am working with a Raspberry Pi and I'm trying to run a script that accesses the GPIO pins. To access these pins you need to be in root or prefix the command with sudo. The script also needs to ...
0
votes
0answers
37 views

sudo -u not working

on my vps apparently sudo -u is not working correctly I want the Web server (www-data) to run a script as user teeworlds and in the context of this user the script output www-data@minecraft:~$ sudo ...
0
votes
0answers
18 views

Executing program in non standard path from terminal

Recently, i created a personal folder for my data 'lroot/usr' to put in all my bin, lib and other stuffs. I linked it in the PATH. Beside, to install programs directly inside my folder, i do use dpkg ...
0
votes
0answers
71 views

sudo can't find module rospy

I am using ROS (robotic operating system) on a raspberry pi running ubuntu and trying to setup a simple talker/listener. My problem is that then I need to run my script as root to access the GPIO ...
0
votes
0answers
17 views

Temporary Failure Resolving Security Ubuntu

I have not been able to do sudo commands, so I went into recovery mode and tried to update my software. Updates were found, but when I tried to do them, I got an error saying: Temporary failure ...
0
votes
0answers
40 views

Do I have to use “sudo” befor “pyrit list_cores” or “./devicequery” to get cuda to work?

When I use pyrit list_cores or ./DeviceQuery or ./cudahashcat64.bin without sudo it doesn't recognize my cuda core But when I do use sudo one time in one of those commands, it recognizes cuda core ...
0
votes
0answers
24 views

sudoer restore into default after a few minutes

I just built a brand new virtual machine with Ubuntu 14.04, then create a new user new, run visudo to add new into sudoer list using root account. The new account gets the sudo permission, but loss ...
0
votes
0answers
38 views

How do i regain sudo privilege after adding my user name to a group in samba

I installed samba to share folders in my network. i created a group lab1group in samba and added my user name to that group. Everything worked fine. But I cannot use sudo the following day. I think I ...
0
votes
0answers
28 views

Admin locked out of sudo and cannot access GRUB

When using sudo to execute admin permissions I receive the following error: "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set" I know the solution to this problem lies in ...
0
votes
0answers
143 views

sudo apt-get update not working

E: Some index files failed to download. They have been ignored, or old ones used instead. Ubuntu 14.04 ; trusty What sould i do? that's the error.txt file Ign http://archive.ubuntu.com trusty ...
0
votes
0answers
200 views

ssh prompts for password when passing sudo command, even with ssh key

I'm trying to expedite restarting some services across several ubuntu servers. I've: added the command to the sudoers file generated an ssh key and copied it to one of the test servers wrote a ...
0
votes
0answers
43 views

ltunify broken pipe error?

My mouse recently broke and I tried to resync an old one that somehow got disconnected from the mouse and I get the error write: Broken pipe Failed to retrieve notification state when trying to ...
0
votes
0answers
47 views

cannot open Grub mode on ubuntu 14.04

I forgot my sudo password. As far i as read on forum i should open my machine holding shift to recover this password. Unfortunately it doesn't work. I tried left shift and right shift. Any idea how ...
0
votes
0answers
19 views

How do I use the Sudo command with ubuntu live?

I am trying out Ubuntu studio w a USB live disk and am having trouble running commands requiring sudo administrative access since the live disk doesn't seem to allow for me to log into my own account ...
0
votes
0answers
41 views

Ask root password instead of user (sudo) password

The privilege to use a Ubuntu machine was given to me. Previously there was another user in the system. I logged in with the "anotheruser" account and created the password for the root account (sudo ...
0
votes
0answers
67 views

Bitmask only starts with sudo

When launching bitmask through Unity it won't launch, it will only work if launched from terminal with sudo. How should I proceed?
0
votes
0answers
22 views

It it safe to keep a PamUSB enabled usb drive always connected?

I'm wondering if it's safe to the usb drive always connected, some program could sudo without my permission. It there a way to receive some notifications about pamusb's authentications? Thanks in ...
0
votes
0answers
27 views

accidentally moved home directory, cant login (so do not know where it is)

I do not have computing background so I thought I should stop typing usermod -d as root before i ruined the whole system. I have tried the answers on here already but I have had no success. I cannot ...
0
votes
0answers
61 views

sudo chmod 664 “/” -R

The problem: sudo chmod 664 "/" -R I've canceled it after a few seconds but here it is. What all should I do through Live CD? sudo chmod 755 "/" -R or just sudo chmod 755 "/" ? Thanks
0
votes
0answers
49 views

duplicate file in sudoers.d breaks sudo

Not sure if it's a bug in sudo, or some kind of a strange boobytrap feature, but here is what happened. Was working this problem, among others in an aticonfig snowball, via ssh remote: ...
0
votes
0answers
47 views

How do I enter password via keyboard without using pamUSB?

I installed pamUSB and I have used my USB flash drive to store and enter my password automatically in ubuntu 14.04. But my USB memory is formatted. Therefore, the system shows the following message ...
0
votes
0answers
189 views

executable running without sudo but not with sudo

I installed xampp in my system and it is installed in the location /opt/lampp. After that i added the php location to path varialbe using export PATH=$PATH:/opt/lampp/bin. So when i run php -v using ...
0
votes
0answers
29 views

VMware: change file permissions for smb.conf

I am running Ubuntu via VMware on a windows host, i want to share a folder. When i try to edit smb.conf, i get the following error: (gedit:47899): IBUS-WARNING **: The owner of ...
0
votes
0answers
178 views

Gtk-WARNING **: cannot open display: :0 Problem !

when i am using ' root ' , I can't run any **** -_- and that's what the terminal show as a problem I try many thinks like gksu , sudo .. , pkexec , ... but no solution No protocol specified ** ...
0
votes
0answers
74 views

Unable to login as root amazon ec2 instance

When I try to login as root in ubuntu using sudo su I get this error sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set I googled to solve it and I was suggested to logout from ...
0
votes
0answers
23 views

problem removing mysql

I am getting this error: E:Sub-process /usr/bin/dpkg returned an error code (1) At the end when i try uninstalling mysql using the command: sudo apt-get remove –purge mysql-server mysql-client ...
0
votes
0answers
240 views

Problems with sudo apt-get update

I am new to Ubuntu and I have a problem installing, updating, etc. a program. The VirtualBox network is NAT. The type of adapter is PCnet-FAST III (Am79C973). For example: :~$ sudo apt-get update ...
0
votes
0answers
39 views

I cannot access removable media in Ubuntu 14.04

When I inserted a pen drive and attempted to open it, it said that I don't have enough permissions to view its contents. When I used the command: "sudo nautilus" I was able to view its contents. I ...
0
votes
0answers
31 views

Is there any way to add myself to the sudo's file, again?

Accidentally, I must have removed myself from the sudo's file in Ubuntu 15.04. This has resulted in that I cannot use tools like chown or alike. The OS is running on my laptop, and I'm the only user ...
0
votes
0answers
36 views

Is there danger involved in running Firefox as sudo?

Is there danger involved in running Firefox as sudo? I do this because I sometimes use Firefox to browse my local drives, and my primary drive is encrypted. I am using Xubuntu 14.04. Thank you.
0
votes
0answers
92 views

How to whitelist commands to certain users in Ubuntu

I have heard that there is a way to whitelist certain commands to users in Ubuntu. Such as allowing a user to run rm but not rm -r or rm -f. Hope someone can help.
0
votes
0answers
113 views

find only works with sudo?

I've been searching for a while now and I can't find an awnswer to this. Let's assume I created this dir /Desktop/things and I want to find it using find. If I do find . -name things -type d ( and ...
0
votes
0answers
38 views

how can i detect the sound card as i am not a sudo user?

i have to detect sound card in my laptop,but i am not a sudo user so i cannot execute any sudo commands. i am also unable to detect the soundcard,thus i don't know the way of solving this problem. ...
0
votes
0answers
29 views

Disable Root — what password will it ask for when I do Sudo

My web-host recommends disabling root. I've created a non-root-user with a non-root-user's-password in the sudo group. So far so good. Here's my question. Usually, when I do sudo, Ubuntu asks for ...
0
votes
0answers
145 views

Can't change password Ubuntu 14.04 LTS after try many ways

I'm suffering with a suck problem. When I installed Ubuntu 14.04, I created a password but seem I tick start without log in. After few day using normally, I show a pop-up ask me to authentication for ...