How Can I Zip One File With Shell And Move It

Dec 29, 2007

How can I zip one file with Shell and move it to another account on the same server.

also, how can I copy a database from one account to another one on the same server.

View 3 Replies


ADVERTISEMENT

How To Make Shell Cant Show File

May 22, 2007

i setup mod_security and disable this function
system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec, highlight_file,pclose,pfsockopen,chmod,debugger_off,debugger_on,leak,ftp_exec,posix_uname,getmyuid,g etmygid,posix_kill,posix_mkfifo,chgrp,listen,define_syslog_variables,posix_getpwuid,get_current_user ,apache_child_terminate,posix_setpgid,posix_setsid,posix_setuid,getservbyport,getservbyname,myshelle xec,escapeshellarg

and now i have good security but i want ask hhow to make shell dosent show any files and also want know how i can change the error pages design like 400 410 for all my servers

View 1 Replies View Related

How To Move A File Via Ssh

Aug 7, 2008

How to move a file via ssh?

I wish to download the following file : wordpress.org/latest.tar.gz

To my server via ssh, how can I do it, is it possible?

Is it really possible to transfer the file directly with out downloading to my desktop and uploading.

If any one got information please share as it could be really helpful for us, as we need to download files almost 10-20 different such files to our site

View 12 Replies View Related

Move To Another Host With .Tar.Gz Backup File

Jan 12, 2009

I'm thinking about moving an account with one main domain and a bunch of addons from one cpanel host to another, using a whole site backup .tar.gz file. SSH does not appear to be an option at this point.

I just extracted the tar.gz to a local pc to get a look at what's in it. It has these 12 folders: bandwidth, cp, cron, dnszones, logs, meta, mysql, resellerconfig, userdata, va, vad, vf. Below these folders are also 14 unfoldered files, ranging from "addons" to "version."

So, will this work?

1. Does this mean the domains and all the addons will be set up with their original user names, passwords, and email accounts with all the same passwords, if I move everything to the right location? Will all the email accounts I've set up in my email client software work just as they do now with the current host?

2. How can I know where all these uploaded folders and files have to be moved once they're there?

3. Can I just upload the extracted contents to one location, or do I have to upload the unextracted tar.gz to a server, extract there, then move the contents wherever they need to be moved (but I don't know where things need to be moved now)?

View 6 Replies View Related

Modify Conf File Using Shell Script/Command Line

Jan 17, 2006

i want to modify a conf file using commandline or a shell script. for eaxmple:

here is a line from my conf file:....

View 1 Replies View Related

Change Jail Shell To Normal Shell

Jul 8, 2008

Do any1 know how to change jail shell to normal shell?

View 14 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php

May 26, 2008

Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.

I want to use the file like this:
website1.com/file.php
website2.com/file.php

View 2 Replies View Related

Shell

Sep 30, 2007

my server in under attack of shell

how can i find shell code in my server? (c99 ...)

is any anti virus or open source tools to find it

how can i disable shell function?

View 4 Replies View Related

Shell Allow.

May 10, 2007

I have spare dedicated machine.

I want to allow user to run few processes on machine (debian etch).

I configurated limits at /etc/security/limits.conf for group "shell".

When I attached user to group shell, limits work well, but he still can look
everywhere on system. (he can do cat /home/somefile.txt, even owned by root).

Is there any method, software to limit user to acces only their home directories?

View 2 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

How Can I Show Hidden File In Cpanel File Management Tool

Jun 16, 2008

i have a server with centos,

i need to edit the hidden file .htaccess from the file management tool of cpanel,

but the hidden files not shown,

ow can i modify the setting and let the files shown in the file management tool of cpanel?

View 6 Replies View Related

Plesk 12.x / Windows :: STOP Resetting File Permissions On DLL File?

Sep 17, 2014

How can we stop Plesk resetting the file permissions on a dll file that is found in

C:Program Files (x86)

??

Specifically,

we have a file, jmail.dll,

here

C:Program Files (x86)Dimacw3JMail

By default Plesk permissions are set to DENY for PSACLN.

But the JMail plugin cannot work with these permissions !

We change this to be ALLOW for READ & EXECUTE and DENY for WRITE.

And everything works fine.

But every time Plesk does an update it reverts it back !

This means that a number of our customers contact forms stop working !

View 12 Replies View Related

Shell And Php Security

Jun 7, 2009

For security reason I have these php functiosn disabled:

show_source, system, shell_exec, exec, popen, proc_open, procopen, passthru

Can anyone please tell me whether if it will prevent shell scripts from working?

They can still upload the shells but cant read/write/execute commands in 777 directories?

View 6 Replies View Related

SSH/Shell Not Connecting

Apr 16, 2005

I'm having a problem connecting to SSH/Shell on my server. I get the Login Prompt, but when i enter the User/Pass i just get "SSH-2.0-OpenSSH_3.6.1p2", everything under that is blank.

I've restarted the SSH Server and made sure the account i was using was set to use Normal Shell (not jailed). What could be the problem?

View 3 Replies View Related

Chmod Using Shell

Oct 8, 2006

I was wondering if it were possible to chmod a directory that is set to a low number to 777 using a shell or command and if so can anyone point me in the right direction as to how to go about doing so ??? I am trying to learn a little and i pefer using my browser to edit files rather then a ftp client.

View 9 Replies View Related

Pennsylvania VPS Or Shell

Jun 9, 2007

I was just wondering if anyone is aware of Linux VPS or shell account providers with servers that are physically located in Pennsylvania. The only two I've come across so far are Nocster and VPS Village.

View 2 Replies View Related

What's Shell Access?

Oct 8, 2009

I keep seeing web hosts where it says that there is/isn't shell access, etc. What's shell access and what do you do with it in/with a web host?

View 14 Replies View Related

Shell DNS Toolkit?

May 27, 2008

Is there a such thing? I use shell mainly for whois info, tracing, telnet for email issues, etc etc. Is there a 'toolkit' for such things?

View 6 Replies View Related

How Do You Use Shell Access?

Nov 6, 2005

I have a script that needs to be run from shell access, but I've never done this before. How do you access a script through shell? Is there software I need to download? Not even sure where to begin.

View 5 Replies View Related

C99 Shell On My Server

Dec 16, 2007

One of our customers uploaded C99Shell script on my server, and he can access to another accounts,
I upgraded php to 5 but he can access with this script to another accounts yet, what should I do to disable this script or other one?

View 14 Replies View Related

How To Program In Shell ?

Oct 11, 2006

I'm trying to program a very simple shell script that does 2-3 things.

1) checks for the number of a script running say, "ps aux | grep php | wc -l" returns that number.

