how securing linux with multi-user ?

Ok so first, I speak avery basical Anglais and i’m a newby on linux ;) Ok, in a lot of tutorial a view pepole creating user for “security” but I don’t know how to do this. Like for make teamspeak3 server whe create a ts3 user and start server in but how do this securly (whit permission).

Sorry if my question is not a loot bright but thanks you for have read this ;)

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.

Ok thanks you @davidwashere !

Ok soo if i make this its normaly secure ?

useradd ts3
su ts3
(install server)

But in a tutorial i have view something like this:

mkdir /home/ts3
chown -R ts3: /home/ts3

For wath this second command is more securely ?

Thanks you jcolyer for your responce, but I know how create user haha :) I don’t know how to securise it for running like ts3 server deamon ;)

(like in this tutorial ( I would know how to make user security for running my deamon out of root user so if ts3 (ex) have backdoor the hacker cant not steal my server or install other think. Thanks you :3

To make a user within your Linux server, you would user the command useradd. So, if you wished to make a user called ts3, you could achieve this by running the following command (as the root user):

useradd ts3

You can read more on using the Linux useradd command via this article, which would also cover granting a user sudo (root level) privileges.

In regards to securing your server’s users, I would recommend utilizing SSH keys. You can read more on SSH keys via this article.

Hope it helps, Jason Colyer DigitalOcean Platform Support Lead