Questions tagged [sudo]
The sudo command is a program for Unix and Unix-like computer operating systems that allows a user to run programs with the security privileges of another user (normally the superuser, or root). The name is an abbreviation for "substitute user do" (as in, do a command as if started by another user).
sudo
2,847
questions
0
votes
0
answers
22
views
Sourcing cuDNN from CVMFS (RHEL 8)
I have CVFMS on my machine (my machine is connected to CERN's network so I don't have access to sudo, therefore I can't install linux software normally, I have to source everything), and the path to ...
0
votes
0
answers
17
views
Is there a way of getting elevated access (sudo) on linux using microsoft azure/authenticator or something similar for 2FA?
We are looking for a way of replacing Yubikey KSM which has been EOL for a while. Does anyone know a way of maybe using Microsoft authenticator for getting elevated access for users or any other OTP?
...
0
votes
0
answers
23
views
Is it safe to delete csv files from /opt/lampp/var/mysql
I created these files by the into outfile “./file.csv” sql command, and when I delete them I get this error
Permission denied
I can only delete them using sudo
, but I am worried it will cause ...
-1
votes
0
answers
18
views
Cannot sudo or install sudo on redhat enterprise
We have a server on namcheap and want to check a file. The kernel is
Linux version 4.18.0-513.18.1.lve.2.el8.x86_64
I believe it is redhat enterprise linux.
I ssh to the server but when I try to ...
-1
votes
0
answers
63
views
How to allow macOS application to run as root with preserving the user environment
I have macOS application with GUI, MyApp.app and I need to run it as root, if user opens it(double click the app icon). If I run the application from terminal like:
cd /Applications/MyApp.app/Contents/...
-1
votes
1
answer
43
views
Flutter CLI, ran clean as root user, now I can't run it without sudo
Pretty much as described, I was making a script to automatically clean my build and fresh install my dependencies and accidentally ran flutter clean as root user. I didn't realize it would be an issue,...
-1
votes
0
answers
38
views
Ansibe - Using sudo after switching user
I've an environment where you have a personal user with you can connect to the servers. (i.e. connectuser). With that user you have the permission (%connectusers ALL=(root) NOPASSWD: /bin/su - ...
0
votes
0
answers
40
views
Running sudo command in bash script [duplicate]
I have a db server where I am sshing into and I am running the command sudo -u oracle -H bash and I am able to validate that successfully by doing this manually but I am trying to do the same process ...
0
votes
1
answer
65
views
Unable to run 'sudo mvn' in WSL
When trying to run sudo with mvn e.g. 'sudo mvn spring-boot:run', in WSL (Ubuntu 24), I get the following error: 'sudo: mvn: command not found'.
Obviously, maven is installed and runs perfectly ...
-2
votes
1
answer
193
views
dpkg-checkbuilddeps: error: Unmet build dependencies
I'm building a Debian package using a Ubuntu container on azure pipeline.
Here is the yaml file:
trigger:
- master
pool: 'AWSLinux'
container:
image: ubuntu:20.04
options: "--name sample -...
1
vote
1
answer
62
views
Invoking script using launchd on MacOS is not working
Issue
I have a requirement to monitor a particular folder in Users/<user name>/Libraries/Developer/Xcode/DerivedData. I have written a script that should be run all the time in the background to ...
0
votes
1
answer
39
views
Install Sudo and apt-get in bluehost server [closed]
I have been trying to install sudo command and apt-get command in my Linux server by below command,
yum install sudo or apt-get install sudo
But I am getting below error,
-bash: apt: command not ...
0
votes
0
answers
43
views
SVN only works on sudo on Mac Sonoma
I have the brew subversion installed.
svn, version 1.14.3 (r1914484)
compiled Dec 9 2023, 13:27:10 on arm-apple-darwin23.5.0
Copyright (C) 2023 The Apache Software Foundation.
This software ...
0
votes
1
answer
85
views
Dotnet aspire - workload udpate requires elevated permissions - Sudo can't find command dotnet - M3 Pro MacOS Sonoma
I'm attempting to follow the getting started guide below for .net aspire with VSCode
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling?tabs=linux&pivots=vscode#install-net-...
0
votes
0
answers
21
views
What to do after installing npm packages globally with sudo?
I installed a npm package globally on my Mac. I used sudo for it since I had permission issue.
I know this is totally not the way to do it, but at this time I wasn't aware of it. I read a lot things ...