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

How to allow local logins, after misconfiguring PAM in AD integration process

Aim: Create an R server that integrates into our Windows environment by setting up AD integration on an Ubuntu box Using: Ubuntu 12.04 LTS Following: https://help.ubuntu.com/community/...
1
vote
0answers
249 views

How do I reinstate my admin user privileges to global read/write

I am running Ubuntu 12.04 LTS. I only have the one user which I created when I installed Ubuntu. Everything has been fine - love it - until I updated a software package recently from the command line ...
1
vote
0answers
468 views

sudo -Hu rsyncuser rsync --progress -avz /source/path/ host.org:/destination/path/ - why does it change directory permissions?

here is my setup: on my source machine i created user rsyncuser with reading and writing permissions in /source/path on my destination machine i created user rsyncuser with reading and writing ...
1
vote
0answers
309 views

how to recover file and folder permission?

I made this mistake at the /usr directory sudo chmod -R 777 bin The next time i used sudo, it gives me this prompt: sudo must be setuid root What I did is copy and replaced this sudo thinking it ...
1
vote
0answers
48 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
21 views

What privileges should I give to a user who can access my SFTP but only reads them

I have a current root user which is able to do, well ROOT privileges on my SFTP running on Ubuntu LTS 12.04. I'm planning on adding a new user that can only read a specific directory inside my sftp. ...
0
votes
0answers
21 views

sudo command terminal takes a lot of time to ask for password?

In Ubuntu Gnome 16.04 in the terminal it takes a lot of time to ask for the sudo password, for example when I use: sudo apt-get update or anything else.
0
votes
0answers
31 views

Systemd, start user level unit with sudo access

I have a Debian package which installs my software and it needs to start two applications in post install script. First one is daemon and the second one is a background process both are managed with ...
0
votes
0answers
24 views

no passwrd entry for hadoop

I have install Hadoop 2.7.2 in /usr/local directory. When I run hadoop version it gives the output correctly as hadoop 2.7.2 Subversion https://git-wip-us.apache.org/repos/asf/hadoop.git ...
0
votes
0answers
36 views

sudoers, NOPASSWD, and a /home/user/bin/script not working explanation (with workaround)

Ubuntu 14.04.3 The Problem I have a directory with some custom scripts, one in particular called aptupdate. The permissions of the directory are: drwxrwxr-x 2 htpc htpc 4096 May 4 00:35 /home/...
0
votes
0answers
56 views

Unable to install git on 14.04

I'm trying to install git on Ubuntu 14.04, but it's giving me this error: guest-te1w6r-Lenovo-G50-80:~$ sudo apt-get install git sudo: unable to change to root gid: Operation not permitted ...
0
votes
0answers
17 views

Ubiquity not create user

I create my own distro for school computer and everything is good but ubiquity installer not create user :/ I try to edit casper.conf file and lightdm but it doesn't help me ;/ Maybe my live user is ...
0
votes
0answers
26 views

Sudo and Su give Segmentation faults

I'm running Ubuntu 14.4 LTS. When I try to use the sudo command with any other command, I get a segmentation fault. sudo ls su ls The result I get is always: Segmentation fault (core dumped) I ...
0
votes
0answers
32 views

sudo access problem

sudo su sudo: unable to stat /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin I am not able to access the sudo command in 14.04 ...
0
votes
0answers
106 views

How to add permissions to use chmod 777 to an user from the sudoers file

