Report this

What is the reason for this report?

how securing linux with multi-user ?

Posted on January 15, 2016

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 ;)



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!

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.

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

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 (http://brioteam.com/how-install-teamspeak-3-server-linux)) 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

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 ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.