LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2020, 05:53 PM   #1
Jackson111
LQ Newbie
 
Registered: Jul 2019
Posts: 19

Rep: Reputation: Disabled
Ulimit


Hi, I have a problem I am not sure how to solve. I want to give a certain user more resources than to other users in her group. How can I edit /etc/security/limits.conf in order to accomplish that?
 
Old 07-30-2020, 06:26 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
See the manual page. Lines in limits.conf can be applicable to all users, to a group or to a single user by setting the domain.
 
Old 07-30-2020, 06:41 PM   #3
Jackson111
LQ Newbie
 
Registered: Jul 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
See the manual page. Lines in limits.conf can be applicable to all users, to a group or to a single user by setting the domain.
Hi, I understand, but if i have user jack, who is a member of group @jack, and his group is set at 5 logins, and I set jack at unlimited number of logins, would his individual settings ALWAYS override the group settings for him? Manual says "in general".

Last edited by Jackson111; 07-30-2020 at 06:43 PM.
 
Old 07-30-2020, 08:42 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Jackson111 View Post
Manual says "in general".
In common human language, you can interpret "in general" as "mostly", but in this case I am sure it means literally "in general", that is "in all cases for which no explicit exception is stated".
 
  


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
ulimit -s 40960 vs ulimit ulimit -s 10240 centguy Linux - Software 2 10-22-2016 11:38 PM
ulimit Serena Linux - Software 6 12-17-2014 11:04 PM
[SOLVED] Cannot set ulimit -l, says ulimit: max locked memory: cannot modify limit Xiano Slackware 1 07-24-2014 02:58 AM
Ulimit privilege for a user linuxfans Linux - General 3 04-16-2003 12:03 PM
ulimit -n evilrico Linux - Distributions 0 03-14-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 PM.

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