2) deletes temp files folders "cd /to/that/directory/; rm -fr *&" every 90 seconds IF that number in check #1 is below say 50....

and then have this shell script launched in shell every so often, not sure on the frequency but first is how to program in shell is a TIME DELAY....

View 7 Replies View Related

DNS Forwarding Using Shell

Oct 29, 2006

We have customer who has account on our *nix box server and who wanna move to our h-sphere reseller platform because now he want to use asp and mssql.

If it`s .com domain, for example, I would be able to easy change NS1 and NS2, but since this is ccTLD (and we will wait 10-15 days) I need quick solution for DNS forwarding.

ns1.oldnameserver -> ns1.newnamerserver
ns2.oldnamesrever -> ns2.newnamerserver

se when I run ping for example, I have to have reply from new server.

I have shell access but I don`t know how to modify zone or named, since obviously I can not do this using whm.

View 3 Replies View Related

SSH/Shell Access :: How To Use It?

Jun 11, 2008

I have never used SSH/Shell Access, but think I may want to. Can someone explain what it is, and maybe explain how to use it? My web hosting provider provides SSH, but I have no clue what to do.

View 10 Replies View Related

How To A Shell With A Restriction As Not Run Gcc

Dec 17, 2008

how to a shell with a restriction as not run gcc, screen, limit process to use or not use, run programs like bg process etc etc.

View 1 Replies View Related

Shell Access

Aug 1, 2008

I've enabled ssh one of my account in WHM, so I went to cpanel of this account and tried the SSH/Shell Access, but what I got is:

For security reasons, shell access is not enabled by default. In order to activate shell access on your account, you will need to fax or mail a copy of your driver's license, passport or other photo id to customer service.

is this something about SSH Key? do I have to generate a key so I can use the SSH/Shell Access?

View 8 Replies View Related

Jailed Shell On A VPS

Apr 2, 2007

On a VPS I am using, I was astonished to see that when I login through SSH to a WHM account, I can go right up to the VPS system directories, do an ls, read the files etc. the user is able to get into the all the VPS directories, except root.

It's fine in FTP. Although I can see the link to the directory above home, clicking on it does not take the user to those directories.

When I ask my service provider, they say, "Yes, this is normal behavior. The users will still be able to move into the other users' home directories but they will not be able to write to the files or open them".

It seems to me this isn't a good situation. How can I prevent shell users from going beyond their home directories? Is implementing a jailed shell a good option? Can I use this feature that is readily available in WHM?

View 9 Replies View Related

How Do I Run A Cgi Script As Shell

Aug 20, 2007

I'm trying to install the following portwatch script on my server to count the # of connections coming from various IPs:

[url]

I've saved it as a text file called "portwatch", and uploaded to my server. But no matter how I chmod it in FTP and call it in shell, I get a permission denied error. Can someone shed some light on how I'm supposed to run this script in shell?

View 3 Replies View Related

What To Install For Shell Box

Apr 27, 2007

I would like to hear some suggestions about what should i install to a shell box (for irc hosting).

Some people told me about kernel updates, change the ulimits, install a firewall etc..

View 14 Replies View Related

Find Shell

Oct 9, 2007

How can i find shell in my server?

is a program that find them?

my server is linux / centos / cpanel control panel

how can i disable shell in my server?

and stop deface

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved