Ubuntu :: Restrict A Certain Program From Accessing Certain Files

Jul 28, 2010

Everytime I start Rhythmbox it starts to scan my USB HardDrive (which contains 50,000+ files) for media. I searched around, and it seems that there is nothing one can do stop that using any Rhythmbox options, switches, etc. Is there a way to prevent a process (in this case Rhythmbox)from using a certain resource (the path to my USB Drive)? I'm thinking APPArmor or SELinux may be the way to do it.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Using Sudo To Restrict Users For Accessing Directories?

Jun 20, 2011

Is it possible to restrict users with 'sudo' from accessing certain directories? Rather than just exclude cd and ls from the sudo privileges, that is.

View 5 Replies View Related

Server :: Restrict FTP Users From Accessing 1 Folder Only

Jul 1, 2010

I'd like to restricting my ftp users to access 1 particular folder.

we have a root folder called /home everyone has aces to that so they can operate.

but then there is /home/config how can i restrict certain users from access /config folder, since this is containing sensitive files I would like for no one else but my self to be able to access it.

View 3 Replies View Related

Security :: Restrict A User Accessing Ftp Site - Which Is Secure Ftp Or Pam

May 7, 2010

I want to restrict a user accessing my ftp site.

1) i can block the user in ftp configuration file

2) i can block the user in PAM or /etc/host.deny

i heard that if pam is denying the user and ftp is allowing the user the user can get the access it means that ftp conf file is stronger than host.deny

View 6 Replies View Related

Server :: Restrict Web Accessing To Different Groups For Different Sites In Squid 2.6?

May 19, 2010

i have seven department in my office. i want to restricte web sites for all the departments but not same web sites for all the departments i.e. different sites for different departments.i have no idea about this issue.

View 1 Replies View Related

General :: Restrict A Program's R/w Rights To Nothing?

Sep 15, 2011

Under Linux, I would like to be able to launch anything from command line in a "safe" environment, i.e. be assured that it can't read or write any file on my computer, and even better if it couldn't access the network.I thought about creating a user with reading rights only in the current folder (and nowhere else), and su to this user to launch the command, would this work ? And what about the network ?

View 2 Replies View Related

Ubuntu :: Accessing Local Filesystem Kills Program

Sep 16, 2010

I searched online, but I was unable to find anything on this. I recently tried to install a program, but it did not work. After that, anytime I would open a folder that is located on the local computer, it would close out of Nautilus. I thought that was the extent of the problem, but I just discovered that if I click "Open" on any program, it closes that program out. I was able to plug in a jumpdrive and browse the files on it, but as soon as I clicked on a folder that was local, it would kill the program. I am using 8.10, by the way.

View 1 Replies View Related

Ubuntu :: Accessing Parallel Ports From Perl Program

Dec 11, 2010

I am trying to write to the parallel port pins from a Perl program running Ubuntu Linux, to light up led's on a bread board. I've already accomplished this on this same box using a C program, but I cannot get my code below to work. I believe the problem is with the line:
$parport = Device::ParallelPort->new('auto:0');
I've tried different variables between the ('') ticks, but nothing has worked. I use Perl on my web pages for forms, but this has stumped me.

Code is below:
#!/usr/bin/perl require "subparseform.lib"; &Parse_Form; print "Set-cookie:
cart_id=1234; user_id=123;
"; print "Content-type: text/html
"; use strict; use CGI; use Device::ParallelPort;
# use Device::ParallelPort::drv; # use Device::ParallelPort::drv::linux # use Device::ParallelPort::drv::parport
# Set up your parallel port object and tell it what driver to use.
#my $parport = Device::ParallelPort->new('auto:0'); print "It works!!!";

View 1 Replies View Related

Ubuntu Servers :: How To Refuse Accessing Parent Directory In FTP Client Program

Feb 18, 2010

I am runnung ubuntu 9.10 desktop edition as a server. I am using a FTP client program to upload some files(index.html, background.png, etc) and everything is fine with that. And currently all my files are in /home/myname/ folder. What I want is whenever I log in with my ubuntu account in the FTP client program, I can actually see the list or contents of the very root directory.

In other word, I can see every folder like /bin, /boot, /etc, /root, so on in the FTP software and I can download it. I don't want to allow to access the parent(or root) directory. Is there any possible way to set up the sutff?

View 2 Replies View Related

Ubuntu Security :: Restrict A User From Seeing Hidden Files And Folders?

May 23, 2010

restrict a user from seeing hidden files and folders?

View 8 Replies View Related

Security :: Using Sudoers To Restrict Editing Of Certain Files?

Aug 2, 2010

In a recent discussion I had, I was led to believe I could use sudoers to restrict using vi (for example) for the editing of say specific config files. I know how to allow root use of vi and how to lock it down from getting to a bash prompt with NOEXEC tag,but I can't figure out how to restrict the use of vi to only edit certain files. Tutorials and howtos I have checked don't address this

