LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-18-2008, 03:28 AM   #1
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
How to set nofile (open files) for a normal user


Hello, I have a weird issue, I have tried to setup "nofile" in /etc/security/limits.conf for a normal user from 1024 to 4096.

I have tried in different ways and still doesnt work:

user - nofile 4096
user hard nofile 4096
user soft nofile 4096

@user - nofile 4096
@user hard nofile 4096
@user soft nofile 4096

%user - nofile 4096
%user hard nofile 4096
%user soft nofile 4096


None of this settings work. I still have 1024 on that user. If i check like this there is 4096: su - user -c 'ulimit -a', everything seems ok, but if i login with that user and run ulimit -a, the open file settings is still at 1024.

Does anyone know whats the deal? Or the issue?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up a cronjob as a normal user ? gauthamk Linux - Software 1 09-06-2008 10:01 AM
Root can't open display, but normal user can? sw67 Slackware 6 06-05-2005 11:48 PM
cant open firefox as normal user silverstormboy Debian 2 01-09-2005 07:58 AM
Cant mount cdrom in normal user, tried to set permissions, no work. Kindly help me. RHLinuxGUY Slackware 2 09-13-2004 09:35 PM
normal user can't execute files in cd..? doublefailure Linux - Hardware 0 09-11-2002 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration