Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The sudo command is a program for some Unix and Unix-Like operating systems, that allows a user to execute programs with the security privileges of another user. Typically those of a superuser or the root user.

-2
votes
0answers
16 views

error when I tried install a sudo apt-get upgrade

I'm trying install LAMP in ubuntu for install laravel with the next command i going to still in the second commnand and when I done with the command of run the second command I get the next error in ...
0
votes
0answers
13 views

How to remove sudo dependency for programs installed using bioconda?

I installed a program using conda and pip with sudo privileges because the program requires tons of dependencies which installations are root required. After successfully installed the program, I was ...
1
vote
0answers
24 views

How to debug program creating RAW socket?

For example I have this program: int main() { int sockfd = ::socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); if ( sockfd == -1 ) printf("Error\n"); else printf("Success\n"); return 0; } ...
0
votes
0answers
68 views

How to execute a binary file in Ubuntu?

I would like to execute this binary file: /usr/bin/snx (CheckPoint Security VPN client) When I execute snx or sudo snx from anywnere, the responses are: bash: /usr/bin/snx: No such file or ...
-1
votes
0answers
59 views

What should I do to use 'sudo' or 'exit' inside a groovy script?

Would like to know if I can use 'sudo su' or 'exit' command inside a groovy script. Tried to perform and it seems not working. Is it possible to do this or have to do another way? node ("instance") {...
0
votes
1answer
29 views

How do i reverse alias command?

I executed this command : sudo ifconfig lo0 alias 10.200.10.1/24 I think this changes my localhost address and I think my dockers seem to stop working because of this. Is there a way to reverse ...
3
votes
3answers
68 views

stop systemctl using graphical sudo prompt

My question is how could I configure systemd(?) to stop opening this annoying pop-up whenever I forget to type sudo. Just give me a text-based sudo prompt or show an error, so I can correct the ...
5
votes
2answers
1k views

Sudoers NOPASSWD for single executable but allowing others

Operating System: Arch Linux Linux version: 4.16.11 Sudo version: 1.8.23 What I need: be able to execute any executable with a sudo with a password prompt be able to execute one executable, /home/...
0
votes
1answer
62 views

Is there something like a sudoers list in Windows?

In UNIX-like systems, normal users can obtain higher priviledges using the sudo command (or they can temporarily switch the user using su). However, with a properly configured sudoers and PAM file, ...
0
votes
0answers
44 views

Setting sudo rights for an Icinga2 Service

I have icinga2 installed on 3 Servers, all with debian stretch. On one Server I have glusterfs-Server running and would like to monitor it with icinga2. From the icinga2 website I downloaded the ...
0
votes
0answers
149 views

Root user no longer exists

I'm running macOS Server 5.6.1 on High Sierra (10.13.4) and I was trying to modify a system launch daemon plist file the other day as my apache installation wasn't working after migration. sudo wouldn'...
1
vote
2answers
43 views

Locked out of sudo by erroneous PAM config causing PAM bad jump in stack

While trying to mitigate some spammy PAM messages in /var/log/auth.log, following this post, I tried various combinations in /etc/pam.d/sudo. Unfortunately, the last line I tried, completely locked me ...
0
votes
0answers
54 views

sudo minikube returns “command not found”

I need to run minikube as sudo on Centos 7.5. minikube is in /usr/local/bin For my user echo $PATH is: /usr/local/maven/bin:/usr/lib64/qt-3.3/bin:/usr/local/maven/bin:/usr/local/bin:/usr/local/sbin:/...
3
votes
1answer
775 views

“sudo” session behavior in graphical environment

I wrote these two scripts and they are in my $PATH: gsudo: #! /bin/bash sudo -n true &> /dev/null if [ $? -eq 0 ] then sudo "$@" else upass=$(zenity --password --title "Enter your ...
1
vote
1answer
55 views

zsh+ohmyzsh+powerlevel9k: completions stop working when issuing 'sudo -s'

I am having strange issue with zsh and ohmyzsh(with powerlevel9k theme) on MacOS High Sierra. After installing ohmyzsh when issuing sudo -s getting annoying and strange output of some script. And all ...

15 30 50 per page