Debian Configuration :: Cron Sending Emails With Plain Text Password?
Sep 5, 2011
Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)
I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?
And for now, how can I hide the password in the emails I receive ?
I put a text file on my desktop and added a couple lines of text with gedit. File type shows text/plain. Double-click opens the file in gedit which is what I want. I'm using the file to temporarily hold some snips of code that I copy from file to file, but when I copy some html into the file and save it, now file properties show it's text/html and a double-click opens the file in firefox, which isn't what I want. Is there some way to keep the file type from changing itself?
I've been using openoffice.org a lot recently and I was hoping that I'd be able to cat the contents of the file solely through the terminal.What's the best way to do this? My thought is to use a command in a terminal to convert to plain text and cat the file.
With the gpg command I used to encrypt files so they saved as plain text (the encrypted files were viewable in a plain text editor though were a encrypted nightmare)
I just forget the option in the gpg command to do this and I can't find it in a hurry either in the man file
i'm not a techie but have tried my best to solve the issue without success. I have a static IP from local ISP and my computer is configured with 192.168.1.2 (LAN IP).
I have installed ubuntu server 9.04 and want to send emails from my server for which I've configured postfix. But I dont know what to do next.
My questions are:
1. Do i need to install DNS server for using postfix? If not, what should I install to send emails from this server?
2. Do I need to forward any particular port in my router?
3. If I dont have a fully qualified domain, what are the configurations I need to do to send emails?
I am looking for some source package which will convert html fileto text file without using perl.I mainly need to do this on an ARM platform, so if I get sources I can cross compile it. I need the source package in C
I have been having problems with a lot of my emails being marked as spam or flat out being rejected. After doing some research, it looks like they are being denied due to my HELO and EHLO replies. Here is an example of my header file:
i've got Evolution as an email client in Fedora 12.ve got only one IMAP account configured, which seems to be working OK. However, temporarily it is not sending emails. I write an email and hit send/receive and get error. "Error while sending message" ir seems that it is downloading messages, but not sending. There is a quick, but annoying solution to it: restart Evolution. As soon as it is restarted (close and ope the application) it is working OK for some time.
I have an rsync backup job scripted and run by cron at 12:00 every day. It emails me the log from rsync. The problem is that it sends the same email every minute starting at 12:00 and ending at 1:00. I can't figure out what I did to cause this. It is not happening on my other ubuntu server.
Code: # m h dom mon dow command * 12 * * 1,2,3,4,5 /home/barry/bin/backup.sh > /dev/null Code: #!/bin/sh rsync -aut /usr/share/library /mnt/backup/WordPress > /home/barry/backup.log
I have wordpress installed on my VPS, which is running 10.04.1 LTS. I appear to be having an issue whereby the server isn't sending out emails to new users, nor to myself when I get comments on the blog.I'm at a dead end for where to look next, because the settings are exactly the same as they were with my previous VPS (and they were always pretty generic), but yet it doesn't work.
I have sendmail setup and it works fine sending emails to outside email addresses. When I try and send email to our internal groupwise server the mail never gets there and I get an error message in the log user unknown.
I have installed Ubuntu onto a machine and am trying to get it to receive fax's and email them to me! After spending days on this I have installed efax-gtk and have successfully set it up to receive fax's and email them to me!
Everything is working, I can send and receive fax's ok, But when I set it with the 'mail_fax' script, I dont get an attached file, All I get is a directory location of the temp file, Witch is obviously deleted by the 'mail_fax' script! No Attachment is in the email.
/home/dell/efax-gtk-20101103135335.pdf Fax 20101103135335 received by efax-gtk attached All I want is the attachment to be attached!
I'm trying to get logwatch to email me. I think my logwatch.conf file is okay. I have postfix installed. The mailer as far as I can tell is set correctly ("usr/bin/mail"). When I run logwatch - I get "no mail for aubrey"
Heres my logwatch.conf file: Code: linux-qwkb:/home/aubrey # edit /usr/share/logwatch/default.conf/logwatch.conf ######################################################## # This was written and is maintained by: # Kirk Bauer <kirk@kaybee.org> # # Please send all comments, suggestions, bug reports, # etc, to kirk@kaybee.org. # ######################################################## .....
Basically, I have a selection of .rdp shortcuts to various machines, but they are considered the file type "plain text document (text/plain)" so if I change it to open with to tsclient, all of that file type opens with tsclient. And if I change it to gedit, all the rdp files open with gedit. Is there a way to create a custom file type dependent on the extension rdp, or is there a way to set tsclient to open by extension rather than filetype?
I somehow managed to screw up my lucid lynx system so that all files show up under Nautilus properties as Type Plain Text. When I double click a file, any file, the system tries to open it as plain text with gedit. Everything worked correctly until yesterday when I tried to install a new version of PyQt4. If I reboot with an old (karmic) version of Ubuntu and bring up Nautilus Properties on the same file (my data partition can be opened in other OS's) the files show up with the correct file type (PDF, ODT, etc) So the problem is not in the file itself, but rather in the lucid OS, which is mis-interpreting the file type. As I said I somehow messed it up when installing the new version of PyQt4.
I'm trying to run a CGI file with Apache2, but when I navigate to it, I just get the file in it's plain text format and not actually parsing the file. What do I need to configure?
I've tried this Code: <Directory /var/www/> AddHandler cgi-script *.cgi Options +ExecCGI </Directory> And I've tried this Code: <Directory /var/www/> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny [Code]...
When I am using Mailutils to send messages to myself as a test, I get them but they are from <"ryandward@ryandward"@gmail.com> which is not a valid email address and I have no idea why my system is configured to send them from this address. This is indicative of some problem there is going on in my system.
I am using the Postfix SMTP server for sending emails. However I just did a default installation and subsequently someone is sending spam using my SMTP server. I would like some help on securing my Postfix server and to block these mischievous emails being sent from my server.
i have problem in sending emails using outlook on my client machines i.e XP i am getting the error Relay access denied. i am using fedora 9 as our server. with dovecot and postfix and fetchmail.it was working fine previously .
One of our postfix servers is for sending/receiving internal emails only. When a user entered a wrong recipient address, it will take almost an hour for the user to get the "Recipient address rejected" email. What can be done to let the user get the "Recipient address rejected" email quickier.
I have installed an SMTP server using ... sudo apt-get install postfix but I sill cannot send emails from my local machine to my yahoo account using ... echo "Hi Steve que tal ?" | mail -s "test message" steven_matthews_uk@yahoo.co.uk
i have a big file of random numbers i generated at some point in time, after working with it with different things(how fun that was)... i want to remove duplicate lines and i'm not sure i'm doing this right
When I print receipts from certain company's emails, they span three pages or more bloated with images, links and overly large text. I can view the message in plain text by setting the preferences to only display text instead of html, but it doesn't affect what is printed. I still get the full HTML page printed. Is there a way to force evolution to print in plain text instead of HTML?
I would like to know if it would be easy for me to get a program which, given a plain text file as input, discards the line separators and writes the rest as its output. And let's put in the case of a file that has been mangled to the point of having CR,LF (carriage return, line feed) in some places, only CR in others, and only LF in still other places. That is, the three possible combinations used in systems as a newline char (the 1st is, or was used by m$- dos, the 3rd one by Unix and I know systems where CR is the line terminator).
After all, all the program has to do is, every time it finds a char belonging to the set {CR, LF}, cast it away.
I was wondering if there is way to hide passwords in bash scripts. For example: I have to write a script to export a full ldap structure, and I'm using the ldapsearch -y passwordfile, where password file is a plain text file that contains the password. Is there a way to hide the password from that file?
I was thinking to remove the r attribute from the file and before the script is lunched to put the attribute back, but is not a good solution, the same with immutable attribute.