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

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.

0
votes
1answer
24 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
34 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: "...
1
vote
1answer
20 views

re-requiring sudo prompt for a password?

By default sudo seems to cache passwords for like 5 or so minutes. ie. You do sudo something once and you're prompted for the password and then any subsequent sudo command you do for 5 minutes doesn't ...
0
votes
0answers
13 views

Sudo sshuttle -r -x

Sshuttle can direct all you local internet traffic through SSH, like a poor man VPN. sshuttle -r root@11.54.78.145 0/0 --dns -x 11.54.78.145 Then it asks for local root password. Can I put sudo ...
0
votes
2answers
58 views

Command found only when used with `sudo` in terminal

I am on debian 9. There are some commands that cannot be found when I don't type sudo right before. Can I disable this feature? I have Arch Linux and it does not have this security feature. My user ...
0
votes
2answers
67 views

One-liner capturing output for sudo kill

Background I have some root processes that I'm trying to kill, more precisely some tcpdump processes. Hence, I need to use sudo kill. My current command looks something like this: sudo kill $(ps ...
1
vote
1answer
20 views

Accidentally added a character outside of a comment in sudo file on Mac, sudo not working any more

I made a mistake in terminal, and now every time I use sudo, I get the error message: sudo: unable to initialize PAM: Invalid argument I know what I messed up, which is adding a character outside of ...
0
votes
2answers
47 views

Error when ssh to remote server when using sudo user

Trying to do ssh to remote machine over sudo user and getting error but doing ssh thru my normal user getting connection error. Here is the detail process. case_1 - ssh by Normal User - Working fine ...
1
vote
1answer
31 views

Bash double brackets [[ with sudo

I've got a command that is working when run as the current user but if I prefix sudo to the command, it gives me an error. I'm trying to remove a file if it's a directory (but not if it's a symlink ...
1
vote
0answers
54 views

dpkg: unrecoverable fatal error, aborting: read error in '/var/lib/dpkg/diversions': Is a directory

While upgrading using sudo apt-get upgrade or any installation, an error appears as : dpkg: unrecoverable fatal error, aborting: read error in '/var/lib/dpkg/diversions': Is a directory I made a ...
1
vote
1answer
33 views

Plink does not work with commands file for git in sudo

I use plink.exe for automatisation of git commands and this works fine. But i need to use this with servers with login of sudo plink.exe -ssh argentium@186.118.154.164 -m commands.txt my commands....
1
vote
1answer
24 views

Root user to execute a script without privilege but allow sudo commands to run without password

So as root (in /etc/rc.local) I want to run a script without root privileges say using su su - myuser -c myscript but in the myscript I want to run a command with sudo without giving a password. ...
1
vote
0answers
39 views

Error installing Sudo on Debian

I'm trying to install sudo on Debian. At first I logged as root and then apt-get install sudo when I open nano /etc/sudoers it is an empty file. Here is a screenshot of my apt-get install sudo. Does ...
0
votes
0answers
33 views

sudo/pkexec vs sandbox: Differences & Pros/Cons

I am looking at running Jitsi on Debian. For security reasons, I want to isolate Jitsi from the rest of the system. I could use a VM, but I want a lighter solution. So I looked at sudo/pkexec vs. ...
0
votes
0answers
63 views

Plink sudo rootsh send password

I want to automate some tasks on a server and i'm having some issue with sending the password for sudo. Scenario: linux server can ssh with local user ( I can send this user's password via plink) ...

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 |