how i can create server account in openssh ubntu 18.04

Posted June 10, 2021 115 views
SecurityUbuntu 18.04

when i installed and i configured openssh server in ubuntu 18.04 , i searched how can i create a server account with username and password ..
i want when i execute this command serveraccount:x:1001:1001::/filedestination/:

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @yossrayahya96,

As far as I see, you want to create a user with it’s own home folder, is that correct?

If that’s true you can follow DigitalOcean’s tutorial here:

Please check it out and let me know if that was the desired outcome.

by Brian Boucheron
This guide will show you how to create a new user with `sudo` access on Ubuntu 18.04, without having to modify your server's `/etc/sudoers` file.