Executing A Linux Command Via Text Message

May 24, 2008

how I might be able to execute a Linux command by sending a text message to some email address? Where if that email address gets a message (either any message, or perhaps only messages containing some password), a Linux command is executed, e.g.

named -u named
Perhaps via bash script.

View 14 Replies


ADVERTISEMENT

SSH Command To Record Name Of Files That Contain Certain Text

Jun 26, 2007

I have had multiple websites hacked and need to do a cleanup. I need to run a command that will log all files (including path to that file) that contain <!-- ~ --> to a text file from the /home/* directory.

So far I have recieved 2 different ways to do it but none of them have worked

View 5 Replies View Related

Plesk 12.x / Linux :: Executing Cronjob Every Minute

Apr 18, 2015

A customer want to execute a cronjob in plesk every minute, but the cronjob was only executed every 5 minutes...

(so that the cronjob was executed every minute...)

View 2 Replies View Related

Adding Text To Video In Linux

Jun 19, 2008

way to convert and add some text(watermark) to videos in Linux.

I know ffmpeg can be used to convert video but i does not add text or water mark to video.

So what are my options?

View 3 Replies View Related

Plesk 12.x / Linux :: Webmail Shows Only Text After Changing Link

Sep 18, 2014

I've upgraded from WS2008R2 & IIS to CentOS and Plesk 12.Now, I wanted to change the webmail link for all domains to mail.domain instead of webmail.domain. I've followd 2 guides to do that: URLs....Everything went smooth, but now Horde and Roundcube look like this (even when I restarted the whole server):

View 12 Replies View Related

Plesk 12.x / Linux :: Access Email Passwords In Plain Text (not Encrypted)

Jun 17, 2015

I need to be able to access email passwords in plain text (not encrypted). I'm running with updates so as to not force encryption, which I'm told is a one-way deal. I'm going to have to go to new hardware soon, as I'm finding the hardware starting to fail.

I understand the "mail_auth_view" utility shows the passwords, and was wondering if it will decrypt them for you?

If not, how can I keep the behavior of non-encrypted email passwords so that the customer administrators still have access to them for their users? I know a new install forces encryption, which is why I can't do that. How can I preserve the non-encrypted passwords and move to new hardware? This seems to be a deal breaker for my customers.

View 3 Replies View Related

Plesk 12.x / Linux :: Initial Message Of SSH

Dec 29, 2014

If you want to change the sign in message of SSH

you can edit "/etc/motd" ( message of the day ) 

View 2 Replies View Related

Plesk 12.x / Linux :: Database Cloning Message Keeps On Showing

Dec 30, 2014

When copy a database, plesk would copy it but hung at creating the db user, therefore, the database cloning message keeps on showing

Cloning the database xxxxxx to the database xxxxx. You will be notified of the progress by email (xxxxxxx).

*I checked if the database was copied, it showed it did but the user was not created for that newly copied one.

View 2 Replies View Related

Plesk 11.x / Linux :: Creating Mail Through SSH Error Message

Jul 4, 2014

When I try to create an email address with this command

./mail --create test@domain.com -passwd dommage -mailbox false -manage-spamfilter true -redirect true -rediraddr stevefigueras@yahoo.fr

i get this message error and i don't understand why

-bash: ./mail: No such file or directory

View 4 Replies View Related

Plesk 12.x / Linux :: Migration Failed - Error Message

Jul 16, 2014

I am getting the following error message when I try to migrate sites from an old server to a new server.:

PHP Notice: Trying to get property of non-object; File: /usr/local/psa/admin/plib/backup/Conflicts/PleskDataManager.php, Line: 173
PHP Notice: Undefined index: 192.168.100.25; File: /usr/local/psa/admin/plib/backup/Conflicts/PleskDataManager.php, Line: 180

[Code] ....

View 6 Replies View Related

Plesk 12.x / Linux :: Bounce Message Templates - Postfix

Aug 27, 2014

Is it possible to get Plesk working with different bounce message templates? I'd like to make messages in my Polish language to make people know what the bounce problem is. How can I make plesk not to overwrite the main.cf and bounce directive ?

View 2 Replies View Related

Plesk 12.x / Linux :: Greylisting Log Message - Service Unavailable

Jun 25, 2015

I have a question regarding greylisting.

I activated greylisting on my mailserver and took a look in the logfiles.

The mail are temporary rejected with the following log message / statuscode:

451 4.7.1 Service unavailable - try again later;

Mails from my server to other servers are greylisted with messages like:
451 4.7.1 message delayed, see http://www.greylisting.org ;
452 Greylisted. Please try again after some time.
451 4.7.1 <E-MAIL-ADRESSE>: Sender address rejected: Greylisting in action. Please try again later.

Is it possible to change this log message at my server?

View 2 Replies View Related

Phpinfo.php.gif Executing Php

Mar 6, 2007

Having this problem on chroot'ed sites in Ensim.

This is what I have in my php.conf:

Code:
[root@ns1 conf.d]# cat /etc/httpd/conf.d/php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#

LoadModule php5_module modules/libphp5.so

SetOutputFilter PHP
SetInputFilter PHP

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
This prevents file.php.gif from executing in a non-chrooted site, but in my chrooted sites, file.php.gif will execute as a PHP file. Any idea why? Some other config I have to change?

View 10 Replies View Related

Plesk 11.x / Linux :: Change Bounce Message In Mail (Postfix)

Aug 23, 2012

How can i change the content of the bounce email?

I'm using Postfix 2.7.1 on Debian 6 with Plesk 11.0.9.

Currently the text of a bounce mail shows:

This is the mail system at host example.org.

Your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message.

The mail system

<_plesk_bounce_example.org@localhost.localdomain> (expanded from
<ttt@example.org>): This address no longer accepts mail.

And I'd like to get rid of address <_plesk_bounce_example.org@localhost.localdomain>.

I added the bouce file template to Postfix's config by:

postconf -e 'bounce_file_template = /etc/postfix/bounce.cf'
Restarted postfix.

Config related to bounces:

Code:
~ # postconf | grep bounce
2bounce_notice_recipient = postmaster
address_verify_sender = $double_bounce_sender
backwards_bounce_logfile_compatibility = yes
bounce_notice_recipient = postmaster

[Code] ....

Well, where can i change the template for bounces, now?

View 4 Replies View Related

Plesk 12.x / Linux :: Error Sending Message - Service Unavailable

Aug 5, 2014

Since the last update I am having constant troubles with email accounts when sending or replying to email messages.

This is the message I am getting:-

"error sending your message: Service unavailable - try again later"​

This is our system and the software is the Parellels with Business Manager and stuff.

OS CentOS 6.5 (Final)
Plesk version 12.0.18 Update #10, last updated at Aug 4, 2014 05:00 AM

The system is up-to-date; last checked at Aug 3, 2014 04:44 AM​

This is what the error looks like in the log file located at /usr/local/psa/var/log/maillog

Aug 6 11:54:08 host spamd[28992]: spamd: connection from localhost [127.0.0.1] at port 37548
Aug 6 11:54:08 host spamd[14212]: prefork: child states: II
Aug 6 11:54:08 host courier-imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 6 11:54:08 host courier-imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=12, sent=365

[Code] ....

View 1 Replies View Related

Plesk 11.x / Linux :: Failed To Update Panel - Error Message

Feb 10, 2015

I'm using Plesk 11 in a Ubuntu 12.04 Linux environment on a remote dedicated server. I am NOT trying to upgrade to Plesk 12. But, every time I log onto the panel, I get the error message shown on the subject line. Afterward, it says, "To solve this problem, send an update log to Parallels support." I have the update log ... but "where" to send it. Is there an email address? A webpage?

View 10 Replies View Related

Plesk 12.x / Linux :: PHP Message - Failed To Write Session Data

Jan 26, 2015

I just discovered there is seperate error log for php-fpm and since only 1 site is running fully nginx, the log is full with this error:

"NOTICE: PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0"

I've checked and the path is correct....

View 2 Replies View Related

Plesk 12.x / Linux :: Error Message On Email Send Since Update 12.0.46

May 18, 2015

we regularly get this message in boxmail of adress used to send email from server.This is the mail system at host DOMAIN.fr. You can delete your own text from the attached returned message.The mail system

<1@SERVERNAME.HOSTER.com> (expanded from <1>): User unknown in virtual
alias table

If i look in maillog i see that :

May 18 16:48:52 SERVERNAME postfix/error[22737]: F22521B4E45: to=<1@SERVERNAME.HOSTER.com>, orig_to=<1>, relay=none, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table)

Just after that we can see email go normally :

May 18 16:48:59 SERVERNAME postfix/smtp[22736]: F22521B4E45: to=<EMAIL@DOMAIN.com>, relay=mx3.mail.icloud.com[17.158.8.50]:25, delay=7.3, delays=0.04/0.03/2.4/4.8, dsn=2.5.0, status=sent (250 2.5.0 Ok.)

The problem is in error message (at top) the message attached is the one sent to EMAIL@DOMAIN.com. So we can think the message is not sent to EMAIL@DOMAIN.com. SERVERNAME, HOSTER and EMAIL@DOMAIN are here to mask real data.

OS: Debian 7.7
Plesk version: 12.0.18 Update #46

View 15 Replies View Related

Plesk 12.x / Linux :: Zen Cart Install Fails With Cryptic Message

Sep 15, 2014

I attempted to install Zen Cart in a (correctly formed) subdomain and I received this message when the process crashed before beginning: "Non-zero exit status returned by script."

View 1 Replies View Related

About TOP Command - Linux

Nov 12, 2008

is there a way to look which process/user used the most cpu in last 30min or in last hour.

View 3 Replies View Related

Linux Command

Oct 16, 2007

on linux how can i delete files older than the current month (that is leave only this month's files) from one subdir and recurse every directory?

View 8 Replies View Related

Executing Memtest86 Remotely Without KVM

Apr 16, 2009

how I can execute memtest86 remotely without any KVM access. Is this possible? If so, how would I go about it? I run Debian 5.0 32bit with bigmem kernel (16x4GB Dimms)

View 5 Replies View Related

Php Showing Code Not Executing

May 14, 2007

i have a vps account and am trying to setup my website i installed php 4 from a control panel where it auto installed php and there is mysql and i installed all of them but when i upload my script and go to install or go to the index of my site it shows the php code and does not execute.

my permissions are right on i also made a testphp file and used this code <?php phpinfo(); ?> and still nothing just shows the php code when you browse to the file i even went further i installed from the control panel another program called phpmyadmin and when i log in it does the same thing just shows php code so what the hell is going on you think i need to contact my host provider for this issue i sent an email out but waiting for a responce

View 7 Replies View Related

Plesk 12.x / Linux :: Bounce Message - Limit For Outgoing Mail Exceeded

Oct 1, 2014

I just configured the limit for outgoing mail. It works well, but I have still some questions.

Normally the server sends bounce messages in HTML and in german. They look nice and what is much more important, the users who do not speak english are informed what is going on.

The message that is send, when the limit for outgoing mail is exceeded uses a different template. It is delivered in plain text and after explaining in german that the mail could not be send, it states the reason in english.

Is there any way to edit this bounce message, so that a translation could be added?

I had some users complaining that the server is not working, because they tried again and again to send a mail and kept the counter over the limit. For they did not understand what was causing it.

View 4 Replies View Related

Script Using Curl Executing Ssh Commands

Apr 26, 2009

im trying to write a script interfacing to WHM again via remote access key. What I want to achieve is to remove an ip from iptables. using PHP script (CURL), any thoughts on how i can remove an ip from iptables? I know the ssh command how to do it but i dont know if it will work via a PHP (CURL) script connecting to WHM via remote access key.

View 1 Replies View Related

Executing A Queue Of Shell Commands From Php

Feb 4, 2008

This is following on from:
[url]

So I need to execute a list of commands via a cron job rather than having the script 'wait' for the shell to finish processing (as this was leading to time outs and all sorts of issues).

I'm guessing the way to do this is to have my php set up a cron job to occur at some point in the near future (like current time + 1 min), then to prevent the job from repeating the next hour, it removes itself from the cron list as the final command.

Does this sound like a reasonable way to go about executing a queue of shell commands from the browser that take an indefinite (possibly long) amount of time?

View 4 Replies View Related

Executing ./ Commands Through Hackers Shells

Jul 12, 2008

I've been concerned about executing commands through (./) using php and perl shells on the server

a new way of hacking these days is using perl shells , even if the perl was terminated on the server ,, or was forbidden for users
hackers upload a (perl) program to the server to use it instead of the server's own perl

any way ,,

chmoding the (ls-cat-more-less) to 4750 seems to give permission denied when exeuting these programs on the server
but the hackers also found that they could upload their own ls-cat-more-less programs and use them instead of the server's

they also could rename them ls==>ki or anything and use them like this

./ki /etc/valiases -alXrt
and the commands work like charm for them

./ <<--- this command uses the sh program on the server ,, ((sh which refers to bash on most servers))
so

./ki
is the same as

sh ki

and

bash ki

so i tried chmoding sh with 4750 and that killed the exploit

i was concerned about cpanel's and the website's functionality
so i tried changing an accounts password and creating a database ,, they both worked fine

so ,, if u thing chmoding 4750 sh is a bad idea please let me know

and if you know any other ways of disabling all the perl scripts on the server

View 14 Replies View Related

SH Script Becomes Zombie After Executing Via Cron

Sep 29, 2008

A very simple shell script that rotates log files of lighttpd server everyday becomes zombie after executing via cron. If executed directly in the shell it just dies normally. Tried to add "exit 0;" in the last line but the same effect...

An important notice: the script stops and starts the server, maybe it dies abnormally because it forks a process (lighttpd)?

View 5 Replies View Related

Cron Jobs Not Executing PHP Files

Jun 16, 2008

I have a new dedicated server and am trying to set up a cron job via CPanel on on of my accounts (we'll call it "abc" account).

In the Cron job area, where it asks for the command to run, I enter this:

/home/abc/public_html/forum/class/sendnotice.php

But when the job runs, it doesn't seem to be executing the .php file. Instead, I get stuff like this via email:

/home/acb/public_html/forum/class/sendnotice.php: line 1: ?php: No such file or directory
/home/abc/public_html/forum/class/sendnotice.php: line 2: ////////////////////////////: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 3: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 4: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 5: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 6: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 7: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 8: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 9: //: is a directory

So it is as if the cron job is reading each line of the .php file instead of just running it. Am I doing something wrong in setting up the cron job to run that file or could it be a configuration issue with the new server?

View 3 Replies View Related

Plesk 12.x / Linux :: Outgoing Mail Control Limit Email Message Incorrect

Jun 17, 2014

The Outgoing Mail Control feature is working fine. One missing option with this feature is to view the contents of blocked messages. Unfortunately, sometimes a site gets hacked and is sending spam. which are over the message sending limit, to try to find out where the message came from.

The current problem is that the email message contents of the limitation warning with subject "Attempts to exceed outgoing limits for domains, mail boxes and subscriptions." is not correct. Somehow it only contains the text: date.timezone = "Europe/Amsterdam" (which is a PHP setting) instead of a descriptive message. I hoped it would contain the blocked message contents or some useful text. Can I change the contents of this message to the what is should be? And what should it be?

It looks like a problem I had ones before where the custom PHP settings at the hosting packages level and at the domains level where replaced with some other kind of settings string. But solved by just changing the custom PHP settings

View 4 Replies View Related

Linux Command To Check New Files

May 29, 2008

what command to type if I want to check all latest files (edited/saved) on a certain folder?

View 2 Replies View Related







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