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
We have about 3 resellers on one server and all of a sudden, when I log in to whm and click "Show Reseller Accounts", all accounts show under root.. What's even strager, is that under package colum, it says "undefined"
However, when I click "list accounts", all accounts show and they are properly setup up with the correct package and owner (not all root.. They also show to which reseller they belong).
how to fix the problem when I click "Show Reseller Accounts"?
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.
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.
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?
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?
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?
I'm trying to install the following portwatch script on my server to count the # of connections coming from various IPs:
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?
i have a dedicated server i get server for study unix manage i have a problem by SHELL FILES ( hacker shell file ) other Site can Upload Shell file and get Access for edit other Site in server i set tweak scurity in CPANEL and Disable Function and i give not Shell access to all site but hacker can hack me by Shell access Hacker can not hack me by c99 Shell but can hack by New shell i upload this shell in my server Link: [url]
I am trying to write a shell script to help me automate the install of a php script. I have all the commands in a text file for copying and pasting into shell client however because username changes with each install i can not execute all commands at once. This is what I have so far.
ive just token over my old hosts server as he had no time to run his hosting company so im a nOOb to the whole server management shell side of things, and im wondering if someone could help point me in the way of a tutorial on how to upload to the shell of the server, im trying to upload whm master reseller and some other cpanel addons,