just got a new vps
32 replies08.01.18 05:22:54 am
hey i just got a new vps can some1 help me with setting it up its lunix im too dumb to do it i tired to download cs2d failed :?
add me on here and ill send u my discord link or skype what ever helps me thru this problem
+ slow vps 500ram Fml
add me on here and ill send u my discord link or skype what ever helps me thru this problem
+ slow vps 500ram Fml
I can help you, guaranteed
PM me
or Discord
PM me
or Discord
Code:
1
Tatakz#3603
Eat Sleep Conquer Repeat. www.Radeon2D.forumid.net
REMOVED
Since the user is banned
Since the user is banned
edited 2×, last 09.01.18 11:10:13 pm
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
NEVER EVER run CS2D as root. Just don't. Don't even start giving advice that contains running applications as root. Please edit your guide @
CrazyPenguin. It's super dangerous.

https://ohaz.engineer - Software Engineering
@
ohaz: it is just a default username named "root" his username could be different on his VPS like I mentioned
relax

relax
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
Nah, if it's in /root/, then it's not just a "default username", it's root.
https://ohaz.engineer - Software Engineering
@
ohaz: When you buy VPS you get a username for your server which you use to login to FileZilla and PuttY
When you login to FileZilla all your server folders are stored under your username (in my case "root")
You store the CS2D folder under your username (in my case "root") because there is nothing else then your username file in there and what is in it
Once you store your CS2D folder under your username you navigate the command going trough your username folder which in my case is "root" that means /root/ (1st folder main folder) CS2D/ (then folder under it which is CS2D folder) /cs2d_dedicated (the server file)

When you login to FileZilla all your server folders are stored under your username (in my case "root")
You store the CS2D folder under your username (in my case "root") because there is nothing else then your username file in there and what is in it
Once you store your CS2D folder under your username you navigate the command going trough your username folder which in my case is "root" that means /root/ (1st folder main folder) CS2D/ (then folder under it which is CS2D folder) /cs2d_dedicated (the server file)
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
@
CrazyPenguin: The default user account that comes with (almost) all Linux systems is root. You should instantly create a new account with sudo permissions and disable the root user account. The root user has access to everything, it can do everything and that's why running processes as root is so dangerous as these processes may use the root user permissions (as its run as root) to do serious harm to your system.
Never run anything with root. It's bad practice and very stupid.

Never run anything with root. It's bad practice and very stupid.
@
Yates: And what users can access my root without password and SSH security key except me ?
And what system they can harm ? The VPS or my own computer which I don't even run the server on ?

And what system they can harm ? The VPS or my own computer which I don't even run the server on ?
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
I never said users, I said processes.
There was a cool little trick a few years back we used with CS2D. We were able to use Lua to execute commands on your server as the user you started the process with (edit: you might be able to still do this lol).
Let's say you start cs2d_dedidated with the user root and I am able to take over the process, I could (depending on the process) be able to execute commands to fuck-up your system like
This of course depends on whether the command needs password authentication, but I could definitely delete your entire user folder. That would be pretty sad, wouldn't it?
Don't use the root account. It's evil.
There was a cool little trick a few years back we used with CS2D. We were able to use Lua to execute commands on your server as the user you started the process with (edit: you might be able to still do this lol).
Let's say you start cs2d_dedidated with the user root and I am able to take over the process, I could (depending on the process) be able to execute commands to fuck-up your system like
chmod -R 777 /*
This of course depends on whether the command needs password authentication, but I could definitely delete your entire user folder. That would be pretty sad, wouldn't it?
Don't use the root account. It's evil.
edited 3×, last 08.01.18 05:58:12 pm
@
Yates: delete files and damage what ? My VPS or my real computer I am currently on ? Because my computer does not run the server it is from the VPS (virtual machine with different IP)
@
CrazyPenguin_VS_Yates: did you just created a account for this ? Btw this is not a fight just a discussion calm down

@

edited 1×, last 08.01.18 05:59:43 pm
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
Oh you're running it as a virtual machine? That makes things even more interesting! Depending on the configuration of a possible bridge I could do harm to both systems. I would even be able to access modem and router settings if these are not protected well enough (they never are).
Possibilities are endless with root. That's why you lock it up and throw away the key.
Possibilities are endless with root. That's why you lock it up and throw away the key.
@
Yates: What about SSH key ? Do you need it to access anything ?

AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
No, because you ran the process as root. This is the same for any other account, but at least they need sudo permissions and authentication upon using sudo.
So just create another folder that is not in root and place CS2D in there then run it from there ?
What is sudo premission and what authentication ? Do I have them do I know them ? Or this is something that hosting service has ?
And "sudo passwd root" will be enough to set a crazy password I won't ever need to lock it ?
So
What is sudo premission and what authentication ? Do I have them do I know them ? Or this is something that hosting service has ?
And "sudo passwd root" will be enough to set a crazy password I won't ever need to lock it ?
So
chmod -R 777 *
is good and chmod -R 777 /*
is bad ? edited 5×, last 08.01.18 06:45:20 pm
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
@
Yates: that is not really helpful at this moment since I am running my server currently this way, its how other people that ran it this way explained it to me
So far so good, but can you tell me other way on how am I supposed to upload CS2D folder on my VPS server and run it ? This is the only way I know
And will "sudo passwd root" command be enough to set a password to lock root ?

So far so good, but can you tell me other way on how am I supposed to upload CS2D folder on my VPS server and run it ? This is the only way I know
And will "sudo passwd root" command be enough to set a password to lock root ?
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167