Vice City: Multiplayer

Off-Topic => Off-Topic General => Topic started by: Kewun on Nov 02, 2016, 10:56 AM

Title: command line root
Post by: Kewun on Nov 02, 2016, 10:56 AM
What is the command line to run linux server when using root account?
Title: Re: command line root
Post by: Murdock on Nov 02, 2016, 11:50 PM
You simply dont
Title: Re: command line root
Post by: Kewun on Nov 03, 2016, 06:31 AM
I do. Stop lieing. I already found it.
Title: Re: command line root
Post by: Thijn on Nov 03, 2016, 07:53 AM
What Murdock means is you shouldn't.

What if your IRC script is broken, and you have an exec command that for some reason can be used by everyone.
Can you guess what happens when someone uses the system() function using that? I can basically take over your VPS, lock you out, steal all your files, DDoS people and let your VPS taken down while you get the blame.

So, do not run your server as root.
Title: Re: command line root
Post by: Kewun on Nov 03, 2016, 08:00 AM
Well, thats right
but i dont have any exec command or broken irc scripts
Title: Re: command line root
Post by: . on Nov 03, 2016, 11:48 AM
sudo ./server -allow-server-runas-root
C'mon guys. Let the man go for the stars and then fall down like one ;D
Title: Re: command line root
Post by: EK.IceFlake on Nov 03, 2016, 11:55 AM
How do you know that? I managed to (or more specifically reached a point where I can) take down EC - one of the biggest servers in VCMP - using IRC injection.
Title: Re: command line root
Post by: vito on Nov 03, 2016, 02:48 PM
Best security here - nobody want to hack vc-mp servers. Don't care about security.
Title: Re: command line root
Post by: Kewun on Nov 03, 2016, 04:13 PM
Quote from: EK.CrystalBlue on Nov 03, 2016, 11:55 AMHow do you know that? I managed to (or more specifically reached a point where I can) take down EC - one of the biggest servers in VCMP - using IRC injection.
because i dont have any irc shits or exec shits
Title: Re: command line root
Post by: Murdock on Nov 03, 2016, 05:55 PM
Quote from: Kewun on Nov 03, 2016, 04:13 PMbecause i dont have any irc shits or exec shits

How are you so sure about that? From what I've seen you copy-pasted so many scripts who knows what could be in there
Title: Re: command line root
Post by: Kewun on Nov 04, 2016, 01:54 PM
And how are you sure? You don't have my server,. And I copy pasted like only 2 scripts

Locked because I don't want get more spams in this topic by people which are still complaining that I have broken scripts