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


ADVERTISEMENT

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 View Related

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 :: 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

General :: Enabling / Disabling Specific Priority In Syslog.conf?

May 11, 2011

Trying to figure out why the following two are treated differently...

Code:
*.warn;
kern.!=debug;auth.none;
authpriv.none;cron.none;mail.none;news.none -/var/log/syslog
and

[Code]....

According to man syslog.conf "You can specify multiple facilities with the same priority pattern in one statement using the comma (``,'') operator. You may specify as much facilities as you want. Remember that only the facility part from such a statement is taken, a priority part would be skipped."

Can someone confirm that this statement means that kern.!=debug is ignored in the first part because it's priority is not the same as the trailing facilities ending in .none?

View 1 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

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 :: Enabling GUFW / UFW In Debian - Wrong Identification

May 24, 2011

I have a problem with the unix firewall (gufw). I'm using Linux Mint Debian Edition. The problem appears when I double click on the icon to bring it up for configuring. Everything is grayed out so I click on the "unlock" button. Normally, this is when gufw comes alive with color. But all I get now is a note on the bottom of the gray screen that says "Wrong Identification". Uninstalling and reinstalling UFW and GUFW didn't fix the problem. I would like to have my firewall working for me.

View 3 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

Security :: Enabling SELinux On RHEL 5.4

Feb 25, 2011

We have installed RHEL 5.4 on our servers and everything is running fine. Now I have gone through various server hardening checklist and most of them suggest to enable SELinux. We have several services running on Linux box. Now my question is, do we have to make any chagnes to the existing configurations if we enable SELinux. Or we just enable SELinux and leave it as it is. Because I have had prior experiences where SElinux will stop many services and restrict access to many libraries when enabled.

View 1 Replies View Related

Debian :: Cant Find Anything In Apache2.conf Or Httpd.conf Files?

Jul 25, 2010

phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.

View 5 Replies View Related

Ubuntu Security :: Enabling A New Profile In AppArmor?

Jun 18, 2011

When I enable a new AppArmor profile that is not in the kernel, I've used this command:

Code:
apparmor_parser -r /path/to/profile

But when I recently read the manual for AppArmor, it says to use this command for new profiles:

Code:
apparmor_parser -a /path/to/profile

Have I done something wrong by using -r instead of -a?

View 1 Replies View Related

Fedora Installation :: Import An X11 Xorg.conf File From Debian To Fedora And Have It Work?

Feb 26, 2009

Is it possible to import an xorg.conf file from Debian to Fedora and have it work? The reason for this is that I have an older monitor that only offers 800x600 as the maximum resolution.

View 2 Replies View Related

CentOS 5 :: Enabling VNC To Work With Display 0

Feb 7, 2009

I am trying to get VNC to work with display 0 on CentOS 5.2.In the past, I had always used the information straight from realvnc,URL... which is straighforward and simple, but this doesn't seem to work with CentOS 5. Once I attempt to connect to the server, it locks up.I have searched around and found the following info for CentOS 5, but I can't get it to work. The info seems very unclear and cumbersome to get display 0 configured.Has anyone gotten the RealVNC method to work on CentOS 5?

View 7 Replies View Related

Ubuntu Security :: Enabling A Guest Session Under 9.04 Does Not Lock The Source User?

Jan 14, 2010

I noticed (the hard way) that enabling a guest session under 9.04 does not lock the source user. I enabled a guest session for someone and came back to find them rooting through my files. By quitting the guest session, it goes back to the source user's desktop without requiring a password. Shouldnt it go to gnome-screensaver automatically? Can this be changed? Is it a bug?

to replicate: log into source user's account use the menu to start a guest session quit the guest session root through files un-opposed.

View 6 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

Debian :: How Do Security Update Sources Work?

Mar 22, 2011

Just leads to a list of packages. Are these taken down and installed if needed? I take it these are installed from main component right?Is this just to let people know there's a new version in main? If you didn't have "deb http://security.debian.org/ distrib/updates main", wouldn't the updates be pulled from "deb http://whatever/debian distrib main" anyway when you did an apt-get update (by logical reasoning that they'd be new?)

Or is it that you can't detect new versions directly from main and you need the updates package to point out which ones have updated versions?

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

Red Hat / Fedora :: Enabling Mysql In Server (port 3306) It Doesn't Work?

Apr 12, 2011

when i am enabling mysql in server (port 3306) it does'nt work. but when i execute iptables -F it works what may be the reson?

View 6 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

Security :: Unable To Find Any Ldap.conf Parameter

May 28, 2010

I am unable to find any ldap.conf parameter or pam.d/system-auth setting from where i can restrict the LDAP users having uidNumber less than a particular number, say 500 to login into the system.I am using OpenLDAP server and tried pam_max_uid 500 in ldap.conf but it didn't work.

View 2 Replies View Related

Debian :: Enabling Autologin In LXDE Not Working

Nov 30, 2015

I'm running Debian + LXDE in a VirtualBox. Here are the details:

Code: Select all➜  ~  hostnamectl
   Static hostname: debian64
         Icon name: computer-vm
           Chassis: vm
        Machine ID: #############################
           Boot ID: ###########################
    Virtualization: kvm
  Operating System: Debian GNU/Linux stretch/sid
            Kernel: Linux 4.2.0-1-amd64
      Architecture: x86-64

I really would like to jump into my desktop environment when I start my machine without the need to enter my user name and password. Apparently this is very easy to do. I added the following lines to my /etc/lightdm/lightdm.conf

Code: Select allpam-service=lightdm
pam-autologin-service=lightdm-autologin
autologin-user=username
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession

And also added my user to the autologin group

Code: Select allgroupadd -r autologin
gpasswd -a username autologin

As you can imagine, it didn't work. Otherwise I wouldn't be here... I also tried to install Slim and enable autologin adding the following line to the /etc/slim.conf

Code: Select allauto_login = yes

That didn't work either!

Am I missing anything? Enabling autologin in LXDE?

View 6 Replies View Related







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