Hello command line gurus, I've created an ftp user like this:
ftpasswd --passwd --name webftp --uid 33 --home /var/www --shell /bin/false
What I like to do is to create the same user with a preseted password using the --stdin
option. If I use:
echo < passwd > | ftpasswd --stdin --passwd --name webftp --uid 33 --home /var/www --shell /bin/false
I got a message which told me that there the password is not set.
Does anyone see the mistake?
Thank you!
I suggest you to use:
or
where
passwd.txt
is a file that contain the password.These because:
More about: