Home > Linux command line tips and tricks

Linux command line tips and tricks

July 20th, 2007

This awesome page told me about the <<< operator in bash. It rocks. It also told me the best way to set an initial login password:


umask u=rw,go=
openssl rand -base64 6 | tee -a PasswordFile | passwd –stdin joe
chage -d 0 joe

Also, there’s ssh-copy-id:


Usage: /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine


, , ,

Comments are closed.