System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set ulimit values for application user?

avi28june
Occasional Contributor

How to set ulimit values for application user?

Hi,

 

I would like to know how do I set ulimit values for an application user?

 

 

2 REPLIES
Bill Hassell
Honored Contributor

Re: How to set ulimit values for application user?

It depends on how the user connects to your sysytem. Do they have an HP-UX user ID and password? When they login, do they get a shell prompt and then start the application? Or do they login and the application starts automatically? For a standard shell prompt, you would set the ulimit value in .profile in their home directory. If the application starts automatically, you add ulimit to the application startup script or create a wrapper script that sets the limits you need, then exec the application.



Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: How to set ulimit values for application user?

>I would like to know how do I set ulimit values for an application user?

 

What are you trying to solve?  Make the values smaller for particular users?

You could put it in /etc/profile for every user.  Or in individual user's ~/.profile.