Debian Hardware :: How To Limit Access Flash Memory For Users

Dec 22, 2014

How to limit access flash memory (read / write) for users on debian?

View 2 Replies


ADVERTISEMENT

Server :: Limit The Suphp User Memory Limit?

May 12, 2010

I have a VPS server with 512 MB memory. The php.ini is set so script memory limit = 16 MB. However, I have noticed in my top report, instances like the following:

Quote:

5484 coldclim 25 0 46476 32m 5920 R 0.0 6.4 0:00.93 php

The bold number of 6.4 is the % of sever memory this process is using. 6.4 % of 512 MB of memory is about 32 MB of memory, so it appears that this isn't being limited by php.ini. Am I correct? This leads to the next question: Is there some way to limit the amount of memory a single suphp process can use? (Basically, something like the setting in php.ini which limits suphp processes in the same way.)

View 2 Replies View Related

Debian Configuration :: Limit All Users To Use Only Their Own / Home / User Directory

Feb 1, 2011

I need to add another user besides the one set up during the installation procedure but I also need to limit all users to use only their own /home/user directory.

View 4 Replies View Related

Ubuntu Multimedia :: Enable Flash Player Access For All Users?

Mar 7, 2010

i'm using unr (9.10) and flash player works fine for me, the admin, but not for the other user on the computer. when the other users goes to videos, he gets a message that flash player is not installed or javascript is turned off. i checked and javascript is on.

View 4 Replies View Related

Debian :: Best Way To Limit Access To NTFS

Jan 25, 2011

I managed to auto-mount NTFS partitions in my server.

But I want to limit access to this partition to a select few.

What's the best way, easiest way to do this.

View 3 Replies View Related

Debian Hardware :: Any Prorgam For Checking Flash Memory For Errors?

May 13, 2010

Is there any prorgam for checking USB Flash memory for errors, defects, bad clusters, etc...?Like MemTest86+ for RAM, but to check USB Flash-drives.

View 9 Replies View Related

Server :: Apache - Free Access From Lan Users And Password Access To Wan Users ?

Jun 26, 2009

Im trying to config my intranet to be accessible from inside the network (lan) without need of password and ask for a passwd for those who are viewing from Wan ....

Today my intranet can only be accessed from Lan, external access give me an Unauthorized message, I took look around, try #irc and still can get the appropriated help, I hope that someone here could help me on that...

A piece of my config:

Code:

View 4 Replies View Related

Debian :: Other Users Cannot Access Internet With FF

Mar 8, 2010

Debian 5.02 on an AMD 64. I removed iceweasel and installed Firefox. On my account, I can access the net ok from FF, but when I login as another user, I cannot get out.

During the iceweasel removal, I suddenly got dumped out. Trying to recover I ended up restarting the box. I then again went to the root and 'aptitude remove iceweasel' and it came back ok. Then I installed FF per [url]. This worked fine on my 32 bit laptop btw. I even added a guest acct and FF worked, but not so on my 64 bit box. Any ideas on where to go?

And the reason for FF was that some media was not playing with iceweasel as it was perhaps too old? I didn't think 3.06 was that old myself, but when I installed FF, the sites that weren't playing fired right up.

View 4 Replies View Related

General :: Limit The Memory Usage Of A Specific Process?

Apr 24, 2010

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?

View 1 Replies View Related

General :: Physical And Virtual Memory Upper Limit For 32 Bit?

Jun 26, 2010

I have a 32 bit Ubuntu installed and my Laptop has 4GB RAM, but only 3GB is considered by Linux. My question is: what is the reason for the upper limit on physical memory ?

Code:
dmesg | grep Memory [0.000000] Memory: 3052428k/3112960k available (4673k kernel code, 56364k reserved, 2121k data, 656k init, 2200904k highmem) I am familiar with the virtual memory concept where linux splits upper 1GB for kernel and lower 3GB for user processes. In total, linux 32bit can address 4GB virtual addresses. Does this meant that 1GB of physical memory is already mapped to 1GB of kernel space and Linux only shows the remaining 3GB physical memory left for the user in the above command.

I did some searching on the internet and found some articles related to this, but it only confused me further since some articles suggest 4GB is the upper limit with mentioning whether it's virtual or physical memory, some bring in the concept of PAE, etc. I'm relative new to Linux's memory management, so it'd be really helpful if someone could answer this.

View 4 Replies View Related

Slackware :: Limit For Maximum Amount Of Locked Memory?

May 9, 2011

When I run ardour sound editing I get this message , but it starts ok Your system has a limit for maximum amount of locked memory! This might cause Ardour to run out of memory before your system runs out of memory. You can view the memory limit with 'ulimit -l', and it is normally controlled by /etc/security/limits.conf

bash-4.1$ ulimit -l
64
my limits.conf is like this
audio - rtprio 99
@audio - memlock 250000

[Code]...

View 2 Replies View Related

CentOS 5 :: Control Groups To Limit The Memory Usage?

Aug 13, 2011

