sudo Questions

15

when I set the EACCESS for npm and I was ran the chown command in my terminal for change owner permission but now i stuck in this sudo :" /usr/bin/sudo must be owned by uid 0 and have the setuid b...
Byron asked 3/5, 2016 at 12:9

3

Solved

On macOS (High Sierra) when I attempt to list the file at the path /private/var/db/ConfigurationProfiles/Store I get the error "Operation not permitted". Using sudo doesn't better it and even em...
Guilty asked 25/9, 2019 at 14:7

4

Solved

I have a very simple config.yml: version: 2 jobs: build: working_directory: ~/app docker: - image: circleci/node:8.4.0 steps: - checkout - run: node -e "console.log('Hello from NodeJS ' + ...
Verleneverlie asked 21/8, 2017 at 12:4

12

WSL v.1 -- VSCode v1.40.1 (using 'Remote - WSL' extension 40.3) How to open a root-owned file for edit using sudo and VSCode? (without running as root) If I open a root file without sudo, I can't...

4

Solved

My question is similar to this git hub post, but unfortunately it is unsolved: https://github.com/hashicorp/terraform/issues/550 I want a simple way to give sudo privileges to the commands run in...
Anthroposophy asked 15/6, 2016 at 23:6

2

Solved

Currently using AWS to run some tests on a machine learning project. I would like to run Python scripts without internet (via root) because the internet bandwidth is extremely limited. I try to run...
Burl asked 16/4, 2016 at 2:16

40

Solved

I just installed node and npm through the package on nodejs.org, and whenever I try to search or install something with npm, it throws the following error unless I sudo the command. I have a feelin...
Parasitize asked 22/4, 2013 at 15:35

4

Solved

Is there way to switch between user accounts using WinSCP? When I am using PuTTY, I can use su command to switch users between different accounts. For an example: kitis@localhost$ kitis@lo...
Fishworm asked 13/7, 2012 at 5:47

5

Solved

When I enter my password for superuser privileges or to log in to my Linux box, if I enter it correctly, it returns immediately, granting me access. However, if I make some typo, there is a long wa...
Aleciaaleck asked 6/2, 2012 at 16:23

3

Solved

In the new GitHub Actions, I am trying to install a package in order to use it in one of the next steps. name: CI on: [push, pull_request] jobs: translations: runs-on: ubuntu-latest steps: - ...
Yakka asked 17/9, 2019 at 22:51

3

Solved

I am working through this tutorial setting up Docker, and I'm finding that all of their examples are written like docker run hello-world but when I try it, it says permission denied on a socket ...
Teleutospore asked 6/7, 2018 at 22:13

5

Solved

I want to run ansible with user sa1 without sudo password: First time OK: [root@centos1 cp]# ansible cent2 -m shell -a "sudo yum -y install httpd" cent2 | SUCCESS | rc=0 >> Second time F...
Ashjian asked 25/5, 2016 at 10:37

4

Solved

I am on a linux virtual machine and I'm trying to run the command sudo synaptic & which should start synaptic in the background. However, it doesn't ask for the password and the program doesn't...
Photomontage asked 29/9, 2014 at 22:23

11

Solved

To execute a shell script in current shell, we need to use a period . or a source command. But why does it not work with a sudo permission? I have a script with execute permission called setup.sh. ...
Finding asked 15/9, 2013 at 6:38

48

Solved

I am trying to globally install an npm module I just published. Every time I try to install, either from npm or the folder, I get this error. npm ERR! Error: ENOENT, chmod '/usr/local/lib/node_mod...
Iatry asked 1/8, 2013 at 9:49

5

Solved

this is my first time to install linux on my system, I think there is a lot of mess here and I feel helpless from too many errors I got when trying to update my system, when use terminal with this ...
Camarena asked 17/4, 2018 at 19:9

11

Solved

Many of you have probably seen the command that allows you to write on a file that needs root permission, even when you forgot to open vim with sudo: :w !sudo tee % The thing is that I don't get...
Brieta asked 8/4, 2010 at 14:36

15

I'm trying to edit files on a remote Amazon EC2 Linux instance. I'm currently just sshing in and using nano, but would really like a graphical text editor. I have two problems: I have to use sudo...
Keneth asked 5/12, 2013 at 23:1

4

Solved

I am running the command: sudo bash But I keep getting an error on my terminal that says, bash: parse_git_branch: command not found Here is my .bash_profile file parse_git_branch() { git b...
Neukam asked 9/11, 2017 at 21:49

13

Solved

I launched a new aws instance. My private ip is ip-10-0-xx-xx as per amazon console. Everytime when I do a sudo command, I get the following error sudo: unable to resolve host ip-10-0-xx-xx How...
Aquilar asked 30/10, 2015 at 17:40

4

Solved

I am new to Ubuntu. And as while editing anything in visual studio code, I had to enter password. so for that I tried to change in sudoers file but after that I am unable to find what happened and ...
Atomy asked 2/10, 2019 at 4:41

3

Solved

On our development servers, we allow multiple developers access to the server to git pull their changes. Normally this requires running sudo systemctl reload php-fpm (or sending USR2, etc.). Howeve...
Kerriekerrigan asked 10/4, 2017 at 18:56

2

Solved

I am using rbenv and I am trying to install sass without success. So, I installed rbenv via Homebrew, then Ruby 2.2 (rbenv install 2.2) and finally gem install sass, but I was unable to make sass ...
Ankney asked 6/3, 2015 at 1:4

2

I'm writing a program which temporarily needs root the first time it is run to perform a configuration change (create a file in /etc). How can I temporarily gain root, by asking the user for their...
Drice asked 2/3, 2013 at 0:31

6

Solved

I have a SVN repository server that runs under the repository user. I want to run a script after every post-commit action. I wrote a shell script that runs from the hook after every commit. It need...
Towbin asked 21/9, 2011 at 11:50

© 2022 - 2024 — McMap. All rights reserved.