Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash create user with encrypted password

useradd -d /home/dummy -g idiots -m -p $(read -sp Password: pw ; echo $pw | openssl passwd -1 -stdin) dummy
Comment

Linux command to encrypt password

sudo yum whatprovides */mkpasswd
sudo yum install expect
[root@ip-172-31-22-242 ~]# mkpasswd devops
Xphw>97Wt
Comment

PREVIOUS NEXT
Code Example
Shell :: command to create jpeg in linux 
Shell :: append data to a file with cat command 
Shell :: bash loop over files with extension 
Shell :: copy paste file terminal 
Shell :: precompile bits/stdc++.h 
Shell :: install clang++ 
Shell :: linux ubuntu update time 
Shell :: kubectl logs with grep 
Shell :: reload terminal mac zsh 
Shell :: jest for react 
Shell :: static address raspberry 
Shell :: doxygen install 
Shell :: change commit message after push 
Shell :: grpc client 
Shell :: cp command 
Shell :: giphy slack 
Shell :: ubuntu enable network manager 
Shell :: how to set environment variables in linux 
Shell :: copy file to server 
Shell :: How to concatenate string variables in Bash 
Shell :: arch linux wine 
Shell :: kuberetes config 
Shell :: install virtualbox 
Shell :: apache airflow docker 
Shell :: enable ssh on ubuntu 20.04 
Shell :: how to uninstall from /var to increase its size 
Shell :: WSL2 git init 
Shell :: how to add new line to each line 
Shell :: Installing gitflow locally 
Shell :: kylekatarnls/update-helper does not exist and could not be created 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =