Lazy create sudo user
Creating users on Linux is trivial, but creating a user with sudo rights and no password confirmation when using sudo is not.
The script must be run under user root.
Tested on Ubuntu, Debian, CentOS and RHEL.
The lazy programmer scripts
scripts that work
Creating users on Linux is trivial, but creating a user with sudo rights and no password confirmation when using sudo is not.
The script must be run under user root.
Tested on Ubuntu, Debian, CentOS and RHEL.
If you need the lsof functionality on a Windows system, you can check out this repo: https://github.com/cklutz/LockCheck
I have already built the project and you can download the `lsof.exe` binary from https://github.com/ader1990/LockCheck/blob/master/Binaries/lsof.exe.
This binary works on Windows and does not require any external dependency.
Tested on Windows 10 x64.
This script installs latest Riak and Erlang(OTP) 17 on Ubuntu.
Tested on Ubuntu 14.04.
This script works on Windows PowerShell or Linux bash, as long as you have a git binary in the path.
This script sets the MTU size on Linux.
Tested on Ubuntu, Red Hat and SuSE.
Default values:
INTERFACE_NAME=eth0;
MTU_VALUE=65000
Execution:
bash changemtu.sh $INTERFACE_NAME $MTU_VALUE
If parameters are not given, the script is running with the default values.
This script detects the Linux distro. You need to execute it in a Linux shell.
Tested on Ubuntu, Red Hat and SUSE.
Github link