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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [sudo]

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.

1
vote
1answer
29 views

How to create a screen and execute a sudo command

I need a script to create a screen session and run a command inside, then detach and proceed with other screens. So I need something like screen -S vault -d -m $HOME/vault/v.sh. However, v.sh requires ...
0
votes
2answers
22 views

Sudo confirmation prompt

I use sudo on my linux workstation, and it is configured to request a password each time. But typing the password every time is cumbersome and also a bit dangerous if I don't have the focus to the ...
0
votes
1answer
25 views

How to add someone back to the “root” user group after accidentally removing them in Ubuntu and not having another “sudo” user?

I have an Ubuntu installation without root user enabled (standard). The main user that was part of group root (called netuser) was mistakenly removed from the group adding another group and forgetting ...
0
votes
2answers
38 views

How to restore groups and sudo rights for my linux user?

Recently I accidentally executed the usermod command to add a group to my user; unfortunately I forgot the -a operator, so the command removed all the other groups from my user. After next login I ...
0
votes
0answers
84 views

Could not install packages due to an EnvironmentError: [Errno 1] Operation not permitted in the virtual envinronment

I tried to make a python virtualenvironment using virtualenv in I type virtuelenv env --python=python3 I get an error PermissionError: [Errno 1] Operation not permitted: '/mnt/d/venv/bin/python3' ...
1
vote
1answer
39 views

I forgot my sudo password on Debian

I need my root password to get allegro installed. I can't boot Debian neither I don't know what else I can do. Please, send help.
0
votes
0answers
38 views

Ansible via Vagrant Provisioner not Working with `become` (or `sudo`)

How can Ansible be used via Vagrant's ansible provider while working with actions that become a superuser? Every attempt I've made so far doesn't work for quite inexplicable reasons. The scenario is ...
0
votes
2answers
63 views

Running a bash script with sudo privilege

I have a bash script which install bunch of opensource libraries (example :- opencv,octave,ff-mpeg and SDL etc.,) and I need sudo privilege to access most of the file paths. As far as I know, by ...
0
votes
2answers
218 views

sudo: apt-get: command not found

I am trying to run the following command to install some libraries. sudo apt-get install graphviz libgraphviz-dev pkg-config It is however returning the following error. sudo: apt-get: command not ...
0
votes
1answer
19 views

Can I undo a `sudo chown -R /` on Mojave? [duplicate]

I ran a command that ended up executing as sudo chown -R / Can I revert / to default permissions?
0
votes
2answers
137 views

sudo !! equivalent on Windows cmd

I'm looking for a cmd.exe equivalent to Linux's sudo !! and other bang-commands such as !x, !?x, !!:p and !!* mentioned here.
0
votes
2answers
81 views

Ubuntu - Can I resolve this issue “sudo: /etc/sudoers.d is world writable” by updating my ubuntu from 16.04 to 18.04?

I am having a problem with my sudo command in my ubuntu, that is because I think I had run the permission command on my computer directory. I found that on the internet everybody is saying that in ...
0
votes
1answer
34 views

Why does sudo opens scripts with /bin/sh?

I have a script that needs sudo permissions and needs to be run with /bin/bash on an Ubuntu 14.04 machine. If I run it while logged in as root (or any other user) it opens with /bin/bash as expected, ...
0
votes
1answer
39 views

How can I audit su access through pam.d in RHEL 7

I am a system auditor with very limited knowledge of Linux OS. I am currently auditing a RHEL 7 server and found out that a group of users are authenticating through LDAP and using 'su' through PAM. I'...
2
votes
1answer
63 views

How to edit protected files on mac

I've just bought a new mac, I'm trying to edit the DockMenus.plist file from Dock.app to remove finder from dock like I've done with my previous macs. However, on saving, vim prompts this error: "...

15 30 50 per page
 Microsoft office activator |  windows activation crack |  windows product key |  windows 10 product key |  windows 7 ultimate product key |  windows 7 keygen |  activate office 2010 |  office Project keys |  project professional product key |  office 365 office 2016 office 2013 key |  office 2016 office 2013 key |  windows 7 professional product key |  windows 8 professional product key |  windows 10 professional product key |  office 2016 professional product key |