Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 24, 2012, 08:55:35 AM

Pages: [1]   Go Down
  Print  
Author Topic: Directory Access  (Read 2137 times)
rickei
Spacescooter Operator
*****
Offline Offline

Posts: 48


« on: December 03, 2010, 07:58:46 AM »

how do I access this directory?
/usr/sbin/
« Last Edit: December 03, 2010, 11:45:50 PM by katrina1 » Logged
katrina1
Guest
« Reply #1 on: December 03, 2010, 11:46:44 PM »

If you are on a shared server rather than VPS or Dedicated, you can't access it.
Logged
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5215



« Reply #2 on: December 05, 2010, 03:59:39 AM »

What do you want to do with /usr/sbin? Obviously on a shared server you can't write or install anything to it, but you can certainly read or run anything there. Do you have some software that instructs you to install it into /usr/sbin? You will have to put it into your own directory somewhere (say, /home/ACCOUNT/bin/) and either update references to it to explicitly point to your own bin directory, or change your $PATH environment variable to add your bin to the standard search path.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
rickei
Spacescooter Operator
*****
Offline Offline

Posts: 48


« Reply #3 on: December 09, 2010, 03:29:44 PM »

that's what i thought.
i received a support ticket, that said i had a script running from that directory and that I needed to remove it, or my account would be suspended....there was NO other info provided to me, so I have closed the ticket

don't know why LP felt like they needed to threaten me with suspension as I obviously can't put anything there... If LP had evidence that I had  something that could inject a script to that directory or something, they did not provide me with that info... only a suspension warning.
Logged
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5215



« Reply #4 on: December 10, 2010, 08:22:03 PM »

Are they saying that you added a script to /usr/sbin (and are running it)? That doesn't make sense, as there shouldn't be any way for you (or even a hacker who has compromised your site) to do anything but read/execute something that's already there. On the other hand, you might well be running a standard system script or tool that lives in that directory, and doing it to excess. Presumably this is a shared server, and not VPS or dedicated, where you would own /usr/sbin anyway. If your account actually did manage to install something to a public directory, that would be LP's security problem, not yours. I think the first thing to do would be to find out what script is running, and who owns it (you?). If it belongs there (not owned or installed by you), you need to see if you have something installed on your site (either by you, such as in canned software, or by a hacker) that is invoking this script excessively and needs to be tamed or removed. If you don't know how to "grep" your files for the command/script in question, ask support to do it for you. While you're at it, you can do an ls -la /usr/sbin/commmand name to find out who owns it. Something strange is going on here. Most likely, a hacker or piece of canned software is calling a legit system script to excess, and you misunderstood what you were told.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
  Print  
 
Jump to: