add new user Print

  • root login off, root user change, add user, adduser
  • 0

adduser username
passwd username

usermod -aG wheel #user

sudo vi /etc/ssh/sshd_config

PermitRootLogin no, kaj ses hole yes korte hobe.
PubkeyAuthentication yes
PasswordAuthentication yes
AllowUsers bdwebs09

sudo systemctl restart sshd

Now log in with new user then use the command sudo -i


 

 


Was this answer helpful?

« Back

Leave a Message
We are currently offline.