View 7 Replies View Related

General :: Delay Pool - Restrict User To Download Heavy Files

May 15, 2011

I need to restrict users if their download file size exceeds xxx amount, set later download speed to "256kbps".
OS: Centos 5.5
Squid 3.1.8

View 4 Replies View Related

Server :: Restrict Virus Effected Files Of Windows To Copy In Samba Sharing?

Jul 28, 2011

1> i have centos5.4 fileserver.
i synchronize my document of windows xp with fileserver through samba server.
while synchronzing ,virus effected file are also get sync in fileserver .
i scheduled copying in crontab also.meanwhile by synchronizing the fresh file get replaced by virus file.this result lost of my data.

is there is any solution to restrict virus file from copying through rsync....

2> is there is any program to compare size of files on samba server

View 1 Replies View Related

Ubuntu :: Accessing The Files From Imac (OS X10.6.3)?

May 19, 2010

I am going to install ubuntu on my old PC; it meets the specification. Would I be able to see the files through my imac. Here Is what I am hoping to do. Ubuntu PC is going to have a USB drive with lots of movies. iMac will run ps3mediaserver and hoping to play the files in the USB drive. Well, why don't I just attach the USB drive to iMac? Where is the fun in it? My old PC has a built in TV tuner card, so eventually I want to use that as PVR and play them on using ps3mediaserver.

View 1 Replies View Related

Ubuntu Servers :: Accessing Web Files On Scp?

May 14, 2011

I am on Ubuntu 10.04.2 on Amazon EC2.I want to use the Cherokee web server and have it (and php) running under www-data then have the files also owned by www-data. I am only able to ssh and scp into my server using the user ubuntu. This means that I am unable to edit the files.I want to be able to edit the files owned by www-data through ssh/scp.Could you assist me in setting my server to allow me to edit the web files through scp?

View 9 Replies View Related

Ubuntu Networking :: Accessing Files From Windows 7?

Dec 2, 2010

I am trying to access the files and directories that are on my Ubuntu 10.10 computer from my Windows 7 computer. Both are connected to the same wireless router. I have installed and uninstalled Samba and rebooted both computers several times.

View 9 Replies View Related

Ubuntu :: Accessing Files In Virtual Image?

Jan 22, 2011

I have an issue with a PC (XP pro)that had a virus which deleted all the files in the windows/system32/config folder. I first attempted to do the second repair option on the XP cd and it wasn't available. So unable to boot to windows and run an anti-virus; I put the hard drive in my external enclosure. Plugged it into my ubuntu laptop and removed the virus infected files using Clam. I then tried using the XP cd in the first repair to copy the files only to get an access denied msg.

I would like to just copy necessary data from the drive with XP pro installed and then reinstall XP and give the PC back to the owners. However the person that did the original install used a volume license cd and I unfortunately have no more CD keys and hate using cracks in certain business environments. So I came up with good idea at the time to setup XP pro in virtual box and then copy the files from there however those files are in use when the machine is running and can't be copied. So is there anyway to mount the Virtual hard drive and copy the files while the virtual machine is off?

View 2 Replies View Related

Ubuntu :: 11.04 Hangs When Accessing / Copying Files?

Jul 14, 2011

I am running an old p4 system with the latest ubuntu. It has been working wonderfully until today. It all of the sudden starts to hang when copying or even just accessing files from one specific hard drive. I have read that this is an error with ext4. Is there anyway to fix this?

It would be extremely difficult for me to transfer all of these files over if i don't know whether or not it will hang.

View 2 Replies View Related

Ubuntu Networking :: Accessing Windows 7 Shared Files?

Mar 20, 2010

I have two computers set up, one is running Ubuntu 9.04 and the other running Windows 7 Professional. I have a bunch of shared files from Windows 7 (which I am normally able to access from any Windows 7 or Windows XP machine on my network) but I can't access them from Ubuntu.I have tried going to Places > Network > Windows Network, but I receive the error "Unable to mount locations Failed to retrieve share list from server"I have also found another recommendation for accessing a windows server, via Places > Connect to Server, but I receive another error message there, "Cannot display location "smb://..." No application is registered as handling this file."Could anyone explain what my problem is and how I could fix it? I really wish I could figure this stupid thing out myself, but it's linux.. it's not meant to be understood by anyone >.<

View 7 Replies View Related

Ubuntu Servers :: Prevent PHP From Accessing Files Above Wwwroot

Sep 12, 2010

I'm running Apache2 and PHP5, hosting multiple virtual domains on my server. The directories of the domains (/var/www/<domain>) aren't publicly readable, so the websites can't access each others content as the scripts are run using different user accounts. They can, however, access other folders on the system that have public access for any user. I tried using the following PHP code, which listed the filesystem root:

Quote:

<?php
$handle=opendir("../../../..");
while($file=readdir($handle)){
echo $file . "<br/>";
}
?>

I will be hosting sites for other people so I don't want them to be able to access my entire server with PHP. Is there any way i can do this?

View 2 Replies View Related

Ubuntu :: Accessing Windows Files From A Wubi Installation?

Dec 28, 2010

I got the BSOD on Windows 7 and I was unable to fix it at all. But I had already installed Ubuntu on my computer a while ago with a wubi installation. I look and saw other form posts/ tutorials online and ever time I follow them the error I end up getting is hard drive already mounted. Is this because I am already on that hard drive by running Ubuntu or is it because of a bsod error. Also what will happen if I force unmount my hard drive? Basically I want my files from the windows portion so I can move them then too a portable hard drive and factory reset my whole computer.

View 3 Replies View Related

General :: Accessing Files And Folders On LAN?

Nov 18, 2010

how to access files and folders on alive computers on my college LAN,i hv angry ip scanner installed but it only lists the computers on lan,whereas i want to access files(e.g copying,etc) on others computers(in the same way we do in advance ip scanner in windows). i am using ubuntu 10.04 LTS

View 1 Replies View Related

Ubuntu Security :: Accessing NTFS-encrypted Files And Folders?

May 14, 2010

After trying Truecrypt, LUKS, and Ecryptfs I decided to try NTFS encryption. Now, on a dual boot computer from Ubuntu I can browse the encrypted folders but can not open the encrypted files. All attempts produce access denials yet the Unix file permissions appear to be "0777" (owner, group, and world readable-writable).

Is there someway to get Ubuntu's NTFS software to recognize and decrypt the encrypted files? Would a different NTFS package work such as NTFS-3g?

View 2 Replies View Related

Ubuntu Security :: Accessing Password Protected Ext3 Files?

Jul 31, 2010

I have a drive that originally was used with a Linksys Network Storage Link (NSLU2), then stopped working with it. Now I'm trying to get the files off the drive. When I USB connect the drive to Ubuntu, I can see the files, but I'm unable to open them or copy them. The error message is: "Error Opening File: Permission Denied". I did have permissions set on the NSLU2. So far I'm not able to find a way to get around the permissions issue in Ubuntu.

I have used apps like EASEUS Data Recovery and Recover My Files. It appears that they are finding the files and are able to access them, so I know it can be done. I don't mind spending some $, but these apps are taking a *long* time to run. If I could properly access the files in Ubuntu long enough to copy the files, I think I'd be all set.

View 2 Replies View Related

Ubuntu Networking :: Accessing Files In Dual Boot( 10.04 And Mint)?

Nov 12, 2010

I have a dual boot ( Ubuntu 10.04 and Linux Mint), but I spend most of my time in the Ubuntu 10.04 partition. The point is that I have a huge files in the Mint compartment and I would like to gain access to those files from my Ubuntu 10.04 partition. I have tried samba and could not get the file sharing system to work. I had used samba when I was dual booting between Ubuntu and Windows and it worked but not in my present Linux dual boot.

View 4 Replies View Related

Ubuntu Networking :: Accessing Files From A Windows Share Within Applications

Dec 7, 2010

I cannot access figure out how to access files stored on a windows share within an application. I can access files on a windows share from places>network but if I am trying to access files from say audacitcy or gtkpod by means of file>open when the application brings up the "places" dialog there is no network Icon to choose from.

View 7 Replies View Related

Fedora Servers :: Web Interface For Accessing Files

Jan 18, 2010

I've set up a FTP server, but now I would also give the ability to users to access file through a web interface, like the ones you can find in many NAS.I there anyone that knows a software that do this? I can't find nothing useful.

View 5 Replies View Related

Debian :: Accessing Files As Root In Lxde?

Jan 26, 2010

i just installed avlinux wich is based on debian.im using lxde,and im used to gnome,when i want to access files as rootin gnome i just use "gksudo nautilus".but i dont know of a command forlxde that has the same effect.can someone tell me if there is a similar

View 2 Replies View Related

Ubuntu :: Accessing And Creating Files Names With Nested Loop In Bash?

Aug 12, 2011

nested loop in ''Bash-Scripting in Linux'' ?What's wrong with my code:

for x in `seq 0.75 0.01 0.95`
do
for y in `seq 0.20 0.01 0.40`

[code]....

View 1 Replies View Related

General :: Accessing Network Files Using File Protocol

Nov 11, 2010

I'm running Red Hat Linux 4.5 in VMWare Server (virtual machine) on Windows XP (host machine). I'm using a loopback adapter to assign an IP address of 192.168.1.100 to the VM.How would I set up file protocol to access the VM's filesystem? Is it possible?

View 1 Replies View Related







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