General :: Pam - /etc/security/limits.conf For Setting Program Limits?

Feb 9, 2011

I have the following inside /etc/security/limits.conf(I have specified root separately because * will not include it.)

user2 - core unlimited
* - core 0
root - core 0

[code]....

View 2 Replies


ADVERTISEMENT

General :: Limits.conf To Set Memory Limits?

Jan 30, 2011

I would like to limit any process from using more than 500 MB of RAM. AFAIK this is done using RSS in /etc/security/limits.conf but the process called gnome-panel apparently is using 618436 kB of VmRSS. How can this be ?

/etc/security/limits.conf
* hard rss 512000
username@debian:~$ cat /proc/3002/status
Name: gnome-panel

[code]...

View 2 Replies View Related

General :: Coredumps Don't Work After Enabling Them In /etc/security/limits.conf On Debian

Aug 25, 2011

I have some init scripts that launch some daemons that I wrote. I want Linux to generate a coredump anytime something crashes. I activated coredumps in /etc/security/limits.conf by adding the next line:

* hard core 100000 After rebooting, I run ulimit -a and I can see that coredumps are not activated: > root@computer:~# ulimit -a > core file size (blocks, -c) 0 First, I checked if there is any file script on my system that deactivates coredumps (greping ulimit -c 0 ), but I didn't find anything so far.

Then, I created a bogus c program..to double check if it's working, and I can confirm that it's not. The program is this

[Code]...

View 1 Replies View Related

Security :: Setting Limits For Authenticated User - Controlling Shells

Apr 16, 2010

I want to limit what a authenticated user can do on my Linux server. I've set the default shell to rbash, but I know a knowledgeable user can switch shells. Can I use file permissions to deny execution rights to /bin/bash to anyone who is not in a particular group? And if that works, how do I find out what other shells are installed on my server (Ubuntu 9.10)?

View 7 Replies View Related

General :: How To Activate Limits.conf

Sep 18, 2009

I've set limits in limits.conf but they don't seem to be having an effect (the easiest to test is maxlogins). Do I need to do something to enable the limits?:wqEDIT: old postI know you can have file system quotas, is there any way to set a similar quota for CPU usage for particular users so that they can't hog all the system resources (either intentionally or accidentally)?A preliminary Google search is suggesting it's not possible, but I can't believe thatOk, limits.conf and pam... I used bad search terms apparently. Now I just need to figure out how to use this stuff, but that shouldn't be an issue.

View 2 Replies View Related

General :: Instruction Cpu Works At Limits.conf?

Dec 2, 2009

i need to limit summary working time at system. I tried use limits.conf for this. If only two lines would be thereQuote:TestUser soft cpu 10estUser hard cpu 20 So user TestUser can login at system at any time, work any time period, and when summary time of all its logins reaches 20 mins all his proceses would be killed?p.s. if i am wrong in method whith which i try set time limit for user,

View 8 Replies View Related

Ubuntu :: Updating Limits.conf Without Reboot?

Dec 16, 2010

I have changed and added some lines to /etc/security/limits.conf. At this time I can not reboot the system. Which service limits.conf belong to so that I can restart that service.

View 4 Replies View Related

Software :: Difference Between Rtprio And Priority In Limits Conf

Jan 4, 2011

We want to know following :
1) What is the difference between rtprio and priority in limits.conf?
2) How to apply changes in values of limits in limits.conf?
3) What is the value system takes if it is not set in limits.conf?
4) What is the max/ideal value of each parameter especially priority?

View 1 Replies View Related

Ubuntu Servers :: Test Limits.conf Without Bricking The Server?

Jul 31, 2011

I'm running a server using Debian 5, on which a few people log on to over SSH using a user account with limited permissions. Basically I want to make sure they can't run things like fork loops as a lot of bad stuff would happen were the server to hard reboot.So, how can I test what something like this will do:

Code:
:(){ :|:& };:
in a controlled environment, ie. so that I can kill it without rebooting?

View 7 Replies View Related

General :: Print Quota Exceeded Limits?

Jun 16, 2011

how to check the print quota status on print server?

View 1 Replies View Related

General :: Ubuntu Limits Download Speed?

Mar 12, 2011

i realised that although before when i had windows7 my relative download speed was around 5.0 MB/s ( i have a 50MB virgin connection)now with ubuntu 10.10 im limited to only 2.8MB/s or somewhere around there.

