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 to retrieve verbose volume information, including the UNC/Win32 path, you can check out this repo https://github.com/ader1990/storage-info.
Statically compiled binaries for x86/x64 can be downloaded from the repo.
The x64 binary can be downloaded from https://github.com/ader1990/storage-info/blob/master/Binaries/storage-info.exe.
These binaries work on Windows and do not require any external dependency.
Tested on Windows 7 x86, Windows 10 x64 and Windows Server 2012 R2.
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.