I was looking into using control groups to limit the memory usage of each user on my CentOS system. I was told that this required me to recompile the kernel to have cgroup support. Is this true? Or is there a kernel module that will allow cgroups to work for users and groups on the system without kernel re-compile? Or, is there another way to limit the users memory usage? I have tried ulimit and it doesn't seem to work right.

I ask since this setup will be on a VPS system, that means to re-compile the kernel I need to use Xen instead of OpenVZ. Plus I have never in my life re-compiled the kernel, least of all with different modules ha ha ha so I would have to pay my NOC to do it. So if I don't HAVE to recompile the kernel to get cgroup support.

View 2 Replies View Related

Ubuntu :: Cannot Limit Users To Printer

May 27, 2011

I am trying to add a printer to the network at home, but only want certain users to be able to access it. When I try to setup the users that have access in the printer properties it wont even allow me to pick users.What do I need to do to add the users into the list?

View 1 Replies View Related

Debian :: Adding FTP Users Without Shell Access?

Dec 20, 2010

I use this command line to add an FTP user:

useradd ftpuser1 -d /userdir

This works, but I don't want to give Shell access to the users.

I tried this:

useradd ftpuser1 -d /userdir -s /sbin/nologin

but then user can't login at all - not into FTP and not into Shell.

View 5 Replies View Related

Debian Configuration :: FTP Users Do Not Have Access Via SSH, Only User ID?

Oct 23, 2010

It looks like my web/ftp server has been hacked but I'm not sure how. I logged in tonight and found I had new mail. I read it and found some e-mails that had failed to send because I don't have mail setup (luckily). The e-mails were trying to send my user name and password to the e-mail address lostsoul2k@ymail.comI've no idea where to start, I use SSH, FTP now and then and it hosts a Wordpress site. The FTP users do not have access via SSH, only my user ID. However, the e-mails also contained another user ID that only has FTP access to the server.I've looked through the logs for rkhunter but it doesn't look like it found anything.

View 11 Replies View Related

Fedora Installation :: Options Which Will Allow To Exceed The I386 Memory Limit?

Jun 25, 2010

I presently have Fedora 12 running on a Dell Optiplex with a Pentium 4 CPU. I want to buy a new computer, probably from Dell, I don't completely understand the options I have available for which Fedora 13 will run.I more or less understand what 64 bit means since I also have an HP with an AMD 64 bit processor. But are there other options which will allow me to exceed the i386 memory limit? How about dual processors?

I used to understand CPU architecture pretty well, but i've lost track of more recent developments. Can anyone recommend a primer of CPU types, including assoicated memory limits? Similarly, I would like to be sure that Fedora 13 will run on whatever machine I decide to get. So a list of available processors, which are equivalent to which, and which Fedora 13 has been tested on,

View 7 Replies View Related

Debian :: Limit User Access - Download And Upload To His Home File "browser By Firefox"?

Jul 30, 2011

i have VPS server and i installed Xserver on it and all ok i created new user for my client but i need to limit his access to the following

he can download and upload to his home file " browser by Firefox"
he can't install or use any application "just the one i installed it"
he can't see the file system or browser it !! if i can give him specific space on harddisk would be better
he can extract and compress files
he can't edit the settings ....

i have another sensitive folder and setting i don't want him to see it so how to limit his access?

View 8 Replies View Related

Ubuntu :: Limit Users In Login Screen?

Jun 13, 2010

I have a fair number of users created for running processes (apache, oracle, etc) and they appear in the login screen when I boot. Is there a way to not display them?

View 4 Replies View Related

Ubuntu Servers :: Consequences Of Giving PHP Scripts A High Memory Limit?

May 28, 2010

I have an Ubuntu server running in our small office. Among its many duties is report generation. It uses PHP and DOMPDF (a PHP library for converting HTML/CSS to PDFs for printing). PHP's default memory limit of 32MB is not even close to being enough to pull large amounts of data from the database and generate images/tables/PDFs with that data.

I increased the memory limit to 64MB and that is adequate for reports under 3 pages or so (varies based on table complexity, images, etc). If any user tries to generate a report longer than that, PHP just throws a "out of memory" error and doesn't make the report.

My question is: what are the possible consequences of increasing the memory limit yet again to 128MB or maybe even higher? The server isn't terribly powerful. It has 2GB RAM and 4GB swap space. I know that isn't much but this is a small office and at most I can only see two or three people trying to run reports at the same time. As for security, apache is currently only serving pages in the local network, but sometime within the next year I'll probably have it hosting a public website (currently using a hosting service). Is a high memory limit a potential security risk when exposed to the internet?

EDIT: Sorry, PHP's default memory limit is 16 not 32 as I said. Question still stands, however

View 5 Replies View Related

Programming :: Why Different Signals Send To Programs That Exceeded Memory Limit Set By Setrlimit()?

Sep 2, 2010

I'm having a problem with setrlimit() under linux.