I have been trying to modify the permissions of a Linux user on a cRIO. I installed sudo and modified the sudoers file with Vi and add this line: (I need at add permissions to access a file to a user ...
0
votes
0answers
21 views

Troubleshoot personal internet failure, vol. 2

This a follow-up from here: Troubleshoot personal internet failure, where: sudo service NetworkManager restart was proposed. However, Internet failure again today. I did the restart, but this didn'...
0
votes
0answers
30 views

sudo and su both not working

When I am running the command sudo apt-get update and after entering the password I am getting xxx is not in the sudoers file. This incident will be reported.. I have searched for this found ...
0
votes
0answers
117 views

`sudo hostname` checks hostname resolution - can I turn that off?

I am trying to get Vagrant working with Ubuntu 16.04 (xenial). Apparently there are recent changes to hostname when called with sudo and the output to stderr is interfering with the way Vagrant ...
0
votes
0answers
18 views

Ubuntu sudo broken/other probelem, Ubuntu Server

So i have given accses to / for everyone, which at the time i did not know this basically breaks the system. Tried a few things nothing worked. So i reinstalled ubuntu, did the install normal for ...
0
votes
0answers
51 views

Failed to fetch error: Hash Sum mismatch

I can't update. I want to install GNU Radio also but system is not getting update. sudo apt-get install gnuradio also doesn't work.
0
votes
0answers
24 views

I'm a new user who's pretty lost

My problem is this: I'm trying to permanently disable my touchscreen because it is cracked and occasionally moves the pointer on it's own. I have tried the xinput solution but as many other forums ...
0
votes
0answers
24 views

Can't run any programs because of less permissions and how to give a user full sudo privileges ?(Ubuntu 14 Server)

So, I created a Ubuntu VPS with AWS. I am very new to Ubuntu so I need a GUI, therefore I installed TightVNC to use it from my Win 10 PC. Now here are the problems: 1) The server has a default user ...
0
votes
0answers
31 views

what is the diffrence b/w “remove write-protected directory” & “descend into write-protected directory”?

am new to linux world, am practising basic commands, i tried to use rm command to remove directory/folder from current directory which was /, without providing super user permission or sudo. it says ...
0
votes
0answers
22 views

How to restrict command using sudoer doesn't work

I created one user as filemanager. There are some users have to su as filemanager to run script which execute many commands. But SCP is not allowed for security reasons. I am trying to restricted '...
0
votes
0answers
19 views

How to resolve invalid sudoers file on ubuntu installed on AWS

I've set up a Ubuntu instance on AWS and foolishly modified the sudoers file and it is now returning a parse error when I try to run sudo commands, so I am unable re-edit the file. I found a command ...
0
votes
0answers
45 views

No Sudo Permissions (No Username?)

When I login with Ubuntu it shows that I have no username and when I attempt to execute any code with sudo, I receive the following error: I have no name!@ip-172-30-2-112:~$ id uid=1000 gid=1000 ...
0
votes
0answers
158 views

How to solve server certificate Verification failed!

Recently I installed a complete ubuntu package on virtualbox and use it via vagrant ssh in windows.from yesterday i have a annoying problem,I cant use sudo commands for install,update or everything ...
0
votes
0answers
34 views

error dpkg in terminal ubuntu

I'm downloading brackets in github https://github.com/adobe/brackets/releases/tag/release-1.6+eb4 please help me dpkg --install ~/Download/Brackets.1.6.Extract.64-bit.deb dpkg: error: parsing file '/...
0
votes
0answers
19 views

use a different password for the prompts

I installed Ubuntu for the first time since 2006, its awesome. So i installed and went for the encrypted home dir install, just for fun. Now every time i need to do something that requires sudo I am ...
0
votes
0answers
26 views

Multiple admin (sudo) accounts issue

I have a computer with two admin accounts my was the second one created, now when I try to make anything in terminal as sudo user like tar it automatically give permissions to the first user as the ...
0
votes
0answers
56 views

How to prevent sudoers from changing the root password unless they know the current root user password first

I want to give a developer sudo access, but giving him sudo access would potentially allow him to change the root password and lock me out of the server. I just created a demo account, added it to ...
0
votes
0answers
29 views

Broken sudo in Ubuntu 14.04 installed in a Windows 7 host Virtualbox

I messed up while changing the permission of /usr/bin/ folder and now I'm getting the error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set Is there any way I can revert to ...
0
votes
0answers
103 views

sudo apt-get install <package> is not working for me

I can't download and install packages by using sudo apt-get install <package> How can I fix this problem? The error: E: Failed to fetch (URL) Could not reresolve 'archive.ubuntu.com' E: ...
0
votes
0answers
64 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
86 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 /usr/...
0
votes
0answers
23 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
34 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
11 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
15 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
31 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
29 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
53 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
67 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
612 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
28 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
245 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 java/...
0
votes
0answers
134 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
94 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
27 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
178 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 ...