Ubuntu Servers :: Verify What IP Address Created What File
Jun 10, 2010
I know the who belongs to the IP address that created the file. (is there any way to verify what IP address created what file?) My concern is that it did not come from the address specified. I found this in /tmp/udp.pl.
We use procmail to reformat and filter email messages sent from many lead capture websites where the clients enter their reply email address manually.When we receive the message at our application we send a welcome email, and receive back the Undeliverable Email message where the clients entries are invalid, but I would like to be able to kill messages with undeliverable email addresses on our mail server before they are delivered to our application.I have found discussions on filtering masqueraded addresses, but since the IP of the sending system is not related to the entered client's email address, this does not appear to help. I would think that it should be able to query the email server to identify if the address is valid.
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
How do I decide what IP address to enter in my config file when assigning a static IP. All of the instructions I can find say something like "of course you should modify the file according to your own settings." Should I just use the gateway and IP that returns from "iwconfig" and "route -nee"?
I'm setting up a mailserver for my domain.I'm seeing relay rejections in the mail.logbut I'd like to have external validation that nothing bad is exiting the domain beforeI wind up on blacklists
I have spent three days on this and am at my end so help would be greatly appreciated. I have a server running CentOS 5.5 and Sendmail 8.13.8. All works fine except for emails from Logwatch. I see this in the maillog:
Jul 20 07:49:24 ifsboss sendmail[1027]: o6K5aIc0000515: to=system@soswebs.co.za, ctladdr=<root@ifsboss.ifsdbn.co.za> (0/0), delay=00:13:06, xdelay=00:00:45, mailer=relay, pri=210540, relay=smtp.isdsl.net. [196.26.208.197], dsn=4.0.0, stat=Deferred: 451-Rejected after DATA: could not verify "From:" header address
No matter what i have done It still fails on this. To list what I have done is plenty so I thought I'd poll you experts for possible past experience that could either confirm I am on the right track, or point me to it. If I try force the mail that is stalled in the mailq I see this:
Running /var/spool/mqueue/o6I22Exm009672 (sequence 1 of 1) <gary@soswebs.co.za>,system@soswebs.co.za... Connecting to smtp.isdsl.net. via relay... 220 smtp01.isdsl.net ESMTP Exim 4.69 Tue, 20 Jul 2010 07:53:28 +0200 >>> EHLO ifsboss.ifsdbn.co.za
Is there a program available which will check and verify a downloaded file. Ubuntu has gtkhash and Mandriva uses Parano. I know how to Md5 using the command line, but gui software would be a bonus.
I am trying to set the default files created by www-data to 774 (umask of 003).
I go to
Code: /etc/apache2/envvars
and have set these parameters. NOTE: The only thing I actually changed was adding the umask 003 at the end.
Code: # envvars - default environment variables for apache2ctl # Since there is no sane way to get the parsed apache2 config in scripts, some # settings are defined via environment variables and then used in apache2ctl, # /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
I am working on uBuntu 10.4 server. I am using kingston USB memory stick. When I plug in some times I don't get any messages on console.#lsusb --> shows the list of USB devices. In which I find the Kingston memory stick. Means ..it is detected.
But when i type #fdisk -l I don't see any devices like /dev/sdc1.
Currently have access to a VPS where we are running a small game server on ubuntu - the problem is that it is a multi-user environment, so when one person restarts the server process, all files it creates are owned by that users name and group. I have created a group called 'game' and added both users to it, but I need to know how to make all files in the game server's directory to be r/w/x for the group 'game'. Currently, I have a script that chowns and chmods all files recursively on startup, but I'd prefer not having to do this.
I have problem with virtual users in vsftpd. When they create folder they cant make another in than folder, or for example they cant see files they upload in that directory...That write permision i try to change in their config file, with every combination of local_umask and file_open mode values. How can I handle that. I want that virtual user who creates directory (in their root directory) have all privilages to that folder and all content in that folder.
I configured my server to have the virtual mail authenticated and stored through mysql DB.Now the authentication works, but then I got the dreaded -ERR chdir error.After research and testing for ohurs I finally got it working on ONE account after I created the maildir with maildirmake.Now I am able to login and "list" messages, but nothing else. When I use postfixadmin to setup a new user, the maildir does not get created so I have the same problem.I'm trying to troubleshoot what is happening.Here are the relevant config files:
is there a way i can use mv or another command to move a file to a directory that has not been created yet.Id like to be able to create the directory and move theile in one command. Can this be done? if so how
I created a new virtual host in Apache using Webmin and am having trouble getting it to work. When I created it, I opted to create the config file as a "New file under virtual servers directory /etc/apache2/sites-available". So now I have a default config file /etc/apache2/sites-available/default and a new one created by Webmin at /etc/apache2/sites-available/webmin.1412323.conf. It seems like the settings in that new Webmin config file aren't being picked up by Apache -- when I try and browse to mywebsite.com it shows my root /var/www folder, not the subdirectory /var/www/mywebsite.
Is there a way I can tell Apache to include the new Webmin config file for the virtual host or should I just copy the directives into the default file at /etc/apache2/sites-available/default? It seems like Webmin should automatically configure Apache to work with any newly generated config files.
Is it possible to run two servers through one ip address? And I don't mean through apache to run virtual servers. Right now my set up is: Cable modem>router>server.
when I create a new text file in my pendrive, it become executable automatically. The text file name append with asterisk(*). However when I create a text file in Desktop, the created text file is normal and is not executable.
Another thing is when I copy a PDF file to my pendrive, it become executable file with asterisk (*) append after the PDF name. I've try copy whatever to pendrive but all end up with executable file.
I wrote a very simple script to compile a Tex document and open the resulting PDF output file. The problem I have is that every now and then there are multiple PDF files in the same directory. For example if I have a file called test.tex I run my script and it compiles the test.tex and creates a file called test.pdf If there are only one tex and pdf file in this folder there is no problem. If there is also a 1.pdf in this folder the test.tex will compile and 1.pdf will open.
My question is: is there a way to open the exact pdf file that was created by the .tex file?
Anyone attempting to install Debian Squeeze from CD-1, or Debian-live DVD will want to know how to verify the file with MD-5, SHA-256 and (available for some versions only) SHA-512 checksums of the iso images, using the appropriate signing key. But there are no instructions that I can find in the Debian CD FAQ, which simply points users at the archive keyring. Now according to this message, as of 9 Feb 2011 the Debian Squeeze archive signing key has fingerprint 9FED 2BCB DCD2 9CDF 7626 78CB AED4 B06F 4730 41FA
The Debian signing key website gives the archive signing key as the master key, and (this addresses the problem I raised elsewhere) even makes it available via https. That sounds good! Just one problem: the detached signatures for files such as url
which gives the SHA-256 sum for url
have been signed with a different key, which has fingerprint DF9B 9C49 EAA9 2984 3258 9D76 DA87 E80D 6294 BE9B
No wonder I am confused! And it seems that I may not be the only one; others seem to be confused also.
If no-one at the Debian mailing list can explain what is going on, I have little hope that anyone here will be able to clear this up, but I'll ask anyway: what are all the Debian related GPG keys and where do you find them all? is it true that there are different keys needed to verify CD iso images and debs? (And... what else?) where do you go to obtain all the lastest Debian keys via https? (This is important as it can hinder MITM attacks by lone crackers, assorted crooks, maybe even state actors, etc.; the "Comodogate" story provides clear evidence that there are people or organizations interested in mounting MITM attacks on persons downloading open-source software). in particular, it is sometimes convenient to use a live-CD to download an iso image (for example, when you no longer trust the system you are trying to upgrade!) and then one wants to use GPG to check the file with the checksum, so one needs to quickly locate and import into the GPG keyring of the (temporary) live-CD session the correct key; so where can I find the CD-signing key availalble via https? shouldn't the CD FAQ explain all this?
I want to automaticly set the group ownership of user home directories to a group that the user is not part of. This is so that Apache can be part of this group and can access user public HTML directory, but other users are not able to access in any way the files in the users home directory. What I have seen that works manually is adding the user and then changing the group for the home directory. But I want to automatically set this when the user account is created. WHat I see happening is that when /etc/skel is copied, it automatically sets the group and ownership of everything to the users default group and ownership. I've seen some suggestions on setting permissions, but these don't seem to work because it seems that users are able to cd into a directory and not list it, but if they know the file name they can access the file.
Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".
Then I mounted the NFS share at the new directory I created: [root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest
When I tried to mount on the remote client: [root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest
After a while I got: # mount eric:/mnt/nfs /mnt/nfstest mount.nfs: mount system call failed
I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.
The question is, as far as I know Ubuntu distro adds a user created with useradd to supplementary groups automatically. For instance, I want to enable sudo for all newly created users on my LiveCD and want them to be added to the group 'wheel' on creation. I'm sure it is possible to do it in Fedora, but how?
I have a program what creates files with a certain user and group as owner. How do I make files created by this program belong to a group I specify myself (I know I can chown and chgrp and chmod but I want the files to have a certain group from the beginning). Also I like to be able to specify permissions for these files.
Btw. it's not my own program so cant change the source code of the program to solve my problem.
I can't figure out how to copy a file off a custom RHEL 5 DVD that I created with kickstart after the installation completes and the %post runs. I don't want to run as "%post --no-chroot" because I have a script of system changes that needs to run in chroot. I just want to copy one RPM file into the /tmp so my script can install it. Can I have two %posts, one with chroot and one without? I can't seem to find any RHEL 5.5+ guides for kickstart that can explain to me how to make it work.