By MyCMD
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!
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 ?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.