
8
4.
USER CREATION FOR STORE & FORWARD (S&F)
Now that we have our VPS up and running through the Putty terminal,
let's create a new user
for the specific use of S&F
.
It is important not to use the ADMIN user for the S&F implementation.
1.
Before creating the new user, both for new versions of Linux and Ubuntu 22.04, we
must enter the following commands.
This procedure will restart your VPS and stop the SSH connection, so you will
need to reconnect via SSH.
sudo sh -c 'echo "HostKeyAlgossh-rsa" >> /etc/ssh/sshd_config'
sudo sh -c 'echo "PubkeyAcceptedAlgossh-rsa" >> /etc/ssh/sshd_config'
sudo reboot
2.
Shut down the PuTTY terminal and reconnect.
3.
We create the specific user for Store & Forward. In this case, our user will be called "SAF".
sudo adduser --home /home/saf/ saf
4.
Enter the new password for the SAF user.
5.
Leave the following requested data (Full name, room number...) empty and press ENTER.
6.
Press the "y" key to accept that the information is correct.
7.
Enter the following commands in the terminal to change the user to SAF.
su saf
cd
mkdir sync