Ubuntu Security :: Monitor A Certain Partition / Folder To See If Any Changes Has Made
Apr 22, 2010i need a way to monitor a certain partition / folder to see if any changes has made is there anyway of doing that ?
View 4 Repliesi need a way to monitor a certain partition / folder to see if any changes has made is there anyway of doing that ?
View 4 RepliesWhat are the steps I must take to move my existing home folder to a separate, encrypted partition? Can I create this partition without damaging my current partition? Where is a trusted location to download App Armor profiles? What else can I do to harden the security of Ubuntu?
View 1 Replies View RelatedSo I just found out how to install Ubuntu, and found something wrong. I made a partition for the install and when I went to install it, it already had 4 partitions. The recovery and other stuff, so that means the partition I made cannot be used. D: How do I fix this?
View 6 Replies View RelatedThe infrastructure of the Fedora Project was compromised over the weekend and an account belonging to a Fedora contributor was taken over by an attacker. However, Fedora officials said they don't believe that the attacker was able to push any changes to the Fedora package system or make any actual changes to the infrastructure.
The attack appears to have targeted one specific user account, which had some high-value privileges. The attacker was able to compromise the account externally, and then had the ability to connect remotely to some Fedora systems. The attacker also changed the account's SSH key, Fedora officials said.
I'm setting up (have set up) Ubuntu after installing W7, everything working great - then realized that I have made the W7 partition too small. Nothing new installed yet, is it possible now to resize/enlarge that partition, without re-installing?
View 13 Replies View RelatedI have an HP laptop with both Ubuntu 8.04 and Windows Vista installed on it.
The other day I noticed I was running out of space in the main linux partition (the / partition, not the /home partition), so I decided to move some space from the Windows partition and move it to the linux one. I used a GParted Live CD to do that.
My partitions are ordered as follows:
Windows Vista partition (NTFS)
Main linux partition / (ext3)
Linux home partition /hom (ext3)
HP RECOVERY (NTFS - I don't know what it is, it just comes with HP laptops that have Vista on them)
So I shrank partition 1, and then "moved" partition 2 to enlarge it (GParted said everything was alright).
After doing that, I went to my linux and everything seemed to be fine, I'm also quite sure I had access to my Windows partition as always. But today I tried to start my Windows and it just got stuck on the "loading" stage (that screen that says "Microsoft Corporation" and has a green loading bar). So I shut the computer down manually (by holding the power button for a few seconds). After doing that a couple of time, I went to my linux, which worked just fine, but I was not able to go to the Windows partition. You can see how GParted looks now for my computer:[url]
As you can see, the first partition (/dev/sda1), which is supposed to be the Windows partition, is not mounted and the system doesn't seem to be able to read it properly. Here is my attempt to mount it manually:
Code:
Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda1 /windows/ -o force
Or add the option to the relevant row in the /etc/fstab file: /dev/sda1 /windows/ ntfs-3g force 0 0
On a certain computer, I had four primary partitions. The person who installed the Windows 7 on the computer made two partitions for the Windows (sda1 and sda2). Then I made another two primary partitions (sda3 and sda4). sda3 was empty. sda4 is an extended partition that contained the /swap, and /.According to someone else, some viruses get in on the Windows partitions and can then get over to the Linux partitions if they are primary and right after the Windows partitions, or something like that. This person suggested that I create sda3 when I install Linux(SLES 10), but to install Linux on sda4. Then later I can change sda3 to secondary.So I tried this, and the Linux installation went fine.
I decided to change sda3 before I load the application software onto the computer.So I put the GParted CD in, but to my surprise I realised that the harddisk was actually 1 TB, and not 500 GB as I thought. So I had extra space to the right of sda4. I wasn't quite sure what to do with sda3. I thought that perhaps it would be better to unallocate sda3, move the current sda4 to the left, and then make another primary partition on the right of sda4, or just stretch sda4 both ways.Anycase, I unallocated sda3, and just left sda4 as it was.Hm, perhaps you can anticipate the end of the story. I removed the GParted CD, and restarted the computer, but now the computer doesn't let me choose whether I want to boot into Linux or Windows. Um, it doesn't boot at all from the harddisk.
I know it's dangerous to play with partitions, but sometimes the job won't be done if you are too afraid of doing anything, and I dare say you won't learn anything either. There was nothing on sda3, so I didn't think it would have nasty after effects. There isn't any important data on this computer yet, it was two new installations of Windows and Linux. So I guess I could format the harddisk and just reinstall everything, but I would like to learn what goes on underneath the surface.
I am not sure this is the right forum, its more about partitions, but it is a bit like it. This is the problem; I have a problem concerning my partitions; I run Opensuse 11.3 KDE 4.4.4 (standard issue) 64 bit.When I installed suse I had only attached one harddisk. A 1.5 Tbhardisk. In that I had made a 50 Gb partition and installed Windows. I tried out linux mint, just for the fun, and thenI installed Opensuse, let it erase mint and gave it another 50 Gb In that it made home etc. The rest Suse also formatted in ext4. Somehow it didn't get a mount point.I then attached second and third harddrive, and gave them mount points Windows/E and F respectively. (They are formatted in ntfs-3g)Yesterday I decided to give it a mountpoint, and gave it /windows/DI changed my mind and changed it to /home2In both these places I could access it but only as read only. And most weird of all, it had a lot of files in them, very much looking like root.
My questions are; How can I access and use that partition?What might these files be? Can I delete them? How would I best mount them? This is a picture of yast expert partitionerImageBam - Fast, Free Image Hosting and Photo Sharing
I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"
View 9 Replies View RelatedWhen I get my partitions listed in the terminal or in GParted they go up sequentially to sda7 as they should. The media folder in my file system shows the other dual boot OS and a data disk partition, both mounted, which is correct. All good. But there is a third strange folder titled sda8 however I have no such partition. /etc/fstab shows no sda8 either. When I open /media/sda8, it shows no files, says its empty and lists an empty available space that equals the empty space on the Linux OS partition in which the folder sits. But no pie chart shown, and it belongs to root. I changed the permission and found I can save files to it.
View 1 Replies View RelatedI'm new to ubuntu and want to install stepmania so i downloaded the binary, i want to put the files in the /opt/ directory, the only problem is i cant create a new folder, i tried dragging a ready-made file into it but it just says "you do not have the permissions to file:///opt/" Im soo sad i wanna play my sM NOW!
View 3 Replies View Relatedwhile installing ubuntu i made two partitions and set two load points. //home/but in ubuntu there is only one partition shown(filesystem).. what is going on?
View 5 Replies View Relatedhere is my current partition table
Code:
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
[code]....
During a recent install I made the leap to encryption,but /boot must remain unencrypted.Is there really any legitimate security risk to having an unencrypted /boot partition? I mean basically someone can just see what kernel you're running which they could see during boot anyways right? Oh I and keep all my financial documents in /boot/finances/ (haha ok not really, but I am serious about the first part).
View 5 Replies View RelatedI want to write a script that would monitor a folder. Everytime a file is dumped in that folder the script would send it to the proper location.
Example
123.mp3 --> music
something.avi --> movies
and so on , now is there a way to that without running a script in cron or running a loop that activates every 5 seconds or so ??
how I can monitor a folder and get the name of newly created files or files that their size is changing? (in Perl or Linux shell script)
View 5 Replies View RelatedCan someone please help me on how can i create a script that will monitor file creation on a single folder and sending the newly created file on a separate folder? Only the new created file must be transffered or copied to the other folder. The old ones remains.I urgently need this for production deployment.
View 8 Replies View Relatedis there a way to monitor use of rm, cp and mv commands? (other than in history)... i would prefer if it were logged in /var/log directory with time and command (with its arguments).
View 5 Replies View RelatedI will be hiring Linux freelancers very soon to do some work on my Linux Centos 5 machine. And I need a way to see what he's doing on my computer over ssh, now I don't mean me reading the logs, I meaning seeing what he's doing in realtime (kind of like vnc, but except the freelancer will only use ssh to do his work and not on the desktop environment.)
View 10 Replies View Relatedinotify doesnt work on /sys and /proc file systems. So how can I monitor a /sys partition file without polling?
View 1 Replies View RelatedCurrently and for the last half an hour System Monitor reports 31% in use by programs 68% in use by cache
So my 1GB of ram is maxed out. Things are kind of slow but not crawling (though at times, simple things like scrolling are stalled)
But it reports Swap: 0% in use.
Seems confirmed by the following:
Code:
$ free -m
total used free shared buffers cached
Mem: 993 967 26 0 82 560
-/+ buffers/cache: 323 669
[Code]....
I'm using lucid desktop edition, and I need to encrypt my home folder, but I didn't mark that option in the fresh instalation of lucid. I'd like the login screen to ask for the password and then decrypt my files.Is it possible to do without erasing my user?
View 2 Replies View RelatedMy wife was using cryptkeeper fine, then she right-clicked the keys on the panel and did something, I'm not sure what. Anyway, the keys you click on to open the encrypted folder are gone and I can't figure out how to get them back. System monitor shows cryptkeeper running. I can kill it and re-start it, but the keys don't show on the panel. I'm running ubuntu 9.10.
View 1 Replies View RelatedI have a CentOS-5 Server with Nagios installed,through which I monitor three other servers.I want to monitor a Linux partition which is mounted under CentOS-5 server which has Nagios installed.
View 1 Replies View Relatedi start fwbuilder with debug option: # ssh root@localhost sudo -S /etc/fw/firewall.fw and iptables rules are setup without any errors.
What exactly is the fwbuilder firewall? Simply this iptables set of rules? Or the running fwbuilder script (firewall.fw)? Both?
What now? How do I see what's going on?
When i scan with nmap, it doesn't seem to matter if i have a firewall running or not. I have used firestarter till now.
I have 2 different distros on 2 partitions. I have Evolution on both distros and want to utilise the same .evolution folder from both distros depending which one I am using at present.In other words, if I have something changed in evolution in distro 1 I would like to see that change and work on in distro 2 and vice versa, because they work from the same /home partition. Possible?
View 6 Replies View RelatedI have a dual boot machine. I have changed "My Documents" in Windows 7 to my G partition to the folder "G/Windows data" I have just bought a Buffalo networked 1TB LinkStation backup drive for our two desktops and notebook, and the backup software is useless for Linux and Windows 7 - won't install with anything later than XP! So I will want a linux program to backup the two folders in Drive G to the LinkStation every day, automatically - if that is possible. I now want to change my /Home drive to another folder in the G drive called "G/Ubuntu data"
View 9 Replies View RelatedI was wondering if theres a way to create a folder that would be accessible when I boot with windows or ubuntu? Is there some shared location I can place this folder?
View 4 Replies View RelatedI am using Kubuntu Amd64 Lucid on my desktop and I have allocated 08.03 GB partition for swap. But today I have noticed that system monitor is showing this as 09.90GB which is incorrect.
I tried deactivating the swap from KDE Partition manager. Even after deactivating swap it still shows the swap as 1.9 GB. So there is clearly 1.9 GB swap added to my system. I am not sure how. Attached screen shot clearly shows the system monitor issue. One possibility is, I have 4 GB (3.7 asper system) RAM comprising two units of 2 GB cards. Is this 1.9 GB read from one of these? I tried to boot the system from Kubuntu AMD64 live CD and then it showed only 8 GB as expected. So not sure whats causing this issue in my installation.
I have just installed Ubuntu Jaunty (I do not like Karmic, please don't try to make me upgrade) and after installing all my programs I realized I did not encrypt my home directory.
I know it's very simple to do this during the installation but I can't seem to find an option to do it after it.
Is there a way to do this?