If i used setrlimit(RLIMIT_AS) to set a hard ceiling of virtual memory usage first, then request memory more than that, shouldn't i receive a signal like SIGSEGV?

First i tried the command ulimit in bash, which acted as if i called setrlimit(). i tried 3 programs that overflowed the memory limit i set. i though all the programs would be terminated by a SIGSEGV. but the pascal program received SIGKILL; the C++ program got SIGABRT› the C program, SIGSEGV.

I though there maybe something different between setrlimit() and ulimit, so i wrote a program in C++, fork() first, setrlimit() then execv() in the child, and wait(&status) in the parent. but i got the same result.

I was wondering why these could happen, and could anyone tell me how could i deal with them? i mean, how can i judge that the program exited abnormally because it exceed memory limit?

View 2 Replies View Related

Fedora :: How To Identify And Limit Home Volume Of Users

Aug 24, 2010

How to identify how large the home volume of users? I wanna know how large are the volumes of each users and I also want to limit one of the users. I just want him to have about 500mb. How to I do this?

View 3 Replies View Related

Fedora :: Enable Quota Limit For Samba Users?

Jun 6, 2011

i installed Samba on my Fedora, have created couple of Share directories and assigned users accordingly, that part is apsolutly fine and working without any problem, but now the next step is i want to assign the quota limits to users to save the disk space,

View 2 Replies View Related

Ubuntu Servers :: IPsec - Limit Users Or Groups

Jun 22, 2011

I successfully configured a VPN using IPSec(Openswan) and xl2ptd. While roughly following this guide (among countless others): [URL]

The VPN-Connection works fine, connecting to it is also a swirl, I can reach all that I want in the network, and also the gateway to the Internet works - everything being routed through that VPN.

Now my problem is actually the next steps, and I didn't succeed finding the right result on any possible search:

a) I want to limit, that the VPN-Connection is only used for distinct connections to hosts, that aren't in a "company subnet", but the IP's are publicly available. (Example: The Target-IP 8.8.8.8 allows per iptables, that only my VPN-Host 1.2.3.4 accesses it via SSH, and thus I only can access that Target-IP via SSH when I'm on the VPN). When actually browsing to the ubuntu-website, I want, that NOT the VPN-Connection is used but rather my normal connection (as a reference: i'm on a Windows-Client - not my choice, btw.)

b) I want to have several such "limitations" grouped, and give users 'access-rights' to certain hosts (Examples: Admin gets access to all on all ports Testers get access to some machines on distinct ports CEO gets access only to the mailserver via POP3 or IMAP

View 1 Replies View Related

Debian Hardware :: Cannot Access External Hdd, Memory Stick, Mp3 Player - Unable To Mount Location

Jul 22, 2011

usb devices, such as external hdd, memory stick and mp3 player, when I connect them to USB, they show up in Nautilus, but when I click on them, Nautilus is unable to mount them and returns the following error: Unable to mount location Error mounting: mount exited with exit code 1: helper failed with:mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error in some cases useful info is found in syslog - try dmesg | tail or so

View 3 Replies View Related

Ubuntu :: Printer Server Configuration - Share To Users And Limit The User In Taking Print Outs?

Jul 26, 2010

I am trying to configure linux printer Server.

Setup : Using Centos 5.3
Printer : hp 4350

At present we are using windows print server getting user name and authenticated from domain server. I need your suggestion to configure linux printer server and how to share the printer to users and how to limit the user in taking printouts.

View 1 Replies View Related

Fedora :: User Memory Allocation - Set A Maximum Limit On The Amount Of Ram A User Can Utilize?

Jul 24, 2009

I have a few multi-user servers in an academic laboratory. I am having a problem with some users maxing out the available RAM, causing such sever slowdowns the machine essentially crashes. My servers are Dell Power Edge's running Ubuntu 8.10 Server Edition (Not my choice). I would like to set a maximum limit on the amount of ram a user can utilize. This morning I experimented with setting limits via /etc/security/limits.conf and using ulimit. Neither of them prevented my test program, a simple infinite loop of mallocs, from crashing the server.

View 7 Replies View Related

Slackware :: Increase Locked Memory Available To Users?

Nov 15, 2010

I'm running Ardour, and when I launch it I get the following:

Code:
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs

[code]...

View 8 Replies View Related

General :: Limit Root Access To User Account?

Jun 24, 2010

I am a user of a cluster. I don't want root to see/copy files from my user account(obviously). Is that possible to limit the access of root to users account?

View 14 Replies View Related

Security :: Limit Sudo Access - No Password Prompt

Feb 17, 2011

I have been reading guides for a while now and so far have not found an exact solution to my problem.

I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.

In the sudoers file

Code:
User_Alias Patrol=dave,john
root ALL=(ALL) ALL
Patrol ALL=(patrol) NOPSSWD: ALL

[Code].....

View 6 Replies View Related

CentOS 5 Server :: User Limit Access To One Folder

Mar 24, 2011

for create an user I put:

useradd username
passwd username

View 4 Replies View Related







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