Question

how i can create server account in openssh ubntu 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/:


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-18-04-quickstart

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