Is it possible to create a new user on Linux, in way that I will not use password that asked from scp ???
scp email@example.com:/home/dir/file . (scp not ask about password)
The target is to copy /home/dir/file to current directory without password, by changing login and password configuration/setup
I create the login/password by this script:
more user.sh #!/bin/sh UNAME=my_new_login UPASS=MY_PASS wall "$UNAME $UPASS" useradd "$UNAME" echo "$UPASS" | passwd "$UNAME" --stdin usermod -g restricted "$UNAME"