Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Banned by xhosts web hosting for typing 'sudo' command once

123457»

Comments

  • @itachikonoha said: To be fair, it's a limitation of 20i platform that the provider is using. So xhost doesn't really have much control over it.

    That would have at least been a reasonable answer.

    Instead he took the "if its a clear error, there is no issue the account is unblocked and everyone is happy" route... as if losing access to your server pending a response from support (that may or may not restore your account) isn't a big deal. It's a big deal. For anyone to say otherwise is minimizing a shit product.

    Thanked by 1yoursunny
  • rskrsk Member, Host Rep

    @Petey_Long said: 20i platform

    Maybe it's time to move away from that platform, if it doesn't work in anyone's favour...

    Thanked by 1yoursunny
  • hostnoobhostnoob Member
    edited March 2025

    @TimboJones said:

    @hostnoob said:

    @xHosts said:
    When it comes to what will become a timepit of unblocking SSH over and over it is not viable as a business as that will be taking up valuable time for customers who made need support on a real issues

    Don't blame that on the customer. This is something you literally imposed on yourself.

    He successfully detected and kicked off an annoying time waster. The fucking OPs intention was to break the server. It's not his server, he had no permission. He should be banned.

    I was talking specifically about blaming the time-wasting on customers. This is applicable to all customers, not just the OP but even someone who does just type sudo accidentally. The time wasting is something he brought on himself.

    It's like installing a car alarm system that causes the engine to break down when someone touches the car - to stop someone stealing it - and it takes an hour to fix.

    Instead of putting a fence or wall up so people can't touch it, or allowing people to touch the car and only triggering the alarm if someone tries to break in, he adds a sign saying "Do not touch the car"

    If someone then touches the car, the engine breaks and he then complains that he has to spend an hour fixing it.

    It's simple. Either change the message to inform the customer what will happen if they run sudo or change out of the user directory (suspension + a long wait until someone reviews the case), or just block the commands being run without causing extra work for support.

  • @hostnoob said: It's simple. Either change the message to inform the customer what will happen if they run sudo or change out of the user directory (suspension + a long wait until someone reviews the case), or just block the commands being run without causing extra work for support.

    Seems fair. Better than the current system.

    Thanked by 2anakara DewlanceVPS
  • @Petey_Long said: How about just go with a proper host who has their shared hosting properly locked down?

    👍🏻@i20

  • hyperblasthyperblast Member
    edited March 2025

    @rsk said:

    @Petey_Long said: 20i platform

    Maybe it's time to move away from that platform, if it doesn't work in anyone's favour...

    do you think the platform should be abandoned because they don't allow shady proxieservices on their shared hosting packages? is that what you mean?

  • @Petey_Long said:
    Imagine telling people "don't use sudo" and "don't stray from your home directory" LOL

    How about just go with a proper host who has their shared hosting properly locked down? Guess what happens when I type "sudo " in a regular shared environment? What about listing home directories?

    thedude@shitbox:~$ sudo apt-get update
    Command 'sudo' not found, but can be installed with:
    apt install sudo       # version 1.9.9-1ubuntu2.4, or
    apt install sudo-ldap  # version 1.9.9-1ubuntu2.4
    Ask your administrator to install one of them.
    thedude@shitbox:~$ apt-get install sudo
    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
    thedude@shitbox:~$ cd /home
    thedude@shitbox:/home$ ls
    ls: cannot open directory '.': Permission denied
    

    Banned for typing in "sudo" is ridiculous. Telling people to "stay in their home directories" is even more ridiculous.

    I guarantee, 100%, that everyone has had an instance where they had multiple terminal tabs open and accidentally executed a command they intended for one server, but shortly after executing, realized it was the wrong server. Accidents happen...but if they happen with xHosts, they send your ass packin'

    Hit up someone like @MikeA, @speedypage or @labze for proper shared hosting - they don't have any of these weird ass quirks.

    Sure, all of the mentioned hosters allow sudo commands in their shared webhosting packages.... Not

    OP was not banned cause of running sudo commands. He got refunded as @xHosts mentioned. Sudo commands are blocked as also mentioned by @xHosts If you run sudo commands your ash access will be blocked and you ask through a ticket to get access again. So many mjjs are trying to blame the hipster for this is imo ridiculous.

    Thanked by 1hyperblast
  • ...and an attempt was made to run shady scripts on the shared hosting.

  • rskrsk Member, Host Rep
    edited March 2025

    @hyperblast said:

    @rsk said:

    @Petey_Long said: 20i platform

    Maybe it's time to move away from that platform, if it doesn't work in anyone's favour...

    do you think the platform should be abandoned because they don't allow shady proxieservices on their shared hosting packages? is that what you mean?

    Definitely not that, but there are proper ways to manage this instead of just outright banning because some one is traversing (or trying to) a directory out of their own, or if they use sudo...

    Edit: Plus, 20i is not their platform, and seems like they are middleman-ning/reselling shared hosting through 20i? Less control overall from the host and depends completely on 20i.

    Thanked by 1borkedascii
  • DewlanceVPSDewlanceVPS Member, Patron Provider

    Next thread "I tried rm -fr *" just for curiosity with my new hosting company.

    Thanked by 1yoursunny
  • I love threads like this, thank you LET

  • MannDudeMannDude Patron Provider, Veteran

    @Petey_Long said:

    @xHosts said: Petey you would have also read that if an account is blocked and from SSH logs it is easy to see someones intent if it is an error because of multiple tabs or not, I have said so many times on the thread if its a clear error, there is no issue the account is unblocked and everyone is happy.

    You're missing my entire point. I just showed you, on a competing provider, what happens when you type in your "forbidden phrases" and guess what? My account is still chugging along and my provider doesn't care. Why? Because the provider has everything set up properly and I'm unable to do anything outside of my home directory - as intended.

    Your setup sounds janky as fuck all around but hey, if people are willing to throw down $5 for a lifetime deal after scrolling past the thread where a the guy failed with $15 lifetime deals, by all means, keep it up! Didn't think people would be so stupid but I gotta give credit where credit is due.

    Curious, who is the other provider. I never enabled jailed SSH or entertained the idea of permitting it because in my testing a user could still cat files outside of their directory, see running processes which includes other customer's usernames, etc. Jailed SSH seems like a privacy and security nightmare. At least it was a few years ago in DirectAdmin, unsure if better now.

    Are you able to view system files or print all directories in /home/ or anything?

  • @MannDude said:

    @Petey_Long said:

    @xHosts said: Petey you would have also read that if an account is blocked and from SSH logs it is easy to see someones intent if it is an error because of multiple tabs or not, I have said so many times on the thread if its a clear error, there is no issue the account is unblocked and everyone is happy.

    You're missing my entire point. I just showed you, on a competing provider, what happens when you type in your "forbidden phrases" and guess what? My account is still chugging along and my provider doesn't care. Why? Because the provider has everything set up properly and I'm unable to do anything outside of my home directory - as intended.

    Your setup sounds janky as fuck all around but hey, if people are willing to throw down $5 for a lifetime deal after scrolling past the thread where a the guy failed with $15 lifetime deals, by all means, keep it up! Didn't think people would be so stupid but I gotta give credit where credit is due.

    Curious, who is the other provider. I never enabled jailed SSH or entertained the idea of permitting it because in my testing a user could still cat files outside of their directory, see running processes which includes other customer's usernames, etc. Jailed SSH seems like a privacy and security nightmare. At least it was a few years ago in DirectAdmin, unsure if better now.

    So you only offer hosting for static files? Or only PHP with PHP safe mode? Otherwise, how do you make sure that those scripts don't access any files they shouldn't? Yes, SSH makes it more convenient to have a look around the system, but if you allow any scripts you have the exact same issue.

  • xHostsxHosts Member, Patron Provider

    @Petey_Long said:

    @itachikonoha said: To be fair, it's a limitation of 20i platform that the provider is using. So xhost doesn't really have much control over it.

    That would have at least been a reasonable answer.

    Instead he took the "if its a clear error, there is no issue the account is unblocked and everyone is happy" route... as if losing access to your server pending a response from support (that may or may not restore your account) isn't a big deal. It's a big deal. For anyone to say otherwise is minimizing a shit product.

    You do not lose access to the account in the event of a block, simply SSH.

    Fully account blocks are only done normally

    A) you contact asking to ssh back, you say something like i tried to restore a wordpress backup but the logs show you tried to run this type of script or have other nefarious actions

    @rsk said:

    @Petey_Long said: 20i platform

    Maybe it's time to move away from that platform, if it doesn't work in anyone's favour...

    It seems to work fine for hundreds on my account and I suspect thousands of others direct and other resellers, all about people talking to staff, being clear on their intent if statf ask a few simple questions if they report issues with SSH, the customer being honest is not hard. When someone is evasive that is when issues arise

  • rskrsk Member, Host Rep

    @xHosts said: It seems to work fine for hundreds on my account and I suspect thousands of others direct and other resellers, all about people talking to staff, being clear on their intent if statf ask a few simple questions if they report issues with SSH, the customer being honest is not hard. When someone is evasive that is when issues arise

    Yes, I am completely supportive of that, and even we would do the same thorough approach if required, and make sure we only have legitimate customers who will abide by the T&Cs set forth.

    On the other hand, I would still prefer to use a control panel for shared hosting that manages this a bit differently, and allows users access to ssh, but without the ban hammer part.

    I am with @xHosts on this one, client clearly signed up for something and went vague and then decided to install something from github without making sure it was allowed. Shared hosting is for websites and some files, for God's sake, it was a $3-something lifetime deal.

  • xHostsxHosts Member, Patron Provider

    @rsk said:

    @xHosts said: It seems to work fine for hundreds on my account and I suspect thousands of others direct and other resellers, all about people talking to staff, being clear on their intent if statf ask a few simple questions if they report issues with SSH, the customer being honest is not hard. When someone is evasive that is when issues arise

    Yes, I am completely supportive of that, and even we would do the same thorough approach if required, and make sure we only have legitimate customers who will abide by the T&Cs set forth.

    On the other hand, I would still prefer to use a control panel for shared hosting that manages this a bit differently, and allows users access to ssh, but without the ban hammer part.

    I am with @xHosts on this one, client clearly signed up for something and went vague and then decided to install something from github without making sure it was allowed. Shared hosting is for websites and some files, for God's sake, it was a $3-something lifetime deal.

    It could be managed a little better, the main reason they advise of ban is that once the ban happens, the customer will either leave the SSH blocked or make contact which in some views will force the customer to engage and discuss their use, at that point logs can be reviewed and if the service is not suitable for their intended use they have the options to switch to a service that does suit their needs or switch to another provider that can provide. They explained to me while banning the SSH access will prevent someone who has nefarious intent who maybe probing the system for either a loophole or a zero day stands a high chance of being blocked before either of them are found.

  • @hostnoob said:

    @TimboJones said:

    @hostnoob said:

    @xHosts said:
    When it comes to what will become a timepit of unblocking SSH over and over it is not viable as a business as that will be taking up valuable time for customers who made need support on a real issues

    Don't blame that on the customer. This is something you literally imposed on yourself.

    He successfully detected and kicked off an annoying time waster. The fucking OPs intention was to break the server. It's not his server, he had no permission. He should be banned.

    I was talking specifically about blaming the time-wasting on customers. This is applicable to all customers, not just the OP but even someone who does just type sudo accidentally. The time wasting is something he brought on himself.

    It's like installing a car alarm system that causes the engine to break down when someone touches the car - to stop someone stealing it - and it takes an hour to fix.

    Instead of putting a fence or wall up so people can't touch it, or allowing people to touch the car and only triggering the alarm if someone tries to break in, he adds a sign saying "Do not touch the car"

    If someone then touches the car, the engine breaks and he then complains that he has to spend an hour fixing it.

    It's simple. Either change the message to inform the customer what will happen if they run sudo or change out of the user directory (suspension + a long wait until someone reviews the case), or just block the commands being run without causing extra work for support.

    Your analogy is incorrect. More accurately, random person wasn't just "touching" the car, his intent was to break the engine. The fucking off to the customer prevented the car from needing a trip to the repair shop. The hassle is the need to fucking off a customer. That's better than a trip to the garage.

Sign In or Register to comment.