First i tested my wireless speed on another laptop (with windows 7) on the same network and the speed was as i said around 5.0MB/s sometimes even more. So i thought it was only chrome that i was using at that point.However, this download speed limitation appears in jdownloader as well as in firefox and i guess the whole system.

SO im wondering if there is any way to set up the speed limit on the system and if there is, how should do i go ahead with this change,through the terminal or through preferences?

View 14 Replies View Related

Security :: Policy That Limits Connections On Port - Encapsulates Total Sum Of All Connections From Hosts?

Jan 21, 2011

Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?

View 3 Replies View Related

General :: Change The Limits Of E-mail Sizes On The Server?

Apr 28, 2010

How i change the limits of e-mail sizes on the server. I have an e-mail server installed with CentOS3.

View 4 Replies View Related

General :: Stretching The Limits... P3/128mb To Wifi Recommendations?

Mar 23, 2010

My foray into Linux is one of hopeful necessity:I have a friend who doesn't have any comp & whose son is leaving for the military. I have an old pc I was planning to recycle but instead would like to see if it can be put back into use.She has wireless service in her apt building which she would like to access. I don't know if the versions of Linux that are light duty enough to operate on such a low end machine still suwifi networking... (I will have to download it at home to a mac, burn it to cd & install from there)? Is it possible to install a wireless card into an old P3/128mb ram (IBM 6564/GL300) and get it working?

View 4 Replies View Related

General :: How To Set Apps Windows Within Limits Of Screen Size

Feb 15, 2010

I just picked up an AcerAspireOne AOA150-1777 netbook that I've loaded slackware 13 onto. I'm using fluxbox as my window manager. Screen resolutions look good, running at 1024x600, as I set in xorg.conf. My question is, some applications, (gimp/firefox are good examples) open windows that are too big for the screen. I was wondering if there was a way I can set apps to use the limits of my screen size.

View 2 Replies View Related

General :: Windows - Why Do Operating Systems Have File Size Limits

Aug 13, 2010

What limits a file to have some maximum size depending on the Operating System? I do not exactly understand this. If you have the storage space, what else can be the limitation? You should be able to store as much data as you want the way you want (even in a single file) unless you run out of storage space.

View 5 Replies View Related

Hardware :: General Partitioning Limits - Hard Drive Almost Full

Dec 5, 2009

My friend and I were discussing partitioning and we disagreed on repartitioning when the drive was full. How full is too full before partitioning will mess up your file system? I've partitioned before but it was only after the OS was installed, so only about %5 of the drive is being used. I read that 90% or more is too much. My friend claims it doesn't matter, and you can repartition even if the drive is 95%+ full.

View 1 Replies View Related

General :: Set The Limits For Unlimited Virtual Memory With Limited Ram And Swap Space On Disk??

Apr 6, 2010

clarify me with ulimit output and memory limit?

ulimit -a output:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 1572864

[code]...

View 2 Replies View Related

Ubuntu :: What Are The Limits Of A Live CD

Apr 16, 2011

I running ubuntu 10.04, but im having problems and i'd like to upgrade to 11.04. If i get a live CD for 11.04 can i reach my backup program from there and restore my music collection?

View 3 Replies View Related

Slackware :: Set Time Limits For Certain Users?

Feb 6, 2011

so when they log on to their profile in kde, they have a max of "x" hrs per day, but not necessarily on any set schedule. can it be done?

View 5 Replies View Related

Ubuntu :: Transmission Ignores Upload Limits ?

Mar 20, 2010

Today I noticed, that despite a 1kb/s limit upload being set i was seeding at an unlimited bandwidth, it had been running for 3 hours wasting about 300mb.

I had never seen this before, however 10gb mysteriously disappeared from my 25 quota last month as i dont mind seeding things at 1kb to help people get the missing bits. My 25gb costs me $100 with the larger package being $160 so i dont have much choice but to be stingy.

View 3 Replies View Related

Slackware :: NFS Limits Group Membership To 16 Users

Dec 19, 2010

I'm using Slackware with NFS share and I've been wondering why I had problems with access to some folders and I finally figured out that NFS limits group membership only to 16. Is there a simple way to circumvent this in Slackware?

View 7 Replies View Related

OpenSUSE Install :: Set Up Users With Daily Time Limits?

Aug 9, 2011

I am having two kids, that should not be able to use our computer more than one hour daily each. Is there an elegant way to automatically force a log-off after a certain time has passed?

View 2 Replies View Related

Programming :: Change The Resource Limits For A Specific Process?

Jun 26, 2010

I want to change the resource limits for a specific processOr to create a new process and give it limits as I want, There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process, The problem is that this function does not receive process ID for example. I read in most books on the subject of The Linux system programming

View 1 Replies View Related

Ubuntu :: 10.10 (64bit) System Temp Exceeding Acceptable Limits

Apr 9, 2011

I recently installed Ubuntu 10.10 (64bit) on my laptop (Toshiba satellite L300 64bit) and have since had horrible issues with the machine overheating. When the system is idle, the temp is decent, a bit warm maybe. If I start browsing the Internet, temp goes way up. I cant watch more than 1 and a half minutes of a ..... video without the system's temp exceeding acceptable limits, and shutting itself down. I have tried both the 32 bit and 64bit versions of ubuntu 10.10, as well as a 64bit version of 10.4. same overheating issues with all of these.

I am 99.999999 percent sure that it is an issue with my laptop's cooling fan, as although it appears to be spinning, it is so quiet that I would think it was off completely if I were to not tilt the laptop back and check to see if it is spinning. Also, the speed of the fan does not change, regardless of the machines temp. Even before it shuts off because of extremely high temps, the fan is still running at that same speed. I am currently downloading fedora 14, a different linux distro, to see if there is any difference.

View 9 Replies View Related

Server :: Determining System Limits Affecting Apache - Specifically RLimitMEM

Mar 15, 2011

Our Apache server is pretty much configured straight out of the box, and I've noticed it is using far more CPU and less memory than another server where I have the following:

RLimitCPU 8
RLimitMEM 100000000
RLimitNPROC 24

The Apache documentation says that if these aren't set, the values are obtain from the OS. How can you tell what those are? I'd like to see if I can tune Apache's performance, but I don't even know if these values are higher or lower than what it's currently using...

View 5 Replies View Related

Ubuntu :: Accessing Files That Are "off Limits" In Other Partitions?

Jul 23, 2010

I've used Ubuntu for several years now, but it's my first post to these forums. I'm in the process of recovering from a major, non-recoverable error with my OS. I've managed to salvage the vast majority of my files by booting through a live CD and mounting the damaged partition in order to transfer my files to an external hard drive in preparation for a clean install of the OS. However, I've encountered a problem accessing and copying certain files, with a dialog box informing me that "You do not have the permissions necessary to view the contents of "Folder Name."

View 6 Replies View Related

Software :: Protecting A Multi-user Server - Per-user Limits

Feb 8, 2010

I'm looking for a way to limit:

-memory usage (mb/user)
-cpu usage
-processes (amount and no same process multiply)
-connections (amount of connections (to specific host))
-bandwidth (kbps/user and even owerall for regular users)
-disk usage
-available commands

For every other users than me/root.

View 1 Replies View Related

Hardware :: Limits VGA Resolution - Hardware Or Software?

Aug 18, 2010

I just installed Fedora on my old laptop. When I run the vga out into my monitor, I am limited to a resolution lower than desireable. Is this cuz of the video card in the laptop? Cuz of Fedora? I am sorta new at this.

View 1 Replies View Related

Software :: Setting Up CUPS / Configure Cupsd.conf For Security?

Apr 21, 2010

Using Debian Lenny.I am new to printing with Linux and would like some help with CUPS. I have CUPS set up to work with my printer.I read through the documentation, but still have some problems.

1. How should I configure cupsd.conf for security?

Quote:

Portwalling

* By default, cups will listen on every interface. Unless you want to offer your printer to the world, you must block this.Although you can firewall this (and that is a good idea anyway),you can also not have cups listen on your Internet connection.This also prevents any possibility of a root exploit from the Internet. Of course, you still have internal crackers to worry about...

* In cups.conf, comment out the lines:
Port 80
Port 631
* Replace them with:
Listen 127.0.0.1:631
code....

How do I create a symbolic link between programs?When I opened Xpp it said Printer:destination not available.

4. Can I adjust the text size on text, pdf or html files with Cups or do I need another program for this?

View 3 Replies View Related







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