English just got a new vps

32 replies
Goto Page
To the start Previous 1 2 Next To the start
08.01.18 05:22:54 am
Up
amtooscaredlool
BANNED
Offline Off
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
08.01.18 06:55:15 am
Up
BcY
Reviewer
Offline Off
You just created an extra account to ask it?
Kgb2d Community - Since 2012
08.01.18 10:43:17 am
Up
apex2d
User
Offline Off
I can help you, guaranteed

PM me

or Discord

Code:
1
Tatakz#3603
Eat Sleep Conquer Repeat. www.Radeon2D.forumid.net
08.01.18 11:00:12 am
Up
xsiN
User
Offline Off
Seems like a troll account
ignore my previous names
08.01.18 12:52:01 pm
Up
CrazyPenguin
User
Offline Off
REMOVED

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
08.01.18 03:32:05 pm
Up
ohaz
User
Offline Off
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 @user CrazyPenguin. It's super dangerous.
https://ohaz.engineer - Software Engineering
08.01.18 03:42:29 pm
Up
CrazyPenguin
User
Offline Off
@user ohaz: it is just a default username named "root" his username could be different on his VPS like I mentioned

relax
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
08.01.18 04:45:16 pm
Up
ohaz
User
Offline Off
Nah, if it's in /root/, then it's not just a "default username", it's root.
https://ohaz.engineer - Software Engineering
08.01.18 05:37:34 pm
Up
CrazyPenguin
User
Offline Off
@user 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)
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
08.01.18 05:45:41 pm
Up
Yates
Reviewer
Offline Off
@user 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.
08.01.18 05:51:10 pm
Up
CrazyPenguin
User
Offline Off
@user 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 ?
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
08.01.18 05:55:51 pm
Up
Yates
Reviewer
Offline Off
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
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
08.01.18 05:56:51 pm
Up
CrazyPenguin_VS_Yates
BANNED
Offline Off
CrazyPenguin VS Yates

First Round starts!
08.01.18 05:57:56 pm
Up
CrazyPenguin
User
Offline Off
@user 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)


@user 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
08.01.18 05:59:16 pm
Up
Yates
Reviewer
Offline Off
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.
08.01.18 06:07:53 pm
Up
CrazyPenguin
User
Offline Off
@user 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
08.01.18 06:14:17 pm
Up
Yates
Reviewer
Offline Off
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.
08.01.18 06:18:08 pm
Up
CrazyPenguin
User
Offline Off
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
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
08.01.18 06:49:14 pm
Up
Yates
Reviewer
Offline Off
Uh. I think you need to lay down using Linux and read a guide or ten first.
08.01.18 07:11:12 pm
Up
CrazyPenguin
User
Offline Off
@user 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 ?
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
To the start Previous 1 2 Next To the start