LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-25-2012, 08:55 AM   #1
Jose Suarez
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
as privilege gives a user to use the ulimit command in red hat linux.


as I can give a user privilege to use the ulimit command in red hat linux and can modicar parameter "core file size"? ...

greetings and thanks
 
Old 05-26-2012, 01:49 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
What ?
I have NO idea what you are saying

Is English NOT your native language ?
 
Old 05-26-2012, 02:40 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Jose Suarez View Post
as I can give a user privilege to use the ulimit command in red hat linux and can modicar parameter "core file size"? ...
'ulimit' is a BASH builtin command. 'man bash' and search for "ulimit" shows "ulimit -c [value]". Sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. Once you configured /etc/sudoers (use 'visudo' as root) the unprivileged user should be able to run 'sudo -l' to show the command is available and 'sudo ulimit -c [value]' to make it work in the current shell session.
* Be aware that allowing any user unrestricted access to commands run by root holds a risk that Sudo itself can not protect against.
* Also be aware that allowing any user to create core files of any size may result in a local DoS if core files fill up free space.
If you enable core files for debugging purposes please ensure you have exhausted all other options before.
 
  


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
what is the usage of man command in red hat linux? saicsbdu Linux - Newbie 2 12-14-2010 10:17 PM
How to upgrade rpm command in red hat linux 8? jorge_ivan Linux - Software 2 08-15-2009 02:07 PM
top command in red hat linux tandonc Linux - Software 2 10-22-2003 02:33 PM
Ulimit privilege for a user linuxfans Linux - General 3 04-16-2003 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:31 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